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. A view represents a _ area






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






3. Property List...






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






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






6. Use of class methods - there are three...






7. UIView - designated initializer...






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






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






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






11. Just a floating point number - but we always use it for graphics.






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






13. Why properties?






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






15. If a break statement is executed from within a set of nested loops...






16. A UITableView usually needs three different pieces...






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






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






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


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


21. NSArray - important methods...






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






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






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






25. In Objective C arrays can hold only...






26. Asking a class or object to execute a method






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






28. Designated initializer makes sure that every...






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






30. You use _ to implement the view






31. NSDictionary...






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






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






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






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






36. Name of the method to be executed






37. How do I implement my drawRect?






38. When do you take ownership?...






39. Center and frame are used to _ your view






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


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






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






43. super - is used...






44. Class methods typically either create






45. A UITableViewController can fill all three roles of...






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






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






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






49. Hold data and know nothing about the user interface






50. A function in the objective c library that simply displays or logs it's argument