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. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'






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






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






4. _____ operators take 2 operands






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






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






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






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






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






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






11. C-style strings are stored in an array of _____






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






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






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






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






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






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






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






19. The most flexible C data type: ______






20. An object that acts on behalf of another object.






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






22. In object-oriented programming the object that is sent a message.






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






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






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






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






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






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






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






30. ARC is susceptible to retain _____






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






32. Objective-C methods are called using ____ _____






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






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






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






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






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






38. Three main categories of more complicated data structures:_______ - arrays and structs






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






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






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






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






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






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






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






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






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






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






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






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







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