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 by default are called @protected meaning...






2. All objects are accessed using...






3. What does autorelease mean?






4. Three ways instances are created...






5. Reference Counting...






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






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. Core foundation classes are prefixed with _ and suffixed with _






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






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






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






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


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






14. Property List...






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






16. Primitives and C Structures...






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






18. UIImageView is used to...






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






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






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






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






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






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






25. Delegation is an object oriented approach to






26. Ready-made instances...






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


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






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






30. How do I implement my drawRect?






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






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






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






34. Also if you send the NSObject the _ message - you own that object.






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






36. NSArray - important methods...






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






38. When making a tableView always...






39. Files Owner...






40. NSValue - class...






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






42. Classes describe two things...






43. Defining variables - three parts...






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






45. Execution of the break statement...






46. In a class method you cannot access...






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






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






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






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