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. A _______ is how a view notifies the controller of something - for example - a button press.






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






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


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






5. What does 'weak' mean?


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






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






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






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






10. What is the bounds property of a UIView?






11. What about controller talking to the model?






12. How are local variables initialized in iOS 5?






13. What is the makeup of a CGRect?






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






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






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






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






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






19. What does 'strong' mean?


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






21. How to tell whether an object is of a class or class that inherits from that class? (Write a line of code)






22. You can send a message to a...






23. A property is just the combination of _______.






24. What does a view (UIView) represent?






25. How to instantiate an object?






26. The view is...


27. How to create a UIView in code?






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






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






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






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






32. Why are properties good?






33. How about the model talking to the controller?


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






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






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


37. Is NSArray mutable?






38. Can the controller talking to the view?






39. All properties are initialized to _____






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


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






42. How is ARC done?






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






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






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






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






47. The basic steps in custom drawing.






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






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


50. Classes cannot have _________ or ___________.