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. Each class picks one _ as it's designated initializer....






2. NSValue - class...






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






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


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






6. @property - is using methods...






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






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






9. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






10. Center and frame are used to _ your view






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






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






13. You use _ to implement the view






14. Classes describe two things...






15. When do you take ownership?...






16. NSSet...






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






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






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






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






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






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






23. Execution of the break statement...






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


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






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






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






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






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






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


31. NSDictionary...






32. Defining variables - three parts...






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






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






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






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






37. How do I implement my drawRect?






38. In any application with UINavigationController - the navigation controller...






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






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






41. The integer prefix is...






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


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






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






45. A _ handles touch events.






46. Asking a class or object to execute a method






47. Reducing details to focus on the core concepts






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






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






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