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 object-oriented programming the hierarchy of classes that's defined by the arrangement of superclasses and subclasses. Every class (except root classes such as NSObject) has a superclass and any class may have an unlimited number of subclasses.






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






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






4. A compiler feature that provides automated memory management






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






6. Instance variables are optional in iOS if ________ are used






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. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods






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






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






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






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






13. Two additional foundational building blocks of Objective-C distinct from data and procedure type foundations: ________ and Categories/Extensions






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






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






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






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






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






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






20. An object id with a value of 0.






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






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






23. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro






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






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






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






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






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






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






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






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






32. In the Objective-C language the declaration of a group of methods not associated with any particular class.






33. Created by the compiler - lacks instance variables and can't be statically typed but otherwise behave like all other objects. As the receiver in a message expression - a it is represented by the class name.






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






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






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






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






38. The time after a program is launched and while it's running. Decisions made at during this time can be influenced by choices the user makes.






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






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






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






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






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






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






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






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






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






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






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






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







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