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






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






3. ______ data types are always zero or greate






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






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






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






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






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






9. _____ data types can be both positive and negative






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






11. The most flexible C data type: ______






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






13. The nine fundamental building blocks of Objective-C can be dividing into 2 categories: data and _______






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






15. A logical subdivision of a program within which all names must be unique. Symbols in one do not conflict with identically named symbols in another.






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






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






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






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






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






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






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






23. A class is said to do this to a protocol if it (or a superclass) implements the methods declared in the protocol. An instance does this to a protocol if its class does. Thus an instance that does this to a protocol can perform any of the instance met






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






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






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






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






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






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






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






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






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






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






34. A compiler feature that provides automated memory management






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






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






37. Objective-C methods are called using ____ _____






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






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






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






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






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






43. ARC is susceptible to retain _____






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






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






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






47. A language such as C that organizes a program as a set of procedures that have definite beginnings and ends.






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






49. ______ operators take a single operand






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






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