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. A method that can operate on class objects rather than instances of the class.






2. A compiler feature that provides automated memory management






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






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






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






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






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






8. ______ operators take a single operand






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






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






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






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






13. The most flexible C data type: ______






14. Initializer method traditionally begin with the _____ prefix






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






16. The part of an Objective-C class specification that declares its public interface which includes its superclass name & instances variables and public-method prototypes.






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






18. ARC is susceptible to retain _____






19. Square bracket syntax for calling a method






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






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






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






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






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






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






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






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






28. Consider: [NSString alloc]. 'alloc' is an example of a(n) class method rather than a _______ method






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






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






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






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






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






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






35. ______ data types are always zero or greate






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






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






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






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






40. The first index in an array is valued at ____






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






42. All objects are created on the _____






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






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






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






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






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






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






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






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







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