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. All classes should have a __________________ to be called by subclasses.






2. What is the makeup of a CGPoint?






3. Can the controller talking to the view?






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






5. Some controllers have ____________ as their views.






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






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


8. The setters for outlets are called by _______ at this point ______________.






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






10. What is the makeup of a CGSize?






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






12. Classes cannot have _________ or ___________.






13. What is the bounds property of a UIView?






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


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


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






17. The basic steps in custom drawing.






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






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






20. How are local variables initialized in iOS 5?






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


22. What does 'strong' mean?


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






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






25. What does the controller do?






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






27. Is NSArray mutable?






28. Dot notation does what?






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






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


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


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






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






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






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






36. What does 'weak' mean?


37. ______ is a pointer






38. What is the center property of a UIView?


39. What is the iOS term for a library?






40. Show a private interface section.






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






42. A property is just the combination of _______.






43. ______ is a pointer to any object.






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






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






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






47. Talk about BOOL variables.






48. All properties are initialized to _____






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






50. What about the view talking to the controller?