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. Class methods do not operate on an _ or have any access to _ variables....






2. Defining variables - three parts...






3. class methods...






4. Three ways instances are created...






5. Classes describe two things...






6. Designated initializer makes sure that every...






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






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






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






10. super - is used...






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






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






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






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






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






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






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






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






19. NSSet...






20. A responder is responsible for...






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






22. id is a...






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






24. A view is a subclass of _






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






26. How do I implement my drawRect?






27. Primitives and C Structures...






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






29. UIView - designated initializer...






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






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






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






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






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






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






36. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






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






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






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






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






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






42. Why properties?






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






44. UIImageView is used to...






45. The integer prefix is...






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






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






48. NSArray - class...






49. When do we need to release our outlets?

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


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