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. Core foundation classes are prefixed with _ and suffixed with _






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






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






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






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






6. What does autorelease mean?






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






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






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






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






11. A view is a subclass of _






12. NSArray - class...






13. Files Owner...






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






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






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






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






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






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






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






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






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






23. Property List...






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






25. super - is used...






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






27. Delegation is an object oriented approach to






28. UIImageView is used to...






29. A function in the objective c library that simply displays or logs it's argument






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






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






32. The integer prefix is...






33. UIView - designated initializer...






34. A view is an...






35. id is a...






36. You use _ to implement the view






37. Number one use of protocols in iOS...






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






39. Never access a view controller's view in that...

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


40. @property declares - and _ implements the setter and getter...






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


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






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






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






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






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






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






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






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