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. Ready-made instances...






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






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






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






5. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






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






7. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






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






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






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






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






12. A view is a subclass of _






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






14. id is a...






15. UITableViewController is a subclass of...






16. Center and frame are used to _ your view






17. Primitives and C Structures...






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






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






20. NSDate - class...






21. NSDictionary...






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






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


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






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






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






27. A view is an...






28. Execution of the break statement...






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






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


31. Reducing details to focus on the core concepts






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


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






34. Asking a class or object to execute a method






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






36. A responder is responsible for...






37. class methods...






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






39. Why properties?






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






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


42. Values to be supplied as the parameters to the method






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






44. NSSet...






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






46. Property List...






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






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






49. Designated initializer makes sure that every...






50. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked