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+b; is an example of using a _____ operator






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






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






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






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






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






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






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






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






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






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






12. A programming unit that groups together a data structure (instance variables) and the operations (methods) that can use or affect that data; the principal building blocks of object-oriented programs.






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






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






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






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






17. _____ data types can be both positive and negative






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






19. A compiler feature that provides automated memory management






20. Square bracket syntax for calling a method






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






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






23. ______ data types are always zero or greate






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






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






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






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






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






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






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






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






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






33. In C all functions pass their arguments by ____ which means the compiler makes local copies of those arguments






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






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






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






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






38. _____ operators take 2 operands






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






40. The root class in Objective-C






41. ARC is susceptible to retain _____






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






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






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






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






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






47. In object-oriented programming the object that is sent a message.






48. An object id with a value of 0.






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






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







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