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






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






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






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






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






6. How do I implement my drawRect?






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






8. Property List...






9. NSValue - class...






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






11. Asking a class or object to execute a method






12. A view is an...






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






14. Ready-made instances...






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






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






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






18. Reducing details to focus on the core concepts






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






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






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






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






23. To load a Xib file manually - you use _






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






25. Prefixing a character string with an @ symbol [specific - NSString class]...






26. When do you take ownership?...






27. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






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






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






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






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. UITableViewController is a subclass of...






33. Defining variables - three parts...






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






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






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






37. Center and frame are used to _ your view






38. NSSet...






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


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






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






42. super - is used...






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






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






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






46. When making a tableView always...






47. A responder is responsible for...






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






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


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