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. NSString *s = @'Hello - World'; is an example of...






2. Primitives and C Structures...






3. super - is used...






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


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






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






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






8. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






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






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






11. NSNumber - class...






12. You use _ to implement the view






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






14. Designated initializer makes sure that every...






15. NSDictionary...






16. NSDate - class...






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






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






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






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






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






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






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






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






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






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






27. A view represents a _ area






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






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






30. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






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






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






33. Center and frame are used to _ your view






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






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






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






37. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






38. NSArray - important methods...






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






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






42. When do you take ownership?...






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






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






45. class methods...






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






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






48. A view is an...






49. @property - is using methods...






50. Property List...