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. NSString objects are usually sent _ rather than _...






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






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






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






5. class methods...






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






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






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






9. Delegation is an object oriented approach to






10. Reference Counting...






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






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






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


14. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






15. Name of the method to be executed






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






17. Files Owner...






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






19. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


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






21. Proceed through the loop - jump back to the top and check again






22. Class methods typically either create






23. Ready-made instances...






24. UIView - designated initializer...






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






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






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






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






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






30. You use _ to implement the view






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






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






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






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






35. All objects are accessed using...






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






37. A view represents a _ area






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






39. Prefixing a character string with an @ symbol [specific - NSString class]...






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


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






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






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






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






45. NSArray - important methods...






46. Primitives and C Structures...






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






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






49. NSArray - class...






50. Values to be supplied as the parameters to the method