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. What is the name of a property in the controller that it uses to talk to views?






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






3. You can send a message to a...






4. How are local variables initialized in iOS 5?






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


7. What about the view talking to the controller?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






9. How to create a UIView in code?






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






11. Dot notation does what?






12. All properties are initialized to _____






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






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


16. What is the frame property of a UIView?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






18. What does 'weak' mean?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






22. What is the iOS term for a library?






23. What is the center property of a UIView?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


24. What does 'strong' mean?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






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






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






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






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






32. What does a view (UIView) represent?






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






36. Why are properties good?






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






38. What is the makeup of a CGRect?






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






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






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






42. ______ is a pointer to any object.






43. What about controller talking to the model?






44. The view is...

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


45. Is NSString mutable or not?






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






47. ______ is a pointer






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






49. What does the controller do?






50. What is the makeup of a CGPoint?