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 command directed to an object is called an...






2. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






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






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






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


6. Typically the designated initializer has parameters for the most important and frequently used _ of an object






7. id is a...






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






9. Ready-made instances...






10. Files Owner...






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






12. Reducing details to focus on the core concepts






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






14. In the last line of an init method...






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






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






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






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






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






20. Class methods do not operate on an _ or have any access to _ variables....






21. NSSet...






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






23. Hold data and know nothing about the user interface






24. NSValue - class...






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






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


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






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






29. A view represents a _ area






30. Three ways instances are created...






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


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


33. Reference Counting...






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






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






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






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






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. You use _ to implement the view






40. Categories are an Objective C way to add _ to an existing class without subclassing






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






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






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






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






45. When making a tableView always...






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






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






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






49. Name of the method to be executed






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