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. After accessors have been defined in the header file...






2. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






3. You use _ to implement the view






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






5. We can use dot notation to reference...

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


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






7. @property - is using methods...






8. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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






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






11. Ready-made instances...






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






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






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






15. Hold data and know nothing about the user interface






16. NSValue - class...






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






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






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






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






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






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






23. When making a tableView always...






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






25. super - is used...






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






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






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






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






30. Execution of the break statement...






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


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






33. At the top of any implementation file...






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


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






36. NSArray - important methods...






37. Files Owner...






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






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






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






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






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






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






44. Center and frame are used to _ your view






45. A view represents a _ area






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






47. Why properties?






48. How do I implement my drawRect?






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






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