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. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






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






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






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






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






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






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






8. if you implemented both the setter and getter - the @synthesize method...






9. Center and frame are used to _ your view






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






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






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






13. When do you take ownership?...






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






15. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






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






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






18. Defining variables - three parts...






19. Classes describe two things...






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






21. id is a...






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






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






24. NSValue - class...






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






26. Hold data and know nothing about the user interface






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






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






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






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






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






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






33. Ready-made instances...






34. The only reason to temporarily own an object - is...






35. Primitives and C Structures...






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






37. Asking a class or object to execute a method






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






39. A callback is a function that is supplied in advance of an event - and...






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






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






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






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


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






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






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






47. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






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






49. After accessors have been defined in the header file...






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