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. If you have extra work you want to do on the view...






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






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


4. Center and frame are used to _ your view






5. NSArray - class...






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






7. How do I implement my drawRect?






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






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






10. A view represents a _ area






11. NSDate - class...






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






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






14. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






15. What does autorelease mean?






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. Whenever a UINavigationController is about to swap views - it sends out two messages






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






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






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






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






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


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






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






25. The only reason to temporarily own an object - is...






26. When making a tableView always...






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






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






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






30. UITableViewController is a subclass of...






31. You use _ to implement the view






32. A responder is responsible for...






33. class methods...






34. The root view controller typically creates the next view controller - and the next _ creates the one after that






35. Delegation is an object oriented approach to






36. A view is a subclass of _






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






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






39. NSNumber - class...






40. A _ handles touch events.






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






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






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






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






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


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






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






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






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






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