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. a+b; is an example of using a _____ operator






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






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






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






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






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. Initializer method traditionally begin with the _____ prefix






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






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






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






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






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






14. ______ operators take a single operand






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






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






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






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






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






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






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






22. In Objective-C floats are more commonly used than ______






23. A variable that points to the memory address of another value






24. _____ data types can be both positive and negative






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






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






27. _____ 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'.






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






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






30. Property attribute that causes the setter to store a strong reference to the assigned value






31. The root class in Objective-C






32. 7 Common Integer data types: BOOL - char- short - int - long - _____ - NSInteger






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






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






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






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






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






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






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






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






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






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






43. A Cocoa framework that implements an application's user interface; provides a basic program structure for applications that draw on the screen and respond to events.






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






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






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






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






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






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






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