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 a property list?






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






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






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






5. List the iOS hierarchy from top to bottom.






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


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






8. ______ is a pointer






9. Is NSArray mutable?






10. What is the word for checking/verifying the type of an object?

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


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






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






13. The basic steps in custom drawing.






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


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






16. Show a private interface section.






17. How to create a UIView in code?






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






19. What is the iOS term for a library?






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






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






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






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






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






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






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






27. Where do I initialize properties?






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






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


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






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






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






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






34. Can the controller talking to the view?






35. What is the makeup of a CGSize?






36. Talk about BOOL variables.






37. What is the frame property of a UIView?

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


38. What does the controller do?






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






40. What is the makeup of a CGPoint?






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






42. Some controllers have ____________ as their views.






43. ______ is a pointer to any object.






44. How to instantiate an object?






45. Is it always bad to send messages to id?

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


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






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


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






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






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