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. After accessors have been defined in the header file...






2. Center and frame are used to _ your view






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






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






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






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


7. Asking a class or object to execute a method






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






9. NSNumber - class...






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






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






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






13. id is a...






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






15. Ready-made instances...






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






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






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






19. You use _ to implement the view






20. Reducing details to focus on the core concepts






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






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


23. Defining variables - three parts...






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






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






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






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






28. Categories are an Objective C way to add _ to an existing class without subclassing






29. What does autorelease mean?






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






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


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






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






34. NSDictionary...






35. Execution of the break statement...






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






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


38. A view represents a _ area






39. Primitives and C Structures...






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






41. Also - because arrays only hold a pointer to an object...






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






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






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






45. UIImageView is used to...






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






47. When making a tableView always...






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






49. A view is an...






50. A pointer to the object being asked to execute a method