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 responder is responsible for...






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






3. Defining variables - three parts...






4. All objects are accessed using...






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






6. NSArray - important methods...






7. Asking a class or object to execute a method






8. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


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






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


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






12. A view is an...






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






14. Also if you send the NSObject the _ message - you own that object.






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






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






17. Class methods typically either create






18. Primitives and C Structures...






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






20. A UITableViewController can fill all three roles of...






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






22. Proceed through the loop - jump back to the top and check again






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






24. NSValue - class...






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






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






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






28. @property - is using methods...






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






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






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






32. Reference Counting...






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






34. NSArray - class...






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






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






37. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






38. super - is used...






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


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






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






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






43. When an object is added to a NSMutableArray - that object is sent the message to retain;...






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






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






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






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






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






49. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






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