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. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






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






3. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






4. Class methods do not operate on an _ or have any access to _ variables....






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






6. What does autorelease mean?






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


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






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






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






11. All objects are accessed using...






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






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






14. UIView - designated initializer...






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






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






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






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






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






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






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






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






23. id is a...






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






25. In object oriented languages - we call methods that get and set instance variables

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


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






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






28. A view is an...






29. UIImageView is used to...






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






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






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






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






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






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






36. Why properties?






37. super - is used...






38. You use _ to implement the view






39. Files Owner...






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


41. class methods...






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






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






44. A _ handles touch events.






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






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






47. NSArray - class...






48. Ready-made instances...






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






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