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. NSString objects are usually sent _ rather than _...






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






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






4. When making a tableView always...






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






6. Each _ has a 'designated' initializer method....






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






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






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


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






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


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






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






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






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






18. UIImageView is used to...






19. A view represents a _ area






20. You use _ to implement the view






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






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






23. Reducing details to focus on the core concepts






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






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






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






27. What does autorelease mean?






28. NSValue - class...






29. UITableViewController is a subclass of...






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






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






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






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






34. Why properties?






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






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






37. initWithFrame: the designated initializer for UIView gives the view






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






39. How do I implement my drawRect?






40. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


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






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






43. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






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






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






46. Files Owner...






47. Hold data and know nothing about the user interface






48. id is a...






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






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