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. Classes cannot have _________ or ___________.






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






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






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






5. What is in the model?






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






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






8. Is NSString mutable or not?






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






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






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






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






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






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






15. How is ARC done?






16. What does 'weak' mean?

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


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






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






19. What is a property list?






20. List the iOS hierarchy from top to bottom.






21. What does 'strong' mean?

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


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






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


24. The view is...

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


25. What is the bounds property of a UIView?






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


27. Is NSArray mutable?






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






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






30. What is the makeup of a CGPoint?






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


32. Why are properties good?






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






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


35. All properties are initialized to _____






36. How are local variables initialized in iOS 5?






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






38. Can the controller talking to the view?






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






40. Talk about BOOL variables.






41. What is the makeup of a CGSize?






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






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






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


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


46. ______ is a pointer






47. Dot notation does what?






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






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






50. The basic steps in custom drawing.