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. Instance methods start with a ______ and class methods start with a ______.






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






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






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






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






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






7. Classes cannot have _________ or ___________.






8. The view is...


9. How about the model talking to the controller?


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






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






12. What is the iOS term for a library?






13. What does 'strong' mean?


14. A property is just the combination of _______.






15. Why are properties good?






16. All properties are initialized to _____






17. What is a property list?






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






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






20. What is the bounds property of a UIView?






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






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






23. What does 'weak' mean?


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






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


26. What is the center property of a UIView?


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






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






29. What is the makeup of a CGPoint?






30. Show a private interface section.






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






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






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


34. How are local variables initialized in iOS 5?






35. What do I use for a hash table/associative array? And is it mutable?


36. Dot notation does what?






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






38. Is NSString mutable or not?






39. ______ is a pointer






40. What does the controller do?






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


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






43. You can send a message to a...






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






45. What about the view talking to the controller?


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






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






48. Some controllers have ____________ as their views.






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






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