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






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






3. In Objective-C floats are more commonly used than ______






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






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






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






7. _____ operators take 2 operands






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






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






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






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






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






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






14. ______ operators take a single operand






15. _____ data types can be both positive and negative






16. A compiler feature that provides automated memory management






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






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






19. Square bracket syntax for calling a method






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






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






22. The most flexible C data type: ______






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






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






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






26. _____ allow you to add new methods to existing classes






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






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






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






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






31. All objects are created on the _____






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






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






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






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






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






37. ARC is susceptible to retain _____






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






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






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






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






42. Objective-C methods are called using ____ _____






43. The root class in Objective-C






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






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






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






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






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






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






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







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