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






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






3. Class methods typically either create






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






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






6. A view is a subclass of _






7. All objects are accessed using...






8. Delegation is an object oriented approach to






9. When making a tableView always...






10. Defining variables - three parts...






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






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






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






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






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


16. id is a...






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


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






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






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






21. NSSet...






22. Hold data and know nothing about the user interface






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






24. How do I implement my drawRect?






25. if you implemented both the setter and getter - the @synthesize method...






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






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






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






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






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






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






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






33. super - is used...






34. What does autorelease mean?






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






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






37. Primitives and C Structures...






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






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






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






41. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






42. The designated initializer calls the _ designated initializer....

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


43. Files Owner...






44. When do you take ownership?...






45. UIViewController has several methods that get called at certain times...






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






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






48. A view is an...






49. Asking a class or object to execute a method






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






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests