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. Ready-made instances...






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






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






4. Reducing details to focus on the core concepts






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






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






7. Why properties?






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






9. UIView - designated initializer...






10. Prefixing a character string with an @ symbol [specific - NSString class]...






11. NSDate - class...






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






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






14. C struct with a CGPoint origin and a CGSize size - in other words two c structs.






15. A view represents a _ area






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






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






18. The integer prefix is...






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






20. UIViewController has several methods that get called at certain times...






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






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






23. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






24. Name of the method to be executed






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






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






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






28. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






29. If the view has no subviews - create it programmatically; if it has subviews






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






31. A view is a subclass of _






32. When making a tableView always...






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






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






35. When do you take ownership?...






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






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






38. You use _ to implement the view






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






40. In any application with UINavigationController - the navigation controller...






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






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






43. @property - is using methods...






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






45. UITableViewController is a subclass of...






46. A view is an...






47. Just a floating point number - but we always use it for graphics.






48. How do I implement my drawRect?






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






50. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?