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. If the view has no subviews - create it programmatically; if it has subviews






2. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






3. NSValue - class...






4. Asking a class or object to execute a method






5. UITableViewController is a subclass of...






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






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






8. If you have extra work you want to do on the view...






9. Core foundation classes are prefixed with _ and suffixed with _






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






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






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






13. Delegation is an object oriented approach to






14. class methods...






15. Ready-made instances...






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






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






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






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






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






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






22. A view is an...






23. Files Owner...






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






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






26. Class methods typically either create






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






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






29. NSDate - class...






30. In general - class methods tend to be factory methods - that is...






31. NSDictionary...






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






33. How do I implement my drawRect?






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






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






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






37. The integer prefix is...






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






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






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


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






42. Name of the method to be executed






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






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






45. NSNumber - class...






46. Primitives and C Structures...






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






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






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


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