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. Delegation is an object oriented approach to






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






3. super - is used...






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






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






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






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






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






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






10. NSDate - class...






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






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






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






14. Reducing details to focus on the core concepts






15. Asking a class or object to execute a method






16. A view is an...






17. When making a tableView always...






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






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






20. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






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






22. A responder is responsible for...






23. Center and frame are used to _ your view






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






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






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


27. NSDictionary...






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






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






30. The integer prefix is...






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






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






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






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






35. Each class picks one _ as it's designated initializer....






36. Classes describe two things...






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






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






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






40. What does autorelease mean?






41. Execution of the break statement...






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






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






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






45. A view represents a _ area






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






47. A view is a subclass of _






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






49. How do I implement my drawRect?






50. NSArray - class...