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 to tell if an object is of a particular class? (Write a line of code)






2. Some controllers have ____________ as their views.






3. What is the makeup of a CGRect?






4. A property is just the combination of _______.






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






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






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






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






9. What about the view talking to the controller?


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


11. Classes cannot have _________ or ___________.






12. Why are properties good?






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






14. What is used in lieu of pixels? And why?






15. What is the makeup of a CGPoint?






16. All properties are initialized to _____






17. Show a private interface section.






18. ______ is a pointer






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






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


21. What does 'strong' mean?


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






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






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






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






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






27. Is NSArray mutable?






28. You can send a message to a...






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






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






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






32. Where do I initialize properties?






33. What is the makeup of a CGSize?






34. Is NSString mutable or not?






35. What does the controller do?






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






37. How to create a UIView in code?






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






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






40. If I need to convert a number to an object - use __________






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






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






43. Dot notation does what?






44. The view is...


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


46. The basic steps in custom drawing.






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






48. What does a view (UIView) represent?






49. How to instantiate an object?






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