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






2. You use _ to implement the view






3. Defining variables - three parts...






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






5. Center and frame are used to _ your view






6. A view is a subclass of _






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






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






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






10. Each class picks one _ as it's designated initializer....






11. Ready-made instances...






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






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






14. Reference Counting...






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


16. NSValue - class...






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






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






19. Property List...






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






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






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






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






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






25. super - is used...






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






27. NSDictionary...






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






29. Class methods typically either create






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






31. NSNumber - class...






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






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






34. Execution of the break statement...






35. NSArray - class...






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






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






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






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






40. In object oriented languages - we call methods that get and set instance variables

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






43. If you have extra work you want to do on the view...






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






45. When do you take ownership?...






46. NSString objects are usually sent _ rather than _...






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






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






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






50. Use of class methods - there are three...