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






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






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






4. How do I implement my drawRect?






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






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






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






8. Classes describe two things...






9. When do you take ownership?...






10. Execution of the break statement...






11. NSDate - class...






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






13. When making a tableView always...






14. What does autorelease mean?






15. The integer prefix is...






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






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






18. All objects are accessed using...






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






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


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






22. Name of the method to be executed






23. UITableViewController is a subclass of...






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






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






26. NSSet...






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






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


29. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






30. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






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






32. Reducing details to focus on the core concepts






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






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






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






36. NSValue - class...






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






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






39. A responder is responsible for...






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






41. UIImageView is used to...






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






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






44. Files Owner...






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






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






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


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






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






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