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 bounds property of a UIView?






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






3. Where do I initialize properties?






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






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


6. How to create a UIView in code?






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






8. Talk about BOOL variables.






9. Show a private interface section.






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


11. What does a view (UIView) represent?






12. Classes cannot have _________ or ___________.






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






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






15. Talk about NSString






16. ______ is a pointer






17. How are local variables initialized in iOS 5?






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


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






20. Is NSArray mutable?






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






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






23. What about controller talking to the model?






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






25. The view is...

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


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






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






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






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


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






31. What is the makeup of a CGPoint?






32. What is the makeup of a CGRect?






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






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






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






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






37. ______ is a pointer to any object.






38. Some controllers have ____________ as their views.






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


40. What does 'strong' mean?

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


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


42. Can the controller talking to the view?






43. How is ARC done?






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






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






46. Use ______ to send debugging messages to the console. Use _____ for any object - which should return an string. Can also use ______.






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






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


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






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