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. UIViewController has several methods that get called at certain times...






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


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






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






5. NSValue - class...






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






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






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


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






10. When an object is added to a NSMutableArray - that object is sent the message to retain;...






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






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






13. In a class method you cannot access...






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






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






16. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






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






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


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






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






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






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






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






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






25. Property List...






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






27. Center and frame are used to _ your view






28. Ready-made instances...






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






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






31. NSDictionary...






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






33. NSDate - class...






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






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






36. NSArray - class...






37. When do you take ownership?...






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






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






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






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






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






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






44. If a break statement is executed from within a set of nested loops...






45. How do I implement my drawRect?






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






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






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


49. UIView - designated initializer...






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