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






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






3. Ready-made instances...






4. Three ways instances are created...






5. When making a tableView always...






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






7. @property declares - and _ implements the setter and getter...






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






9. Asking a class or object to execute a method






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






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






12. What does autorelease mean?






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






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






15. NSArray - class...






16. id is a...






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






18. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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






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






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






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






23. Reference Counting...






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






25. NSSet...






26. Primitives and C Structures...






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






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


29. @property - is using methods...






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






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






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






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






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






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






36. When an object is added to a NSMutableArray - that object is sent the message to retain;...






37. Values to be supplied as the parameters to the method






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






39. class methods...






40. Class methods typically either create






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






42. An instance is a device for maintaining state. It's a box for _ of data.






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


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






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






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






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






48. How do I implement my drawRect?






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






50. Center and frame are used to _ your view