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






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






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






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






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






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






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






8. Initializer method traditionally begin with the _____ prefix






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






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






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






12. Property attribute that synthesizes accessors that are not thread safe






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






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






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






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






17. ______ data types are always zero or greate






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






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






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






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






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






23. The most flexible C data type: ______






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






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






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






27. _____ operators take 2 operands






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






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






30. Square bracket syntax for calling a method






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






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






33. In object-oriented programming a procedure that can be executed by an object.






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






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






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






37. An instance variable that points to another object; _____ instance variables are a way for an object to keep track of the other objects to which it may need to send messages.






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






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






40. Data (like nouns) represent the information we are processing and in Objective-C this made up of the four elements of C types - _____ - enums and objects






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






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






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






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






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






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






48. A protocol that's declared with the @protocol directive. Classes can adopt these - objects can respond at runtime when asked if they conform to them and instances can be typed by those that they conform to.






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






50. ARC is susceptible to retain _____







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests