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. Categories are an Objective C way to add _ to an existing class without subclassing






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






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






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






5. Ready-made instances...






6. NSDate - class...






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






8. Name of the method to be executed






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






10. NSDictionary...






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






12. Asking a class or object to execute a method






13. Why properties?






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






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






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






17. When an object is removed from an NSMutableArray - that object is sent the message release;...






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






19. All objects are accessed using...






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






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






22. Center and frame are used to _ your view






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






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






25. @property - is using methods...






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






27. class methods...






28. Designated initializer makes sure that every...






29. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






30. What does autorelease mean?






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






32. In a class method you cannot access...






33. id is a...






34. UIImageView is used to...






35. The integer prefix is...






36. A view is a subclass of _






37. @property declares - and _ implements the setter and getter...






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






39. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






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


41. Primitives and C Structures...






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






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






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






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






46. Execution of the break statement...






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






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






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






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