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






2. Typically the designated initializer has parameters for the most important and frequently used _ of an object






3. What does autorelease mean?






4. Ready-made instances...






5. Views have three properties related to their location and size: @property _ _;






6. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






7. When an NSMutableArray is deallocated - it sends...






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






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






10. Use of class methods - there are three...






11. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






12. After accessors have been defined in the header file...






13. NSSet...






14. A pointer to the object being asked to execute a method






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






16. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






17. Also if you send the NSObject the _ message - you own that object.






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






19. Each class picks one _ as it's designated initializer....






20. A UITableView usually needs three different pieces...






21. All objects are accessed using...






22. Property List...






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






24. Reducing details to focus on the core concepts






25. In Objective C arrays can hold only...






26. UITableViewController is a subclass of...






27. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






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






29. NSNumber - class...






30. Why properties?






31. Classes describe two things...






32. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






33. Reference Counting...






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






35. A callback is a function that is supplied in advance of an event - and...






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






37. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






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






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






40. Values to be supplied as the parameters to the method






41. Three ways instances are created...






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






43. The integer prefix is...






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






45. @property declares - and _ implements the setter and getter...






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






47. Defining variables - three parts...






48. When an object is added to a NSMutableArray - that object is sent the message to retain;...






49. id is a...






50. The root view controller typically creates the next view controller - and the next _ creates the one after that