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. Object Oriented based analogue to a function is called a...






2. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






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






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


5. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






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






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






8. NSDictionary...






9. super - is used...






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






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






12. Reducing details to focus on the core concepts






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






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






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






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






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






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






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






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






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






23. Files Owner...






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






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






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






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






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






29. NSValue - class...






30. A view is a subclass of _






31. When making a tableView always...






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






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






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






35. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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






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






38. Name of the method to be executed






39. NSNumber - class...






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






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






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






43. NSDate - class...






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






45. You use _ to implement the view






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






47. If the view has no subviews - create it programmatically; if it has subviews






48. Center and frame are used to _ your view






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






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