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






2. Reducing details to focus on the core concepts






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


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






5. When making a tableView always...






6. What does autorelease mean?






7. NSDate - class...






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






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






10. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






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


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






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






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






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






16. class methods...






17. Ready-made instances...






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






19. Name of the method to be executed






20. NSSet...






21. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






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






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






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






25. Defining variables - three parts...






26. UIView - designated initializer...






27. A view represents a _ area






28. NSArray - class...






29. Hold data and know nothing about the user interface






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






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






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






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






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


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






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






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






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






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






40. id is a...






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






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






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






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






45. How do I implement my drawRect?






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






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






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






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






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