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. At the top of any implementation file...






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






3. In object oriented languages - we call methods that get and set instance variables

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


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






5. Whenever a UINavigationController is about to swap views - it sends out two messages






6. In Objective C arrays can hold only...






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






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






9. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






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






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


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






13. Hold data and know nothing about the user interface






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






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






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






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






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






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






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






21. Why properties?






22. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






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


24. Execution of the break statement...






25. A _ handles touch events.






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






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






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






29. What does autorelease mean?






30. Delegation is an object oriented approach to






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






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






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






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






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






36. NSSet...






37. Reference Counting...






38. NSArray - class...






39. NSDictionary...






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






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






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






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






44. Primitives and C Structures...






45. All objects are accessed using...






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






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






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. Also - because arrays only hold a pointer to an object...






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