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 remote message that doesn't return until the receiving application finishes responding to the message. Because the application that sends the message waits for an acknowledgment or return information from the receiving application - the two applica






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






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






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






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






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






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






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






9. Giving the compiler information about what kind of object an instance is - by typing it as a pointer to a class.






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






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






12. A ____ _____ is where you forget to free up memory






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






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






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






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






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






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






19. The _____ function can be used to print a message to the console






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






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






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






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






24. This symbol denotes a method as being an instance method






25. Any variable that's part of the internal data structure of an instance; declared in a class definition and become part of all objects that are members of or inherit from the class.






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






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






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






29. Property attribute that causes the setter to store a copy of the assigned value






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






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






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






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






34. C-style strings are stored in an array of _____






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






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






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






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






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






40. Objective-C methods are called using ____ _____






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






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






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






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






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






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






47. A compiler feature that provides automated memory management






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






49. All objects are created on the _____






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







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