Test your basic knowledge |

iOS 5 App Development Objective C

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. A pointer to the object being asked to execute a method






2. The class is responsible for what instance variables the instance has - but not the _ of those variables.






3. NSNumber - class...






4. A view is a subclass of _






5. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






6. In the last line of an init method...






7. Instance Variables by default are called @protected meaning...






8. A command directed to an object is called an...






9. When an object is removed from an NSMutableArray - that object is sent the message release;...






10. UITableViewController is a subclass of...






11. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






12. Name of the method to be executed






13. A function in the objective c library that simply displays or logs it's argument






14. An instance is a device for maintaining state. It's a box for _ of data.






15. NSArray - important methods...






16. Each _ has a 'designated' initializer method....






17. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






18. Any individual object belonging to any class...






19. The designated initializer calls the _ designated initializer....






20. What does autorelease mean?






21. In a class method you cannot access...






22. If you have extra work you want to do on the view...






23. A collection object - an ordered list of objects that can be accesed by an index






24. if you implemented both the setter and getter - the @synthesize method...






25. Object Oriented based analogue to a function is called a...






26. Whenever a UINavigationController is about to swap views - it sends out two messages






27. To load a Xib file manually - you use _






28. A UITableViewController can fill all three roles of...






29. Why properties?






30. Hold data and know nothing about the user interface






31. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






32. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






33. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






34. NSString objects are usually sent _ rather than _...






35. NSSet...






36. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






37. A _ handles touch events.






38. Proceed through the loop - jump back to the top and check again






39. In Cocoa Touch - the table view asks another object _ what it should display...






40. Reference Counting...






41. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






42. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






43. A message is always contained in square brackets - and has three parts






44. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






45. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






46. The integer prefix is...






47. If a break statement is executed from within a set of nested loops...






48. Primitives and C Structures...






49. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.






50. A view is an...