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






2. Property List...






3. Three ways instances are created...






4. @property - is using methods...






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






6. Center and frame are used to _ your view






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






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






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






10. NSString objects are usually sent _ rather than _...






11. UITableViewController is a subclass of...






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






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






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






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






16. Hold data and know nothing about the user interface






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






18. NSSet...






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






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


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






22. Designated initializer makes sure that every...






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






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






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






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






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






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


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






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






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






32. Class methods typically either create






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


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






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






36. The integer prefix is...






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






38. How do I implement my drawRect?






39. A responder is responsible for...






40. What does autorelease mean?






41. id is a...






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






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






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






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






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






47. A UITableViewController can fill all three roles of...






48. Primitives and C Structures...






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


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