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. Hold data and know nothing about the user interface






2. Designated initializer makes sure that every...






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






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






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






6. NSDictionary...






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






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


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






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






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






12. UIImageView is used to...






13. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






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






15. Reference Counting...






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


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






18. Classes describe two things...






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






20. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






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






22. A view represents a _ area






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






24. A view is an...






25. What does autorelease mean?






26. How do I implement my drawRect?






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






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






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






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






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






32. NSDate - class...






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






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






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






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






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






38. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






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






40. A method in a _ is required unless its preceded by an @optional.






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






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






43. A responder is responsible for...






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


45. Name of the method to be executed






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






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






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






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






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