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. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






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






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






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






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






7. Why properties?






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






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






10. NSValue - class...






11. In Objective C arrays can hold only...






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






13. NSDictionary...






14. Class methods typically either create






15. A function in the objective c library that simply displays or logs it's argument






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






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






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 a subclass of _






20. How do I implement my drawRect?






21. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






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






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






24. NSArray - class...






25. A view is an...






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






27. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






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






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






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






31. UIView - designated initializer...






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






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






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


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






36. @property - is using methods...






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






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






39. Asking a class or object to execute a method






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






41. Reference Counting...






42. Files Owner...






43. Defining variables - three parts...






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






45. NSArray - important methods...






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






47. id is a...






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






49. Reducing details to focus on the core concepts






50. The integer prefix is...