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. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






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






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






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






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






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






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






8. Asking a class or object to execute a method






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






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






11. The integer prefix is...






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






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. UIView - designated initializer...






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






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


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


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






19. Classes describe two things...






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






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






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






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






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


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






26. NSDictionary...






27. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






28. The only reason to temporarily own an object - is...






29. Three ways instances are created...






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






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






32. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






33. A UITableView usually needs three different pieces...






34. A view is an...






35. Designated initializer makes sure that every...






36. What does autorelease mean?






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






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






39. A responder is responsible for...






40. Why properties?






41. A method in a _ is required unless its preceded by an @optional.






42. Property List...






43. Reference Counting...






44. All objects are accessed using...






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






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






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


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






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






50. super - is used...