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. What does autorelease mean?






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






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






4. A view represents a _ area






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






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






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






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






9. Center and frame are used to _ your view






10. @property - is using methods...






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






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






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






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






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


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






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






18. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






19. UIImageView is used to...






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






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






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






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






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






25. All objects are accessed using...






26. Three ways instances are created...






27. Delegation is an object oriented approach to






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






29. When do you take ownership?...






30. NSNumber - class...






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






32. When making a tableView always...






33. Primitives and C Structures...






34. You use _ to implement the view






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. Views have three properties related to their location and size: @property _ _;






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






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






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


40. NSArray - class...






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






42. NSDictionary...






43. How do I implement my drawRect?






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






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






46. NSSet...






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


48. class methods...






49. Defining variables - three parts...






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