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






2. NSNumber - class...






3. A view is a subclass of _






4. When do you take ownership?...






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






6. A responder is responsible for...






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






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






9. Delegation is an object oriented approach to






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


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






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






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






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






15. What does autorelease mean?






16. Reducing details to focus on the core concepts






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






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






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






20. You use _ to implement the view






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






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






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






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






25. Files Owner...






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






27. Origin of a view's coordinate system is _ left






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






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






30. NSString *s = @'Hello - World'; is an example of...






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






32. Views have three properties related to their location and size: @property _ _;






33. Why properties?






34. NSSet...






35. class methods...






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


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






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


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






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






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






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






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


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






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






46. Designated initializer makes sure that every...






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






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






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






50. The class is responsible for what instance variables the instance has - but not the _ of those variables.