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. UIView - designated initializer...






2. class methods...






3. Hold data and know nothing about the user interface






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






5. Categories are an Objective C way to add _ to an existing class without subclassing






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






7. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






8. A _ handles touch events.






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






10. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






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






12. NSDate - class...






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






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






15. Classes describe two things...






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






17. NSArray - class...






18. All objects are accessed using...






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






20. Class methods typically either create






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






22. NSSet...






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






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






25. Name of the method to be executed






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






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






28. Only exists within the statement block there defined - outside of the block is fine






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


30. When making a tableView always...






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






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






33. NSArray - important methods...






34. The integer prefix is...






35. NSNumber - class...






36. Delegation is an object oriented approach to






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






38. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






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






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






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






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. Values to be supplied as the parameters to the method






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


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






46. Property List...






47. A view is a subclass of _






48. Designated initializer makes sure that every...






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






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