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. Three ways instances are created...






2. UITableViewController is a subclass of...






3. A callback is a function that is supplied in advance of an event - and...






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






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






6. UIViewController has several methods that get called at certain times...






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






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






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






10. super - is used...






11. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






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






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






14. Ready-made instances...






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






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






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






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


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






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






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. Execution of the break statement...






23. Number one use of protocols in iOS...






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






25. Property List...






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






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






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






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






30. The integer prefix is...






31. A view is an...






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






33. NSDictionary...






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


35. Any other initializer a class has calls the _ designated initializer....

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


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






37. A view is a subclass of _






38. A _ handles touch events.






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






40. Hold data and know nothing about the user interface






41. id is a...






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






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






44. Primitives and C Structures...






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






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






47. All objects are accessed using...






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






49. A view represents a _ area






50. Name of the method to be executed