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. Delegation is an object oriented approach to






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


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






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


5. In Objective C arrays can hold only...






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






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






8. id is a...






9. A view is an...






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






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






12. How do I implement my drawRect?






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






14. Reference Counting...






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






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






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






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






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






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






21. All objects are accessed using...






22. Designated initializer makes sure that every...






23. Center and frame are used to _ your view






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






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


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






27. A _ handles touch events.






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






29. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






30. When do you take ownership?...






31. In the last line of an init method...






32. Three ways instances are created...






33. class methods...






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






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






36. NSSet...






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






38. Why properties?






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






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






41. NSArray - class...






42. Defining variables - three parts...






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


45. NSNumber - class...






46. NSDate - class...






47. UITableViewController is a subclass of...






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






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






50. super - is used...