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. If a break statement is executed from within a set of nested loops...






2. Classes describe two things...






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






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






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






6. UITableViewController is a subclass of...






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






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






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






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


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






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






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. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






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






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






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






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


19. Name of the method to be executed






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






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






22. You use _ to implement the view






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






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






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






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






27. Delegation is an object oriented approach to






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






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






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






31. UIViewController has several methods that get called at certain times...






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






33. Why properties?






34. How do I implement my drawRect?






35. Primitives and C Structures...






36. UIImageView is used to...






37. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






38. When do you take ownership?...






39. The integer prefix is...






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






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






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






43. All objects are accessed using...






44. Property List...






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






46. Three ways instances are created...






47. NSArray - class...






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






49. NSDate - class...






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