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. @property declares - and _ implements the setter and getter...






2. NSString *s = @'Hello - World'; is an example of...






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






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






5. super - is used...






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






7. NSValue - class...






8. Why properties?






9. Defining variables - three parts...






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






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






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






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






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






15. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






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






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






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






19. Property List...






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






21. In object oriented languages - we call methods that get and set instance variables

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


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






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






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






25. A function in the objective c library that simply displays or logs it's argument






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






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






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






29. Name of the method to be executed






30. NSSet...






31. @property - is using methods...






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






33. UIImageView is used to...






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






35. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






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






37. class methods...






38. UIView - designated initializer...






39. Hold data and know nothing about the user interface






40. Primitives and C Structures...






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






42. Center and frame are used to _ your view






43. A _ handles touch events.






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






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






46. NSNumber - class...






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






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






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






50. A view represents a _ area