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






2. You use _ to implement the view






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






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






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






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


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






8. NSNumber - class...






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






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






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






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






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






14. A _ handles touch events.






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






16. A view is an...






17. Why properties?






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






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






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






21. The integer prefix is...






22. Defining variables - three parts...






23. Ready-made instances...






24. How do I implement my drawRect?






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






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






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






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






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






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






31. NSArray - class...






32. Reference Counting...






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






34. Delegation is an object oriented approach to






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






36. All objects are accessed using...






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






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






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






40. UITableViewController is a subclass of...






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






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


43. super - is used...






44. @property - is using methods...






45. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






46. Designated initializer makes sure that every...






47. Name of the method to be executed






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


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






50. NSValue - class...