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 Objective C arrays can hold only...






2. When do you take ownership?...






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






4. Whenever a UINavigationController is about to swap views - it sends out two messages






5. Prefixing a character string with an @ symbol [specific - NSString class]...






6. Ready-made instances...






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






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






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






10. Reference Counting...






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






12. The integer prefix is...






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






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






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






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


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






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






19. A view is an...






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






21. All objects are accessed using...






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






23. A view is a subclass of _






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






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






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






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






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






29. Views have three properties related to their location and size: @property _ _;






30. A view represents a _ area






31. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






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






33. A responder is responsible for...






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






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






36. Execution of the break statement...






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






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


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






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






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






42. Primitives and C Structures...






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






44. Property List...






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






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






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






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






49. NSArray - class...






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