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 basic steps in custom drawing.






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






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






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






5. What is the center property of a UIView?


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






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






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






9. How is ARC done?






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






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






12. Show a private interface section.






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






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






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






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






17. Why are properties good?






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


19. Talk about NSString






20. How are local variables initialized in iOS 5?






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






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






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






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






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






26. How to instantiate an object?






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






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






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






30. Some controllers have ____________ as their views.






31. Where do I initialize properties?






32. What does a view (UIView) represent?






33. What is the makeup of a CGSize?






34. ______ is a pointer






35. You can send a message to a...






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






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






38. What is the iOS term for a library?






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


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






41. Can the controller talking to the view?






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






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


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






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






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






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






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






49. What is a property list?






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