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. Property attribute that causes the setter to store a copy of the assigned value






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






3. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro






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






5. An architecture that facilitates communication between objects in different address spaces.






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






7. ______ data types are always zero or greate






8. Objective-C borrows much of its syntax from ______ one of the earliest object-oriented languages






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






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






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






12. Initializer method traditionally begin with the _____ prefix






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






30. A remote message that returns immediately without waiting for the application that receives the message to respond. The sending application and the receiving application act independently and are therefore not in sync.






31. A Cocoa framework that implements an application's user interface; provides a basic program structure for applications that draw on the screen and respond to events.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






46. _____ operators take 2 operands






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






48. ______ operators take a single operand






49. C-style strings always end with a ____ character






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







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