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 any application with UINavigationController - the navigation controller...






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






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






4. A responder is responsible for...






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






6. Asking a class or object to execute a method






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






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






9. NSValue - class...






10. Reference Counting...






11. The integer prefix is...






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






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


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






15. NSArray - class...






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






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






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






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






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






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


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






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






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. You use _ to implement the view






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






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






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






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






30. Reducing details to focus on the core concepts






31. What does autorelease mean?






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






33. Classes describe two things...






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






35. Ready-made instances...






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






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






38. NSDictionary...






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


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






41. UITableViewController is a subclass of...






42. A view is a subclass of _






43. When do you take ownership?...






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






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






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






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






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






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






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