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. This symbol denotes a method as being an instance method






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






3. _____ data types can be both positive and negative






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






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






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






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






8. A class is said to do this when it declares that it implements all the methods in the protocol.






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






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






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






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






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






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






15. Xcode sequence to examine an app for memory leaks or retain cycles






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






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






18. ______ data types are always zero or greate






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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. The root class in Objective-C






45. This symbol denotes a method as being a class method






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






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






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






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






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







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