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






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






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






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






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






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






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






8. NSSet...






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


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






11. UIImageView is used to...






12. Class methods typically either create






13. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






14. Delegation is an object oriented approach to






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






16. Also if you send the NSObject the _ message - you own that object.






17. NSValue - class...






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






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






20. Asking a class or object to execute a method






21. Reference Counting...






22. Origin of a view's coordinate system is _ left






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






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






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






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


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






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






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






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






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






32. NSArray - important methods...






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






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


35. A view represents a _ area






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






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






38. A _ handles touch events.






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






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






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






42. Defining variables - three parts...






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






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






45. A responder is responsible for...






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






47. Primitives and C Structures...






48. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






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






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