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






2. What does autorelease mean?






3. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






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






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






6. In any application with UINavigationController - the navigation controller...






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






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






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






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






11. Execution of the break statement...






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






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






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






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






16. NSArray - important methods...






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






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






19. The root view controller typically creates the next view controller - and the next _ creates the one after that






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






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






22. A view is an...






23. id is a...






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






25. Files Owner...






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






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






28. Class methods typically either create






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






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






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


32. How do I implement my drawRect?






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






34. When making a tableView always...






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






36. All objects are accessed using...






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






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


39. A view represents a _ area






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






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






42. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






43. Only exists within the statement block there defined - outside of the block is fine






44. Asking a class or object to execute a method






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






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






47. class methods...






48. Reducing details to focus on the core concepts






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






50. NSDictionary...