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. A view is a subclass of _






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






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






4. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






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






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






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






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






9. A view is an...






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






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






12. The class is responsible for what instance variables the instance has - but not the _ of those variables.






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






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






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






16. UIView - designated initializer...






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






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


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






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






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






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






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






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






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






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






27. Ready-made instances...






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






29. Three ways instances are created...






30. Reducing details to focus on the core concepts






31. Primitives and C Structures...






32. NSValue - class...






33. super - is used...






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






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






36. When do you take ownership?...






37. Property List...






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






39. Asking a class or object to execute a method






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






41. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






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






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






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






45. NSDictionary...






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






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






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






49. Center and frame are used to _ your view






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