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. How do I implement my drawRect?






2. A view is a subclass of _






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






4. Execution of the break statement...






5. A view represents a _ area






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






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






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






9. When do you take ownership?...






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






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






12. NSValue - class...






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






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






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

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


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






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






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






19. The designated initializer calls the _ designated initializer....

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


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






21. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






23. NSNumber - class...






24. @property - is using methods...






25. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






26. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






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






28. super - is used...






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. Values to be supplied as the parameters to the method






31. UIImageView is used to...






32. Property List...






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






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






35. UIView - designated initializer...






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






37. id is a...






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






39. Designated initializer makes sure that every...






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






41. A _ handles touch events.






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






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






44. Defining variables - three parts...






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






46. Asking a class or object to execute a method






47. NSArray - important methods...






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






49. All objects are accessed using...






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