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. if you implemented both the setter and getter - the @synthesize method...






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






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






4. Classes describe two things...






5. NSArray - class...






6. When an object is removed from an NSMutableArray - that object is sent the message release;...






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






8. A view represents a _ area






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






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






11. NSNumber - class...






12. Reference Counting...






13. A _ handles touch events.






14. Center and frame are used to _ your view






15. Hold data and know nothing about the user interface






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






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


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






19. NSSet...






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






21. Execution of the break statement...






22. super - is used...






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






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






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






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






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






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






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






30. UIView - designated initializer...






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






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






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






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






35. id is a...






36. NSArray - important methods...






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






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






39. NSDate - class...






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


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






42. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






43. UITableViewController is a subclass of...






44. Name of the method to be executed






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






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






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






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






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






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