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. Data types are divided into two main categories: integer and ______






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






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






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






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






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






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






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






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






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






11. A remote message that doesn't return until the receiving application finishes responding to the message. Because the application that sends the message waits for an acknowledgment or return information from the receiving application - the two applica






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






13. The most flexible C data type: ______






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






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






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






17. Pointers are declared by placing a(n) ___ between the type declaration and the variable name






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






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






20. Objective-C is a _____ of the C language






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






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






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






24. ______ operators take a single operand






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






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






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






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






29. A set of method definitions that is segregated from the rest of the class definition.






30. Discovering the class of an object at runtime rather than at compile time.






31. All objects are created on the _____






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






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






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






35. Any method that can be used by an instance of a class rather than by the class object.






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






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






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






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






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






41. Instance variables are optional in iOS if ________ are used






42. ______ data types are always zero or greate






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






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






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






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






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






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






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






50. Objective-C methods are called using ____ _____