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. id is a...






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






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






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


6. NSNumber - class...






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






8. UITableViewController is a subclass of...






9. UIView - designated initializer...






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






11. Classes describe two things...






12. NSValue - class...






13. A view is a subclass of _






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






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






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






17. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






18. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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






20. A view represents a _ area






21. What does autorelease mean?






22. C struct with a CGPoint origin and a CGSize size - in other words two c structs.






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






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






25. Three ways instances are created...






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






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






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






29. The designated initializer calls the _ designated initializer....

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


30. UIImageView is used to...






31. Defining variables - three parts...






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






33. Reference Counting...






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


35. When an NSMutableArray is deallocated - it sends...






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






37. Origin of a view's coordinate system is _ left






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






39. @property - is using methods...






40. @property declares - and _ implements the setter and getter...






41. When making a tableView always...






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






43. Hold data and know nothing about the user interface






44. A _ handles touch events.






45. How do I implement my drawRect?






46. Delegation is an object oriented approach to






47. Why properties?






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






49. A command directed to an object is called an...






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