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 is in the model?






3. What is the makeup of a CGRect?






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






5. Some controllers have ____________ as their views.






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






7. The basic steps in custom drawing.






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


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






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






11. How is ARC done?






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






13. The view is...

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


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






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






16. ______ is a pointer






17. Dot notation does what?






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


19. What does a view (UIView) represent?






20. A property is just the combination of _______.






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






22. How are local variables initialized in iOS 5?






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






24. Classes cannot have _________ or ___________.






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






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


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






28. How many superviews does a view have? How many subviews?






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






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






31. Talk about BOOL variables.






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






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






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






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


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






37. What is a property list?






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






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






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






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


42. How to instantiate an object?






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






44. All properties are initialized to _____






45. What does 'strong' mean?

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


46. Show a private interface section.






47. Where do I initialize properties?






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






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






50. What does 'weak' mean?

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