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. In the last line of an init method...






3. NSDate - class...






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






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






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






7. When do you take ownership?...






8. In object oriented languages - we call methods that get and set instance variables






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






10. Class methods typically either create






11. @property - is using methods...






12. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






13. Ready-made instances...






14. Reducing details to focus on the core concepts






15. Hold data and know nothing about the user interface






16. Why properties?






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






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






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






20. Core foundation classes are prefixed with _ and suffixed with _






21. The designated initializer calls the _ designated initializer....






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






23. A responder is responsible for...






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






25. Property List...






26. We can use dot notation to reference...






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






28. A view is a subclass of _






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






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






31. class methods...






32. Any other initializer a class has calls the _ designated initializer....






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






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






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






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






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






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






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






40. id is a...






41. NSArray - important methods...






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






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






44. NSArray - class...






45. A callback is a function that is supplied in advance of an event - and...






46. Asking a class or object to execute a method






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






48. NSValue - class...






49. Never access a view controller's view in that...






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