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 does a view (UIView) represent?






2. Is NSString mutable or not?






3. All properties are initialized to _____






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






5. 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


6. A property is just the combination of _______.






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






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






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






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

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


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






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






13. What about controller talking to the model?






14. 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


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






16. What is in the model?






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






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






19. What is the makeup of a CGRect?






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






21. How to create a UIView in code?






22. 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


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






24. Dot notation does what?






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






26. 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


27. The view is...

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


28. Talk about BOOL variables.






29. Can the controller talking to the view?






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






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






32. ______ is a pointer to any object.






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






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






35. Classes cannot have _________ or ___________.






36. 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


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






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






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






40. What does 'weak' mean?

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


41. How are local variables initialized in iOS 5?






42. What does the controller do?






43. How about the model talking to the controller?

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


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






45. Is it always bad to send messages to id?

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


46. You can send a message to a...






47. Where do I initialize properties?






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






49. Why are properties good?






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