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. In the Objective-C language the declaration of a group of methods not associated with any particular class.






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






3. A protocol declared as a category usually as a category of the NSObject class.






4. Data types are divided into two main categories: integer and ______






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






6. _____ allow indirect access and modification of a variable's value.






7. A message sent from one application to an object in another application.






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






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






10. In a format string the place holder for an object is ______






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






12. 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.






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






14. Objective-C objects should use strong or weak ______






15. This symbol denotes a method as being an instance method






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






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






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






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






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






21. 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






22. All objects are created on the _____






23. The time after a program is launched and while it's running. Decisions made at during this time can be influenced by choices the user makes.






24. Symbol used to denote a placeholder in a format string






25. Any variable that's part of the internal data structure of an instance; declared in a class definition and become part of all objects that are members of or inherit from the class.






26. A tool that lets you graphically specify your application's user interface. It sets up the corresponding objects for you and makes it easy for you to establish connections between these objects and your own code where needed.






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






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






29. Each class should have a ______ initializer a single method responsible for performing all of the object's setup and initialization.






30. 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.






31. This symbol denotes a method as being a class method






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






33. A class is said to do this when it declares that it implements all the methods in the protocol.






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






35. An object in another application - one that's a potential receiver for a remote message.






36. An object id with a value of 0.






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






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






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






40. The nine fundamental building blocks of Objective-C can be dividing into 2 categories: data and _______






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






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






43. 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.






44. a++; is an example of using a _____ operator






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






46. In the Objective-C language an object that belongs to (is a member of) a particular class; created at runtime according to the specification in the class definition.






47. C-style strings are stored in an array of _____






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






49. Three main categories of more complicated data structures:_______ - arrays and structs






50. A remote message that returns immediately without waiting for the application that receives the message to respond. The sending application and the receiving application act independently and are therefore not in sync.






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