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






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






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


4. Property List...






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






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






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






8. Reference Counting...






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






10. super - is used...






11. A _ handles touch events.






12. A view is a subclass of _






13. Files Owner...






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






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






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






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






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






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






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






21. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.






22. NSArray - class...






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






24. Designated initializer makes sure that every...






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






26. Asking a class or object to execute a method






27. NSDate - class...






28. NSArray - important methods...






29. Name of the method to be executed






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






31. Never access a view controller's view in that...

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


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






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






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






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






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






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






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






39. Center and frame are used to _ your view






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






41. UIImageView is used to...






42. When making a tableView always...






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






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






45. UITableViewController is a subclass of...






46. A view is an...






47. Each class picks one _ as it's designated initializer....






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






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






50. Three ways instances are created...