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. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.






2. NSSet...






3. Classes describe two things...






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






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






6. UITableViewController is a subclass of...






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






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






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


10. Reference Counting...






11. At the top of any implementation file...






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






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






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






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






16. Center and frame are used to _ your view






17. NSValue - class...






18. if you implemented both the setter and getter - the @synthesize method...






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






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






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






22. What happens when the last owner calls release?

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


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






24. Ready-made instances...






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






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






27. What does autorelease mean?






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






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






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






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






32. Hold data and know nothing about the user interface






33. When do you take ownership?...






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






35. Designated initializer makes sure that every...






36. In any application with UINavigationController - the navigation controller...






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






38. super - is used...






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






40. Files Owner...






41. NSNumber - class...






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






43. NSArray - important methods...






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


45. If you have extra work you want to do on the view...






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






47. Three ways instances are created...






48. The integer prefix 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. Variable names tend to start with a _ letter; class names tend to start with an _ letter.