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. In Cocoa Touch - the table view asks another object _ what it should display...






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






3. NSArray - class...






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






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






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






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






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






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






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






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






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






13. How do I implement my drawRect?






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






15. Files Owner...






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






17. Classes describe two things...






18. Designated initializer makes sure that every...






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


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






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






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






23. All objects are accessed using...






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






25. What does autorelease mean?






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






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






28. Reference Counting...






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






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






31. Asking a class or object to execute a method






32. The designated initializer calls the _ designated initializer....

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


33. @property - is using methods...






34. Ready-made instances...






35. id is a...






36. When do you take ownership?...






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






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






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






40. Object Oriented based analogue to a function is called a...






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






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






43. When making a tableView always...






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






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






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






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


48. Hold data and know nothing about the user interface






49. A view is a subclass of _






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