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. Primitives and C Structures...






2. NSDictionary...






3. class methods...






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






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






6. A command directed to an object is called an...






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


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






9. Classes describe two things...






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






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






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






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






14. Use of class methods - there are three...






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






16. Center and frame are used to _ your view






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






18. A responder is responsible for...






19. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.






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






21. NSDate - class...






22. UIView - designated initializer...






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






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






25. A view represents a _ area






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






27. At the top of any implementation file...






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






29. How do I implement my drawRect?






30. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






31. NSNumber - class...






32. id is a...






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






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






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






36. Defining variables - three parts...






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






38. A view is a subclass of _






39. UITableViewController is a subclass of...






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






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






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






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






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






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






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






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






48. NSValue - class...






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






50. Hold data and know nothing about the user interface