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 nine fundamental building blocks of Objective-C can be dividing into 2 categories: data and _______






3. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro






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






5. Pointers are declared by placing a(n) ___ between the type declaration and the variable name






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






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. An object of unknown class. Interface is published through protocol declaration.






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






10. Any variable that's part of the internal data structure of an instance; declared in a class definition and become part of all objects that are members of or inherit from the class.






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






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






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






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






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






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






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






18. The root class in Objective-C






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






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






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






22. A compiler feature that provides automated memory management






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






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






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






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






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






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






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






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






31. Objective-C methods are called using ____ _____






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






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






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






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






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






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






38. In object-oriented programming the ability of different objects to respond each in its own way - to the same message.






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






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






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






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






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






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






45. ARC is susceptible to retain _____






46. _____ operators take 2 operands






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






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






49. ______ data types are always zero or greate






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







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests