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. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






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






3. Name of the method to be executed






4. Hold data and know nothing about the user interface






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






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


7. Delegation is an object oriented approach to






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






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






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


11. Designated initializer makes sure that every...






12. NSDictionary...






13. The integer prefix is...






14. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






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






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






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






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


19. Files Owner...






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






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






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






23. When making a tableView always...






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






25. Also - because arrays only hold a pointer to an object...






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






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






28. Each _ has a 'designated' initializer method....






29. UIView - designated initializer...






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






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






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






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






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






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






36. super - is used...






37. A _ handles touch events.






38. Categories are an Objective C way to add _ to an existing class without subclassing






39. A responder is responsible for...






40. A method in a _ is required unless its preceded by an @optional.






41. Center and frame are used to _ your view






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






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






44. id is a...






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






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






47. What does autorelease mean?






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






49. NSDate - class...






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