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. Name of the method to be executed






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






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






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






5. NSDate - class...






6. You use _ to implement the view






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






8. NSSet...






9. NSNumber - class...






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






11. Ready-made instances...






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






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






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






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






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






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






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






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






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






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






22. Primitives and C Structures...






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. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






25. The root view controller typically creates the next view controller - and the next _ creates the one after that






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






27. @property - is using methods...






28. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






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






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






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






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






33. A view is an...






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






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






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






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






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






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






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






41. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






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






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






44. A pointer to the object being asked to execute a method






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






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






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






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






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






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