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. Same as class object. (first way to say it.)






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






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






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






5. ______ data types are always zero or greate






6. The first index in an array is valued at ____






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






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






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






10. A method that can operate on class objects rather than instances of the class.






11. A technique used in C-based languages where the operating system provides memory to a running application as it needs it instead of when it launches.






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






13. _____ operators take 2 operands






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






15. Protocols are adopted by adding a ____________ list of protocols inside angled brackets after the superclass declaration in a class's @interface block






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






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






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






19. Placing a ____ before a normal variable name gives it's address






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






21. Objective-C methods are called using ____ _____






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






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






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






25. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'






26. Rather than using arrays in Objective-C we often are able to use it's collection classes of NSArray - NSSet and NSDictionary with _____ for strings






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






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






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






30. ______ operators take a single operand






31. The root class in Objective-C






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






33. A language such as C that organizes a program as a set of procedures that have definite beginnings and ends.






34. Initializer method traditionally begin with the _____ prefix






35. Square bracket syntax for calling a method






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






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






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






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






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






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






42. Another name for a class that's defined solely so that other classes can inherit from it.






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






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






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






46. A programming technique that hides the implementation of an operation from its users behind an abstract interface; allows the implementation to be updated or changed without impacting the users of the interface.






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






48. An object of unknown class. Interface is published through protocol declaration.






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






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