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. You use _ to implement the view






2. To load a Xib file manually - you use _






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






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






5. A responder is responsible for...






6. The integer prefix is...






7. Classes describe two things...






8. NSNumber - class...






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






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






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






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






13. Primitives and C Structures...






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


15. Name of the method to be executed






16. Why properties?






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






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






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






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






21. Hold data and know nothing about the user interface






22. What does autorelease mean?






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






24. Center and frame are used to _ your view






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






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






27. A _ handles touch events.






28. UITableViewController is a subclass of...






29. NSDate - class...






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






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






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






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






34. Asking a class or object to execute a method






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


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






37. UIView - designated initializer...






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






39. NSArray - important methods...






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






41. Property List...






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






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






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






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






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






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






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






49. Execution of the break statement...






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