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. Just a floating point number - but we always use it for graphics.






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






3. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






4. @property declares - and _ implements the setter and getter...






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






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






7. NSArray - class...






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






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






10. You use _ to implement the view






11. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






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






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






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






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






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






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






18. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






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






20. Designated initializer makes sure that every...






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






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






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






24. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


25. A responder is responsible for...






26. A view is an...






27. The integer prefix is...






28. super - is used...






29. A view is a subclass of _






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


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






32. A view represents a _ area






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






34. NSNumber - class...






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






36. Primitives and C Structures...






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






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






39. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






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






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






42. Center and frame are used to _ your view






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






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






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






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






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


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






49. Execution of the break statement...






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