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. Instead of 'include' statements - in Objective-C we use _______ which does ________






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






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


4. What does 'weak' mean?


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






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


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






8. What about controller talking to the model?






9. Is NSArray mutable?






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






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


12. What is the makeup of a CGSize?






13. List the iOS hierarchy from top to bottom.






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


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






16. Can the controller talking to the view?






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






18. Is it always bad to send messages to id?


19. What is the frame property of a UIView?


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






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






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






23. ______ is a pointer






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






25. Where do I initialize properties?






26. How to tell whether an object implements a particular method? (A line of code)






27. Talk about NSString






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






29. When happens when you send a message to nil?






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


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






32. What about public/private in Objective-C?


33. What is in the model?






34. What does 'strong' mean?


35. Are local pointers to objects strong or weak? So what happens at the end of the routine?






36. Instance methods start with a ______ and class methods start with a ______.






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






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






39. What is the bounds property of a UIView?






40. Dot notation does what?






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






42. The view is...


43. How to create a UIView in code?






44. The basic steps in custom drawing.






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






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






47. How is ARC done?






48. You can send a message to a...






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






50. In the initializer methods of objects I create - add what line of code? Why?