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. Two additional foundational building blocks of Objective-C distinct from data and procedure type foundations: ________ and Categories/Extensions






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






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






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






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






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






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






8. _____ is one of the main advantages of object-oriented code and allows objects to 'hide away' much of their complexity operating at times like a proverbial 'black-box'.






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






10. ARC is susceptible to retain _____






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






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






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






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






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






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






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






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






20. Xcode sequence to examine an app for memory leaks or retain cycles






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






22. A class that's defined solely so that other classes can inherit from it. Programs don't use instances of this; they use only instances of its subclasses.






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






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






25. The time when source code is compiled; constrained by the amount and kind of information encoded in source files.






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






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






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






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






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






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






32. The most flexible C data type: ______






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






34. A variable that points to the memory address of another value






35. ______ operators take a single operand






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






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






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






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






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






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






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






43. _____ operators take 2 operands






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






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






46. The 6 main categories of operators are: ____ - arithmetic - comparison - logical - bitwise and membership






47. Objective-C is a _____ of the C language






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






49. _____ data types can be both positive and negative






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







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