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






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






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






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






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






6. UIView - designated initializer...






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






8. When do you take ownership?...






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






10. NSArray - important methods...






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






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






13. Why properties?






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






15. All objects are accessed using...






16. A UITableView usually needs three different pieces...






17. Defining variables - three parts...






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






19. A command directed to an object is called an...






20. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






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






22. Three ways instances are created...






23. Ready-made instances...






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






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






26. Name of the method to be executed






27. NSDictionary...






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






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






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






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






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






33. NSNumber - class...






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






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






36. A view is a subclass of _






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






38. Property List...






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






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






41. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






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






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






44. UIImageView is used to...






45. class methods...






46. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






47. Execution of the break statement...






48. Primitives and C Structures...






49. Asking a class or object to execute a method






50. Reducing details to focus on the core concepts