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. After accessors have been defined in the header file...






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






3. super - is used...






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


5. Reference Counting...






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






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






8. What does autorelease mean?






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






10. Each _ has a 'designated' initializer method....






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






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






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






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






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






16. Delegation is an object oriented approach to






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


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






19. NSArray - class...






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






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






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






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


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






25. Values to be supplied as the parameters to the method






26. Each class picks one _ as it's designated initializer....






27. UIImageView is used to...






28. A view is an...






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






30. How do I implement my drawRect?






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






32. Class methods typically either create






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






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






35. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






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






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






38. Asking a class or object to execute a method






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






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






41. Designated initializer makes sure that every...






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


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






44. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






45. Object Oriented based analogue to a function is called a...






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






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






48. Execution of the break statement...






49. All objects are accessed using...






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