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. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


2. Designated initializer makes sure that every...






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






4. An instance is a device for maintaining state. It's a box for _ of data.






5. A _ handles touch events.






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






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






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






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






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






11. UITableViewController is a subclass of...






12. NSValue - class...






13. The designated initializer calls the _ designated initializer....

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


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






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






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






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






18. NSArray - important methods...






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






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






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






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






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






24. class methods...






25. When do you take ownership?...






26. NSSet...






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






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






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


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






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






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






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






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






35. Name of the method to be executed






36. NSDate - class...






37. How do I implement my drawRect?






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






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






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






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






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






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






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






45. UIView - designated initializer...






46. Three ways instances are created...






47. Primitives and C Structures...






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






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






50. NSString *s = @'Hello - World'; is an example of...