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. _____ data types can be both positive and negative






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






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






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






6. In object-oriented programming the ability of a superclass to pass its characteristics (methods and instance variables) on to its subclasses.






7. The most flexible C data type: ______






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






9. In object-oriented programming the ability of different objects to respond each in its own way - to the same 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. ______ data types are always zero or greate






12. In object-oriented programming an expression that sends a message to an object. In the Objective-C language they are enclosed within square brackets and consist of a receiver followed by a message (method selector and parameters).






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






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






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






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






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






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






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






20. The direct or indirect report of external activity especially user activity on the keyboard and mouse.






21. ARC is susceptible to retain _____






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






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






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






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






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






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






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






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






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






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






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






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






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






36. The general type for any kind of object regardless of class; defined as a pointer to an object data structure; can be used for both class objects and instances of a class.






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






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






39. Objective-C methods are called using ____ _____






40. The root class in Objective-C






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






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






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






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






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






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






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






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






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






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