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. How can I find out the class of any object? Give a line of code.






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






3. The basic steps in custom drawing.






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






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






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






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






8. How about the model talking to the controller?


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


10. List the iOS hierarchy from top to bottom.






11. What is the iOS term for a library?






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






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






14. What is a property list?






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






16. What does 'weak' mean?


17. What about controller talking to the model?






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


19. You can send a message to a...






20. What is in the model?






21. What is the frame property of a UIView?


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






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


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






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






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






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






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


29. How are local variables initialized in iOS 5?






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






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






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






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






34. Some controllers have ____________ as their views.






35. What about the view talking to the controller?


36. Is NSArray mutable?






37. ______ is a pointer






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


39. Is NSString mutable or not?






40. What is the bounds property of a UIView?






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






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






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






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






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






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






47. What does the controller do?






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






49. Talk about BOOL variables.






50. Where do I initialize properties?