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. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






2. Name of the method to be executed






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






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






5. Any individual object belonging to any class...






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






7. NSNumber - class...






8. Values to be supplied as the parameters to the method






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






10. We can use dot notation to reference...


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






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






13. Classes describe two things...






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


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






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






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






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






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






20. Object Oriented based analogue to a function is called a...






21. If the view has no subviews - create it programmatically; if it has subviews






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






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






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






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






26. The designated initializer calls the _ designated initializer....


27. How do I implement my drawRect?






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






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






30. Designated initializer makes sure that every...






31. When do you take ownership?...






32. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.






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






34. id is a...






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






36. NSDictionary...






37. Files Owner...






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






39. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






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






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






42. NSArray - important methods...






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






44. Center and frame are used to _ your view






45. Reference Counting...






46. A view is an...






47. UITableViewController is a subclass of...






48. A _ handles touch events.






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






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