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






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






3. A responder is responsible for...






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






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






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






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






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






9. Use of class methods - there are three...






10. id is a...






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






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






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






14. A view is a subclass of _






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






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






17. In general - class methods tend to be factory methods - that is...






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






19. NSArray - class...






20. When do we need to release our outlets?

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


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






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






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






24. Designated initializer makes sure that every...






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






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






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


28. Core foundation classes are prefixed with _ and suffixed with _






29. Hold data and know nothing about the user interface






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






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






32. A _ handles touch events.






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






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






35. Delegation is an object oriented approach to






36. Property List...






37. NSSet...






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


39. Primitives and C Structures...






40. NSValue - class...






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






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


43. How do I implement my drawRect?






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






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






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






47. Why properties?






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






49. Reducing details to focus on the core concepts






50. When do you take ownership?...