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. UITableViewController is a subclass of...






2. Hold data and know nothing about the user interface






3. Ready-made instances...






4. super - is used...






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






6. Designated initializer makes sure that every...






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






8. NSNumber - class...






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






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






11. When do you take ownership?...






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






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






14. A view is an...






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






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






17. UIView - designated initializer...






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






19. Also - because arrays only hold a pointer to an object...






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






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






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






23. What happens when the last owner calls release?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






25. Any other initializer a class has calls the _ designated initializer....

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


26. A view is a subclass of _






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






28. Center and frame are used to _ your view






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






30. Classes describe two things...






31. Property List...






32. NSSet...






33. NSValue - class...






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






35. Three ways instances are created...






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






37. Number one use of protocols in iOS...






38. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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






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






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






42. When making a tableView always...






43. The only reason to temporarily own an object - is...






44. How do I implement my drawRect?






45. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






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






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






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






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






50. A responder is responsible for...