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. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






2. Defining variables - three parts...






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






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






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






6. At the top of any implementation file...






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






8. Reference Counting...






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






10. What does autorelease mean?






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






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






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






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






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






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


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






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






19. A view is an...






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






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






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






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






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






25. NSDate - class...






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






27. Center and frame are used to _ your view






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






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






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






31. The integer prefix is...






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






33. Files Owner...






34. NSArray - important methods...






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


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






37. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


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


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


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






41. Hold data and know nothing about the user interface






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






43. NSDictionary...






44. Whenever a UINavigationController is about to swap views - it sends out two messages






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






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. An instance is a device for maintaining state. It's a box for _ of data.






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






49. Core foundation classes are prefixed with _ and suffixed with _






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