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. Defining variables - three parts...






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






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






4. Any individual object belonging to any class...






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






6. Designated initializer makes sure that every...






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






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






9. A _ handles touch events.






10. A view is a subclass of _






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






12. How do I implement my drawRect?






13. NSArray - class...






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






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






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






17. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






18. NSDate - class...






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






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






21. Name of the method to be executed






22. Only exists within the statement block there defined - outside of the block is fine






23. NSValue - class...






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






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






26. Number one use of protocols in iOS...






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






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






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






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






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






32. Typically the designated initializer has parameters for the most important and frequently used _ of an object






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






34. When do you take ownership?...






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






36. NSNumber - class...






37. What does autorelease mean?






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






39. UIView - designated initializer...






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






41. @property - is using methods...






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






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






44. A view represents a _ area






45. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






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






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


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






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






50. If the view has no subviews - create it programmatically; if it has subviews