Test your basic knowledge |

iOS 5 App Development 2

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. How is ARC done?






2. What do I use for an ordered collection of objects? And is it mutable?


3. If a method starts with a dash - it's a ___________. If it starts with a plus sign - it's a ______________.






4. How can I find out the class of any object? Give a line of code.






5. What is the makeup of a CGSize?






6. What is the bounds property of a UIView?






7. A _______ goes from the Controller to the View. A ________ goes from the view to the controller.






8. What does the controller do?






9. The basic steps in custom drawing.






10. The controller is always a subclass of...?






11. The setters for outlets are called by _______ at this point ______________.






12. What is in the model?






13. ________ is the .h file and __________ is the .m file.






14. How about the model talking to the controller?


15. Is NSArray mutable?






16. List the iOS hierarchy from top to bottom.






17. What if I want to put a scalar into an NSArray or NSSet?






18. Why are properties good?






19. What is a property list?






20. The decision on what method to call is made when?






21. Dot notation does what?






22. Calling a method on id works just fine because....?






23. What about controller talking to the model?






24. How can I save user information between launches of my app?






25. What does a view (UIView) represent?






26. In a nutshell: how to do custom drawing?






27. What do I use for a hash table/associative array? And is it mutable?


28. What is a reason to write our own setter?






29. The view is...


30. What is the base class for most objects in the iOS SDK?






31. There is no difference between _____ and _______ at runtime.






32. Instead of 'include' statements - in Objective-C we use _______ which does ________






33. What is the makeup of a CGRect?






34. Remember that it's cool to...






35. Does a view 'own' the data it displays?






36. Class methods are used for ___________ and the call starts with ____________.






37. What to do in Xcode for short documentation? For full documentation?






38. A _______ is how a view notifies the controller of something - for example - a button press.






39. How to instantiate an object?






40. How many superviews does a view have? How many subviews?






41. Can the controller talking to the view?






42. How to tell if an object is of a particular class? (Write a line of code)






43. ________ implements the getter and setter. But we can always__________






44. How to add subviews in code? How to remove them?






45. What do I use for a bag of bits?






46. A property is just the combination of _______.






47. What is the iOS term for a library?






48. What is the frame property of a UIView?


49. What is an example of a reason to write a getter?






50. What is at the top of the view hierarchy?