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. Objective-C binds methods and arguments at _____ instead of compile time






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






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






4. Three main categories of more complicated data structures:_______ - arrays and structs






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






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






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






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






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






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






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






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






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






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






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






16. ARC is susceptible to retain _____






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






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






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






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






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






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






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






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






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






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






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






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






29. Square bracket syntax for calling a method






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






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






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






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






34. ______ operators take a single operand






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






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






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






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






39. In object-oriented programming the hierarchy of classes that's defined by the arrangement of superclasses and subclasses. Every class (except root classes such as NSObject) has a superclass and any class may have an unlimited number of subclasses.






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






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






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






43. _____ operators take 2 operands






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






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






46. The part of an Objective-C class specification that defines public methods (those declared in the class's interface) as well as private methods (those not declared in the class's interface).






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






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






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






50. All objects are created on the _____