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. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






2. Any other initializer a class has calls the _ designated initializer....

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


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






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






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






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






7. NSDictionary...






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






9. A responder is responsible for...






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






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






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






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






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






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






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






17. When do we need to release our outlets?

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


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






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






20. NSSet...






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






22. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






23. A view is a subclass of _






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






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


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






27. Execution of the break statement...






28. UIImageView is used to...






29. You use _ to implement the view






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






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






32. Classes describe two things...






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






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






35. Designated initializer makes sure that every...






36. Hold data and know nothing about the user interface






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






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






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


40. Any individual object belonging to any class...






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






42. NSArray - important methods...






43. Defining variables - three parts...






44. Core foundation classes are prefixed with _ and suffixed with _






45. UITableViewController is a subclass of...






46. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






47. NSDate - class...






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






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






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