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. _____ allow indirect access and modification of a variable's value.






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






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






4. An object id with a value of 0.






5. ______ operators take a single operand






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






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






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






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






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






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






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






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






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






15. Property attribute that synthesizes both a getter and setter for the property






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






17. A memory-management technique in which each entity that claims ownership of an object increments the object's reference count and later decrements it; allows one instance of an object to be safely shared among several other objects.






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






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






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






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






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






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






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






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






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






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






28. The root class in Objective-C






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






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






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






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






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






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






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






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






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






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






39. A compiler feature that provides automated memory management






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






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






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






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






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






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






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






47. _____ data types can be both positive and negative






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






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






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