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. Three main categories of more complicated data structures:_______ - arrays and structs






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






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






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






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






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






7. _____ is one of the main advantages of object-oriented code and allows objects to 'hide away' much of their complexity operating at times like a proverbial 'black-box'.






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






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






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






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






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






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






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






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






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






17. The most flexible C data type: ______






18. A class that's defined solely so that other classes can inherit from it. Programs don't use instances of this; they use only instances of its subclasses.






19. ______ data types are always zero or greate






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






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






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






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






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






25. In a format string the place holder for an object is ______






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






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






28. Instance variables are optional in iOS if ________ are used






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






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






31. A compiler feature that provides automated memory management






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






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






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






35. Objective-C methods are called using ____ _____






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






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






38. ARC is susceptible to retain _____






39. Giving the compiler information about what kind of object an instance is - by typing it as a pointer to a class.






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






41. A class that's one step above another class in the inheritance hierarchy; the class through which a subclass inherits methods and instance variables.






42. _____ data types can be both positive and negative






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






44. _____ allow indirect access and modification of a variable's value.






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






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






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






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. When creating a class implementation file you begin with the _____ keyword and close with the @end keyword






50. An object id with a value of 0.