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. Does a view 'own' the data it displays?






2. The single-view template in Xcode does not...






3. Why are properties good?






4. ______ is a pointer to any object.






5. What is the fundamental design pattern of iOS development?






6. What is the word for checking/verifying the type of an object?


7. Is NSArray mutable?






8. What is in the model?






9. How to force a redraw of a custom area?






10. What is static typing? Why is it good?


11. How about the model talking to the controller?


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






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






14. In synthesize: @synthesize foo = _foo; The __foo_ is the ____________ or also known as the ___________________.


15. How to instantiate an object?






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






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






18. When is it OK to call drawRect: directly?






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






20. What is the iOS term for a library?






21. A property is just the combination of _______.






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






23. Use ______ to send debugging messages to the console. Use _____ for any object - which should return an string. Can also use ______.






24. All classes should have a __________________ to be called by subclasses.






25. What does a view (UIView) represent?






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






27. How to create a UIView in code?






28. What is the bounds property of a UIView?






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






30. What is a property list?






31. Can the controller talking to the view?






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






33. Show a private interface section.






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






35. What do I use for an unordered collection - e.g. test for membership? And is it mutable?


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






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






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






39. What about the model and the view talking to one another?






40. How to access the controller's top view?






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


42. Objects in an array: are the pointed to strongly or weakly?






43. What is the name of a property in the controller that it uses to talk to views?






44. How to do enumeration with NSArray - NSDictionary - etc?


45. Some controllers have ____________ as their views.






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






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






48. What does 'weak' mean?


49. How to see all actions - outlets - incoming/outgoing segues on a view?






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