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. The setters for outlets are called by _______ at this point ______________.






2. A property is just the combination of _______.






3. Dot notation does what?






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






5. What about controller talking to the model?






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


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






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


9. Where do I initialize properties?






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






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






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


13. What is a property list?






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






15. How about the model talking to the controller?


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






17. The view is...


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






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






20. ______ is a pointer to any object.






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






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






23. What does 'strong' mean?


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






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


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


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






28. What is the makeup of a CGSize?






29. What is the iOS term for a library?






30. What is the makeup of a CGPoint?






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






32. The basic steps in custom drawing.






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


34. How to create a UIView in code?






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






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






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






38. What does 'weak' mean?


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






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






41. What is the frame property of a UIView?


42. Some controllers have ____________ as their views.






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






44. Talk about NSString






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






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






47. What is the makeup of a CGRect?






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


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






50. How to instantiate an object?