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. Typically the designated initializer has parameters for the most important and frequently used _ of an object






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






3. The class is responsible for what instance variables the instance has - but not the _ of those variables.






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






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






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






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






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






9. Delegation is an object oriented approach to






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






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






12. A view is a subclass of _






13. What does autorelease mean?






14. Reference Counting...






15. Class methods typically either create






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






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






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






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






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






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






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






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


24. UIImageView is used to...






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






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






27. NSSet...






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






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


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






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






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






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






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






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






36. super - is used...






37. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






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






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






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






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






42. Why properties?






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






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






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






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






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






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






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






50. When an object is added to a NSMutableArray - that object is sent the message to retain;...