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 root class in Objective-C






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






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






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






5. Created by the compiler - lacks instance variables and can't be statically typed but otherwise behave like all other objects. As the receiver in a message expression - a it is represented by the class name.






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






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






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






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






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






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






12. A prototype for a particular kind of object; declares instance variables and defines methods for all members of the class.






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






14. The nine fundamental building blocks of Objective-C can be dividing into 2 categories: data and _______






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






16. A ____ ____ is a situation where you free memory and then accidentally continue to use it






17. Rather than using arrays in Objective-C we often are able to use it's collection classes of NSArray - NSSet and NSDictionary with _____ for strings






18. Initializer method traditionally begin with the _____ prefix






19. ______ data types are always zero or greate






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






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






22. A protocol that's declared with the @protocol directive. Classes can adopt these - objects can respond at runtime when asked if they conform to them and instances can be typed by those that they conform to.






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






24. Objective-C methods are called using ____ _____






25. Square bracket syntax for calling a method






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






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






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






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






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






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






32. An instance variable that points to another object; _____ instance variables are a way for an object to keep track of the other objects to which it may need to send messages.






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






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






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






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






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






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






39. All objects are created on the _____






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






41. A _______ method is one that is likely to be unsupported in the future. It's use should be discontinued.






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






43. An object id with a value of 0.






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






45. An object in another application - one that's a potential receiver for a remote message.






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






47. To destroy an object set the variable that points to it to _____






48. _____ operators take 2 operands






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






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







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