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. Three main categories of more complicated data structures:_______ - arrays and structs






2. The root class in Objective-C






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






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






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






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






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






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






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






10. A compiler feature that provides automated memory management






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






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






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






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






15. Zeroing weak referencing should be used for _____ and data sources to prevent inadvertent retain cycles






16. All objects are created on the _____






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






18. _____ operators take 2 operands






19. In object-oriented programming the ability of different objects to respond each in its own way - to the same message.






20. In object-oriented programming an expression that sends a message to an object. In the Objective-C language they are enclosed within square brackets and consist of a receiver followed by a message (method selector and parameters).






21. Two additional foundational building blocks of Objective-C distinct from data and procedure type foundations: ________ and Categories/Extensions






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






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






24. Xcode sequence to examine an app for memory leaks or retain cycles






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






26. Objective-C's protocols are really about communicating _____ _______






27. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods






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






29. Property attribute where the setter stores the assigned value but does not perform any memory management.






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






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






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






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






34. _____ is one of the main advantages of object-oriented code and allows objects to 'hide away' much of their complexity operating at times like a proverbial 'black-box'.






35. Data (like nouns) represent the information we are processing and in Objective-C this made up of the four elements of C types - _____ - enums and objects






36. The Objective-C runtime table that contains entries that associate method selectors with the class-specific addresses of the methods they identify.






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






38. Finding the method implementation to invoke in response to the message






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






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






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






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






43. To destroy an object set the variable that points to it to _____






44. A class is said to do this to a protocol if it (or a superclass) implements the methods declared in the protocol. An instance does this to a protocol if its class does. Thus an instance that does this to a protocol can perform any of the instance met






45. In object-oriented programming a procedure that can be executed by an object.






46. The part of an Objective-C class specification that declares its public interface which includes its superclass name & instances variables and public-method prototypes.






47. ______ operators take a single operand






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






49. The part of an Objective-C class specification that defines public methods (those declared in the class's interface) as well as private methods (those not declared in the class's interface).






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