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. All objects are created on the _____






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






3. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.






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






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






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






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






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






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






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






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






12. The root class in Objective-C






13. The most flexible C data type: ______






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






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






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






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






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






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






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






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






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






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






24. Initializer method traditionally begin with the _____ prefix






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






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






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






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






29. A ____ ____ is a situation where you free memory and then accidentally continue to use it






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






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






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






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






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






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






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






37. Objective-C methods are called using ____ _____






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






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






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






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






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






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






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






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






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






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






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






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






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