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. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'






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






3. _____ data types can be both positive and negative






4. An object id with a value of 0.






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






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






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






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






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






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






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






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






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. Placing a ____ before a normal variable name gives it's address






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






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






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






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






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






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






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






22. Initializer method traditionally begin with the _____ prefix






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






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






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






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






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






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






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






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






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






32. a++; is an example of using a _____ operator






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






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






35. A technique used in C-based languages where the operating system provides memory to a running application as it needs it instead of when it launches.






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






37. Objective-C methods are called using ____ _____






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






39. A programming unit that groups together a data structure (instance variables) and the operations (methods) that can use or affect that data; the principal building blocks of object-oriented programs.






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






41. ARC is susceptible to retain _____






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






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






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






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






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






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






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






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






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







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