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. Also if you send the NSObject the _ message - you own that object.






2. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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






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






5. Defining variables - three parts...






6. Designated initializer makes sure that every...






7. In general - class methods tend to be factory methods - that is...






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






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






10. When do we need to release our outlets?


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






12. When do you take ownership?...






13. super - is used...






14. NSString *s = @'Hello - World'; is an example of...






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






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






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






18. Hold data and know nothing about the user interface






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






20. A view is a subclass of _






21. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






22. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






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






24. The integer prefix is...






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






26. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






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






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






29. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






30. Center and frame are used to _ your view






31. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.






32. NSNumber - class...






33. NSArray - important methods...






34. We can use dot notation to reference...


35. UITableViewController is a subclass of...






36. A method in a _ is required unless its preceded by an @optional.






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






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






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






40. Never access a view controller's view in that...


41. NSDictionary...






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






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






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






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






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






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






48. class methods...






49. NSValue - class...






50. Class methods do not operate on an _ or have any access to _ variables....