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. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






2. A command directed to an object is called an...






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






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






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






6. id is a...






7. A _ handles touch events.






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






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






10. UIImageView is used to...






11. Asking a class or object to execute a method






12. Classes describe two things...






13. Three ways instances are created...






14. NSDictionary...






15. UITableViewController is a subclass of...






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






17. Name of the method to be executed






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






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






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






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






22. Class methods typically either create






23. Categories are an Objective C way to add _ to an existing class without subclassing






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






25. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






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


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


28. A view represents a _ area






29. Designated initializer makes sure that every...






30. Proceed through the loop - jump back to the top and check again






31. A message is always contained in square brackets - and has three parts






32. Also - because arrays only hold a pointer to an object...






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






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






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






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






37. NSDate - class...






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






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






40. A responder is responsible for...






41. The integer prefix is...






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






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






44. What does autorelease mean?






45. NSNumber - class...






46. class methods...






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






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






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






50. A UITableViewController can fill all three roles of...