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. Objective-C binds methods and arguments at _____ instead of compile time






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






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






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






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






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






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






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






9. Same as class object. (second way to say it.)






10. Objective-C methods are called using ____ _____






11. The Objective-C runtime table that contains entries that associate method selectors with the class-specific addresses of the methods they identify.






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






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






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






15. Discovering the class of an object at runtime rather than at compile time.






16. A ____ ____ is a situation where you free memory and then accidentally continue to use it






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






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






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






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






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






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






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






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






25. In object-oriented programming a procedure that can be executed by an object.






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






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






28. Symbol used to denote a placeholder in a format string






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






30. The time when files compiled from different source modules are linked into a single program. Decisions made by the linker are constrained by the compiled code and ultimately by the information contained in source code.






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






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






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






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






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






36. To destroy an object set the variable that points to it to _____






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






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






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






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






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






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






43. All objects are created on the _____






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






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






46. ARC is susceptible to retain _____






47. Square bracket syntax for calling a method






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






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






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