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 'strong' mean?

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


2. Where do I initialize properties?






3. ______ is a pointer






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






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






6. Some controllers have ____________ as their views.






7. How is ARC done?






8. What if I want to put a scalar into an NSArray or NSSet?






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






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






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


12. What does the controller do?






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






14. How to instantiate an object?






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






16. Talk about NSString






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






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






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






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






21. What is the makeup of a CGPoint?






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






23. The view is...

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


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






25. What is the makeup of a CGSize?






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






27. What is the name of a property in the controller that it uses to talk to views?






28. How are local variables initialized in iOS 5?






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






30. What is a property list?






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






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






33. All properties are initialized to _____






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






35. Classes cannot have _________ or ___________.






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






37. What is in the model?






38. Is NSArray mutable?






39. Show a private interface section.






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


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


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






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






44. Talk about BOOL variables.






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






46. Can the controller talking to the view?






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






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


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


50. What does a view (UIView) represent?