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 controller is always a subclass of...?






2. Is NSArray mutable?






3. How about the model talking to the controller?


4. Where do I initialize properties?






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






6. ______ is a pointer to any object.






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






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


9. What does the controller do?






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






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


12. What about the view talking to the controller?


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






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






15. What is in the model?






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






17. How to create a UIView in code?






18. Some controllers have ____________ as their views.






19. The basic steps in custom drawing.






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


21. Why are properties good?






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






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






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






25. What does 'strong' mean?


26. Is NSString mutable or not?






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






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


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






30. Talk about BOOL variables.






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






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


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






34. All properties are initialized to _____






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






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






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






38. How are local variables initialized in iOS 5?






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


40. How is ARC done?






41. What is the makeup of a CGRect?






42. Classes cannot have _________ or ___________.






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






44. ______ is a pointer






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






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






47. What is the makeup of a CGPoint?






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






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


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