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. Why properties?






2. When do we need to release our outlets?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


3. What happens when the last owner calls release?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


4. Ready-made instances...






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






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






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






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






9. super - is used...






10. UITableViewController is a subclass of...






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






12. A view is a subclass of _






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






14. A _ handles touch events.






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






16. NSSet...






17. NSArray - important methods...






18. Primitives and C Structures...






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






20. Class methods typically either create






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






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






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






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






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






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






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






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






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






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






31. NSNumber - class...






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






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






34. The root view controller typically creates the next view controller - and the next _ creates the one after that






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






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






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






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






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






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






41. How do I implement my drawRect?






42. NSDictionary...






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






44. Center and frame are used to _ your view






45. A responder is responsible for...






46. Three ways instances are created...






47. Hold data and know nothing about the user interface






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






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






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