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. Data (like nouns) represent the information we are processing and in Objective-C this made up of the four elements of C types - _____ - enums and objects






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






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






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






5. ______ data types are always zero or greate






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






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






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






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






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. In a home building analogy a ____ is the blueprint and the object is the house






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






13. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods






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






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






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






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






18. ARC is susceptible to retain _____






19. The most flexible C data type: ______






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






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






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






23. Xcode sequence to convert non-ARC apps to ARC






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






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






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






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. C-style strings always end with a ____ character






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






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






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






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






33. Protocols are adopted by adding a ____________ list of protocols inside angled brackets after the superclass declaration in a class's @interface block






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






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






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






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






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






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






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






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






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






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






44. Initializer method traditionally begin with the _____ prefix






45. ____ provide a concise & elegant method for defining a discrete set of values






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






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






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






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






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







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