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 typically either create






2. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






3. Delegation is an object oriented approach to






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






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






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






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






8. Hold data and know nothing about the user interface






9. NSSet...






10. Why properties?






11. You use _ to implement the view






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






13. @property - is using methods...






14. NSValue - class...






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


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






17. UIImageView is used to...






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






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






20. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






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






22. Files Owner...






23. NSArray - important methods...






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






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






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






27. class methods...






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






29. NSArray - class...






30. A view is an...






31. When do you take ownership?...






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






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






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






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






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






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






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


39. NSDate - class...






40. NSDictionary...






41. Ready-made instances...






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






43. Execution of the break statement...






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






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






46. Property List...






47. A responder is responsible for...






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






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


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