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 is a _____ of the C language






2. a+b; is an example of using a _____ operator






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






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






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






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






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






8. The most flexible C data type: ______






9. Objective-C objects should use strong or weak ______






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






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






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






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






14. The root class in Objective-C






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






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






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






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






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






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






21. ______ operators take a single operand






22. _____ operators take 2 operands






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






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






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






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






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






28. ______ data types are always zero or greate






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






30. All objects are created on the _____






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






46. A _______ method is one that is likely to be unsupported in the future. It's use should be discontinued.






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






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






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






50. Objective-C methods are called using ____ _____