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. Is it always bad to send messages to id?


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






3. What is the iOS term for a library?






4. Is NSArray mutable?






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






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






7. What is the makeup of a CGSize?






8. ______ is a pointer to any object.






9. What does 'weak' mean?


10. What about controller talking to the model?






11. All properties are initialized to _____






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






13. Can the controller talking to the view?






14. The basic steps in custom drawing.






15. Show a private interface section.






16. What does 'strong' mean?


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






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






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


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






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






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






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






24. What is the center property of a UIView?


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






26. Talk about NSString






27. Where do I initialize properties?






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






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






30. What is the frame property of a UIView?


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


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






33. What does the controller do?






34. A property is just the combination of _______.






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






36. What does a view (UIView) represent?






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


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






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






40. What about the view talking to the controller?


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






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






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


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






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


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






47. The view is...


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






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






50. How to instantiate an object?