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. The class is responsible for what instance variables the instance has - but not the _ of those variables.






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






3. All objects are accessed using...






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






5. id is a...






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






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






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






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






10. A view is a subclass of _






11. Files Owner...






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


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






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






15. Why properties?






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






17. If a break statement is executed from within a set of nested loops...






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






19. When an object is removed from an NSMutableArray - that object is sent the message release;...






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






21. What does autorelease mean?






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






23. Class methods typically either create






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






25. To load a Xib file manually - you use _






26. A view represents a _ area






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






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






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






30. initWithFrame: the designated initializer for UIView gives the view






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






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






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






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






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






36. Number one use of protocols in iOS...






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






38. Also if you send the NSObject the _ message - you own that object.






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






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






41. Designated initializer makes sure that every...






42. Execution of the break statement...






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






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






45. Core foundation classes are prefixed with _ and suffixed with _






46. The integer prefix is...






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






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






49. UIImageView is used to...






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