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. NSArray - important methods...






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






3. NSArray - class...






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






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






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






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






8. After accessors have been defined in the header file...






9. A view is a subclass of _






10. Primitives and C Structures...






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






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






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






14. Property List...






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






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






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






18. When do you take ownership?...






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






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






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






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






23. How do I implement my drawRect?






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






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






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






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






28. A view is an...






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






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






31. The integer prefix is...






32. Also - because arrays only hold a pointer to an object...






33. NSValue - class...






34. Execution of the break statement...






35. Name of the method to be executed






36. class methods...






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






38. Delegation is an object oriented approach to






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






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






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






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






43. id is a...






44. Class methods typically either create






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






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






47. NSDate - class...






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






49. What does autorelease mean?






50. Reference Counting...