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. In Objective C arrays can hold only...






2. A view is an...






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






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


5. Each _ has a 'designated' initializer method....






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






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






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






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


10. How do I implement my drawRect?






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






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






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






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






15. NSNumber - class...






16. Object Oriented based analogue to a function is called a...






17. Reference Counting...






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






19. All objects are accessed using...






20. NSArray - class...






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


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






23. Execution of the break statement...






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






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






26. Why properties?






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






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






29. Reducing details to focus on the core concepts






30. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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


32. In Cocoa Touch - the table view asks another object _ what it should display...






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






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






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






36. A view represents a _ area






37. super - is used...






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






39. UIView - designated initializer...






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






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


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


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






44. Defining variables - three parts...






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






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






47. NSDate - class...






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






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






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