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 UITableViewController can fill all three roles of...






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






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






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






5. class methods...






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






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


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






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






10. A pointer to the object being asked to execute a method






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






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


13. A _ handles touch events.






14. What does autorelease mean?






15. @property declares - and _ implements the setter and getter...






16. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.






17. Execution of the break statement...






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






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






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






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






22. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






23. UIView - designated initializer...






24. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






25. Ready-made instances...






26. How do I implement my drawRect?






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. id is a...






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






30. UIImageView is used to...






31. Files Owner...






32. @property - is using methods...






33. Reference Counting...






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






35. When making a tableView always...






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






37. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






38. A view is an...






39. Designated initializer makes sure that every...






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






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






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


43. UITableViewController is a subclass of...






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






45. Class methods typically either create






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






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






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






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






50. Name of the method to be executed