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. Property attribute that synthesizes both a getter and setter for the property






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






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






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






5. Finding the method implementation to invoke in response to the message






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






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






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






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






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






11. Objective-C methods are called using ____ _____






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






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






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






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






16. _____ data types can be both positive and negative






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






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






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






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






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






22. ______ data types are always zero or greate






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






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






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






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






27. Square bracket syntax for calling a method






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






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






30. Initializer method traditionally begin with the _____ prefix






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






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






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






34. ______ operators take a single operand






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






36. A logical subdivision of a program within which all names must be unique. Symbols in one do not conflict with identically named symbols in another.






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






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






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






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






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






42. Any method that can be used by an instance of a class rather than by the class object.






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






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






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






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






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






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






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






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