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. Center and frame are used to _ your view






2. Property List...






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






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






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






6. All objects are accessed using...






7. Reducing details to focus on the core concepts






8. Origin of a view's coordinate system is _ left






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






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






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






12. In general - class methods tend to be factory methods - that is...






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






14. class methods...






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






16. Each _ has a 'designated' initializer method....






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






18. A view is a subclass of _






19. NSValue - class...






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






21. NSNumber - class...






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






23. Three ways instances are created...






24. You use _ to implement the view






25. When do you take ownership?...






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






27. NSArray - important methods...






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






29. @property declares - and _ implements the setter and getter...






30. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






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






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






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






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






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






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






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






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






39. NSDate - class...






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






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


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






43. The integer prefix is...






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






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






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






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






48. Primitives and C Structures...






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


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