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






2. Execution of the break statement...






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






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






5. A message is always contained in square brackets - and has three parts






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






7. Delegation is an object oriented approach to






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






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






10. A responder is responsible for...






11. NSDate - class...






12. When do you take ownership?...






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






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






15. A UITableView usually needs three different pieces...






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






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






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






19. NSArray - class...






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






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






22. Just a floating point number - but we always use it for graphics.






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






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






25. Why properties?






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






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


28. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






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






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


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






32. Reducing details to focus on the core concepts






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






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


35. Property List...






36. super - is used...






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






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






39. A view represents a _ area






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






41. A collection object - an ordered list of objects that can be accesed by an index






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






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






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






45. Hold data and know nothing about the user interface






46. A command directed to an object is called an...






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






48. All objects are accessed using...






49. A view is an...






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