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. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






2. Class methods typically either create






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






4. If you have extra work you want to do on the view...






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


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






7. All objects are accessed using...






8. The designated initializer calls the _ designated initializer....

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


9. A callback is a function that is supplied in advance of an event - and...






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






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






12. Three ways instances are created...






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


14. Reference Counting...






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






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






17. Designated initializer makes sure that every...






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






19. @property - is using methods...






20. Asking a class or object to execute a method






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






22. Hold data and know nothing about the user interface






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






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






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






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






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






28. Primitives and C Structures...






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






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






31. The integer prefix is...






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






33. Defining variables - three parts...






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. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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


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






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






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






40. NSValue - class...






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






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






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






44. Any other initializer a class has calls the _ designated initializer....

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


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






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






47. When do you take ownership?...






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






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






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