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






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






3. Views have three properties related to their location and size: @property _ _;






4. @property declares - and _ implements the setter and getter...






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






6. A view is a subclass of _






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


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






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






10. Reducing details to focus on the core concepts






11. Three ways instances are created...






12. Property List...






13. Files Owner...






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






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






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






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






18. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






19. How do I implement my drawRect?






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






21. Delegation is an object oriented approach to






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






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






24. super - is used...






25. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






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






28. A message is always contained in square brackets - and has three parts






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






30. A _ handles touch events.






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






32. Center and frame are used to _ your view






33. Whenever a UINavigationController is about to swap views - it sends out two messages






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






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


36. UIView - designated initializer...






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






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






39. NSArray - class...






40. A responder is responsible for...






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






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






43. A pointer to the object being asked to execute a method






44. When do you take ownership?...






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






46. if you implemented both the setter and getter - the @synthesize method...






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






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






49. Defining variables - three parts...






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