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. initWithFrame: the designated initializer for UIView gives the view






2. Reducing details to focus on the core concepts






3. Defining variables - three parts...






4. A view represents a _ area






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






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






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






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






9. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






11. NSNumber - class...






12. In Objective C arrays can hold only...






13. NSDate - class...






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






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






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






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






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






19. All objects are accessed using...






20. Center and frame are used to _ your view






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






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






23. The integer prefix is...






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






25. NSString objects are usually sent _ rather than _...






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






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






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






29. How do I implement my drawRect?






30. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






31. UITableViewController is a subclass of...






32. Each _ has a 'designated' initializer method....






33. Ready-made instances...






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






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






36. A responder is responsible for...






37. UIImageView is used to...






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






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






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






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






42. Asking a class or object to execute a method






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






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






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






46. @property - is using methods...






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






48. NSSet...






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






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