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. Use of class methods - there are three...






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






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






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






5. NSArray - class...






6. initWithFrame: the designated initializer for UIView gives the view






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

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


8. Reference Counting...






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






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






11. All objects are accessed using...






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






13. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






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






15. Hold data and know nothing about the user interface






16. Only exists within the statement block there defined - outside of the block is fine






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






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






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






20. NSNumber - class...






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






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






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






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






25. super - is used...






26. id is a...






27. Why properties?






28. Primitives and C Structures...






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






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






31. What does autorelease mean?






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






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






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






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






36. Reducing details to focus on the core concepts






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

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


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






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






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






41. UIView - designated initializer...






42. Defining variables - three parts...






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






44. NSArray - important methods...






45. NSValue - class...






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






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






48. The designated initializer calls the _ designated initializer....

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


49. Center and frame are used to _ your view






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