Test your basic knowledge |

Objective C Programming Basics

Subjects : it-skills, apple
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. This symbol denotes a method as being a class method






2. The _____ function can be used to print a message to the console






3. Property attribute that causes the setter to store a zeroing weak reference to the assigned value






4. In the Objective-C language the declaration of a group of methods not associated with any particular class.






5. Consider: [NSString alloc]. 'alloc' is an example of a(n) class method rather than a _______ method






6. The time when source code is compiled; constrained by the amount and kind of information encoded in source files.






7. Created by the compiler - lacks instance variables and can't be statically typed but otherwise behave like all other objects. As the receiver in a message expression - a it is represented by the class name.






8. Same as class object. (second way to say it.)






9. A class that's one step above another class in the inheritance hierarchy; the class through which a subclass inherits methods and instance variables.






10. Property attribute that synthesizes accessors that are not thread safe






11. a+b; is an example of using a _____ operator






12. Objective-C borrows much of its syntax from ______ one of the earliest object-oriented languages






13. Property attribute that synthesizes both a getter and setter for the property






14. A prototype for a particular kind of object; declares instance variables and defines methods for all members of the class.






15. _____ allow you to add new methods to existing classes






16. A programming unit that groups together a data structure (instance variables) and the operations (methods) that can use or affect that data; the principal building blocks of object-oriented programs.






17. ______ data types are always zero or greate






18. If you are compiling an application with ARC (Automatic reference Counting) you _______ store Objective-C objects inside a struct






19. In object-oriented programming - the method selector (name) and accompanying parameters that tell the receiving object in a message expression what to do.






20. An instance variable that points to another object; _____ instance variables are a way for an object to keep track of the other objects to which it may need to send messages.






21. The 6 main categories of operators are: ____ - arithmetic - comparison - logical - bitwise and membership






22. In a home building analogy a ____ is the blueprint and the object is the house






23. Any class that's one step below another class in the inheritance hierarchy.






24. A Cocoa framework that implements an application's user interface; provides a basic program structure for applications that draw on the screen and respond to events.






25. Property attribute that synthesizes only a getter for the property






26. Same as class object. (first way to say it.)






27. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro






28. In object-oriented programming the object that is sent a message.






29. An advanced object-oriented development platform in Mac OS X; a set of frameworks whose primary programming interfaces are in Objective-C.






30. _____ operators take 2 operands






31. Xcode sequence to convert non-ARC apps to ARC






32. In object-oriented programming the ability of a superclass to pass its characteristics (methods and instance variables) on to its subclasses.






33. All objects are created on the _____






34. Giving the compiler information about what kind of object an instance is - by typing it as a pointer to a class.






35. The time when files compiled from different source modules are linked into a single program. Decisions made by the linker are constrained by the compiled code and ultimately by the information contained in source code.






36. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.






37. A ____ _____ is where you forget to free up memory






38. An architecture that facilitates communication between objects in different address spaces.






39. When creating a class implementation file you begin with the _____ keyword and close with the @end keyword






40. The general type for any kind of object regardless of class; defined as a pointer to an object data structure; can be used for both class objects and instances of a class.






41. The direct or indirect report of external activity especially user activity on the keyboard and mouse.






42. Objective-C binds methods and arguments at _____ instead of compile time






43. A struct may contain multiple ____ consisting of different data types






44. An object that acts on behalf of another object.






45. There are ____ fundamental building blocks in Objective-C






46. 3 Common Float data types: float - _____ - CGFloat






47. ____ provide a concise & elegant method for defining a discrete set of values






48. C-style strings always end with a ____ character






49. A _______ method is one that is likely to be unsupported in the future. It's use should be discontinued.






50. Short for mutual exclusion semaphore. An object used to synchronize thread execution.







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests