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. The nine fundamental building blocks of Objective-C can be dividing into 2 categories: data and _______






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






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






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






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






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






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






8. All objects are created on the _____






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






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






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






12. A logical subdivision of a program within which all names must be unique. Symbols in one do not conflict with identically named symbols in another.






13. _____ data types can be both positive and negative






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






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






16. ______ operators take a single operand






17. Square bracket syntax for calling a method






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






19. ARC is susceptible to retain _____






20. A class that's defined solely so that other classes can inherit from it. Programs don't use instances of this; they use only instances of its subclasses.






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






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






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






24. A compiler feature that provides automated memory management






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






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






27. The most flexible C data type: ______






28. A memory-management technique in which each entity that claims ownership of an object increments the object's reference count and later decrements it; allows one instance of an object to be safely shared among several other objects.






29. Property attribute that causes the setter to store a copy of the assigned value






30. Objective-C methods are called using ____ _____






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






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






33. The name of a method when it's used in a source-code message to an object or the unique identifier that replaces the name when the source code is compiled.






34. The process of setting or reading the value at an address pointed to by a pointer






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






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






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






38. In C all functions pass their arguments by ____ which means the compiler makes local copies of those arguments






39. An object id with a value of 0.






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






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






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






43. Initializer method traditionally begin with the _____ prefix






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






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






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






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






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






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






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