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 the view has no subviews - create it programmatically; if it has subviews






2. Origin of a view's coordinate system is _ left






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






4. Asking a class or object to execute a method






5. Class methods typically either create






6. Three ways instances are created...






7. Execution of the break statement...






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






9. Center and frame are used to _ your view






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






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






13. @property - is using methods...






14. NSDate - class...






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






16. In the last line of an init method...






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






18. A pointer to the object being asked to execute a method






19. Delegation is an object oriented approach to






20. A responder is responsible for...






21. NSArray - important methods...






22. Reducing details to focus on the core concepts






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






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






25. Never access a view controller's view in that...


26. Reference Counting...






27. When do we need to release our outlets?


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






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






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






31. NSSet...






32. Primitives and C Structures...






33. super - is used...






34. UIImageView is used to...






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






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






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






38. Hold data and know nothing about the user interface






39. If a break statement is executed from within a set of nested loops...






40. Any other initializer a class has calls the _ designated initializer....


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






42. Why properties?






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






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. A UITableView usually needs three different pieces...






46. All objects are accessed using...






47. NSArray - class...






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






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






50. Designated initializer makes sure that every...