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


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






3. NSSet...






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






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






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






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






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






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






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






11. The designated initializer calls the _ designated initializer....

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


12. Core foundation classes are prefixed with _ and suffixed with _






13. Defining variables - three parts...






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






15. Any other initializer a class has calls the _ designated initializer....

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


16. Also if you send the NSObject the _ message - you own that object.






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






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






19. NSValue - class...






20. Why properties?






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






22. NSNumber - class...






23. A view is an...






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






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






26. Class methods typically either create






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






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






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






30. id is a...






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






32. A view is a subclass of _






33. NSDate - class...






34. Reducing details to focus on the core concepts






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. Classes describe two things...






37. A view represents a _ area






38. How do I implement my drawRect?






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






40. Execution of the break statement...






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


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






43. UIViewController has several methods that get called at certain times...






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


45. The integer prefix is...






46. Name of the method to be executed






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






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






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






50. Hold data and know nothing about the user interface