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. Zeroing weak referencing should be used for _____ and data sources to prevent inadvertent retain cycles






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






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






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






5. The root class in Objective-C






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






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






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






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






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






11. In object-oriented programming the ability of a superclass to pass its characteristics (methods and instance variables) on to its subclasses.






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






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






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






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






16. C-style strings always end with a ____ character






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






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






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






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






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






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






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






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






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






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






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. a++; is an example of using a _____ operator






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






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






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






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






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






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






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






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






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






38. _____ data types can be both positive and negative






39. ______ operators take a single operand






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






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






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






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






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






45. ARC is susceptible to retain _____






46. Short for mutual exclusion semaphore. An object used to synchronize thread execution.






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






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






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






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







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