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. _____ operators take 2 operands






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






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






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






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






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






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






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






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






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






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






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






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






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






15. The most flexible C data type: ______






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






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






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






19. ______ operators take a single operand






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






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






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






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






24. Each class should have a ______ initializer a single method responsible for performing all of the object's setup and initialization.






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






26. The root class in Objective-C






27. _____ data types can be both positive and negative






28. A compiler feature that provides automated memory management






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






30. An object id with a value of 0.






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






32. ______ data types are always zero or greate






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






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






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






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






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






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






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






40. ARC is susceptible to retain _____






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






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






43. Protocols are adopted by adding a ____________ list of protocols inside angled brackets after the superclass declaration in a class's @interface block






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






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






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






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






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






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






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






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