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 to force a redraw of a custom area?






2. What does the controller do?






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






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






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. What is a reason to write our own setter?






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






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






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

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


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






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






12. Where do I initialize properties?






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






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






15. Talk about NSString






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






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






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






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






20. You can send a message to a...






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






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






23. How is ARC done?






24. What does 'weak' mean?

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


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


26. Is NSString mutable or not?






27. Some controllers have ____________ as their views.






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






29. What is the makeup of a CGRect?






30. ______ is a pointer






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






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






33. Is NSArray mutable?






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






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






36. Classes cannot have _________ or ___________.






37. Why are properties good?






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






39. Show a private interface section.






40. What is the makeup of a CGPoint?






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






42. The view is...

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


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






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






45. The basic steps in custom drawing.






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

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


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


48. Dot notation does what?






49. What does 'strong' mean?

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


50. Can the controller talking to the view?