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 the .h file and __________ is the .m file.






3. ______ is a pointer to any object.






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






5. Talk about NSString






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






7. What is a property list?






8. Is NSString mutable or not?






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






10. What is the iOS term for a library?






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






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


13. What is the name of a property in the controller that it uses to talk to views?






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






15. What is the makeup of a CGSize?






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






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






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






19. Objects in an array: are the pointed to strongly or weakly?






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


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






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






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


24. What is the makeup of a CGRect?






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






26. You can send a message to a...






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






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






29. What does a view (UIView) represent?






30. What is the center property of a UIView?


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






32. Some controllers have ____________ as their views.






33. Dot notation does what?






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






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






36. Is NSArray mutable?






37. The view is...


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






39. How to create a UIView in code?






40. What does 'strong' mean?


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






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






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






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






45. The basic steps in custom drawing.






46. What is the frame property of a UIView?


47. Why are properties good?






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






49. What is the makeup of a CGPoint?






50. How to instantiate an object?