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


2. List the iOS hierarchy from top to bottom.






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


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






5. Can the controller talking to the view?






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


7. Show a private interface section.






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






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






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






11. What is the makeup of a CGSize?






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






13. How is ARC done?






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






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






16. All properties are initialized to _____






17. What is the iOS term for a library?






18. ______ is a pointer






19. ______ is a pointer to any object.






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






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






22. How to create a UIView in code?






23. Dot notation does what?






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






25. Talk about NSString






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






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






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






29. You can send a message to a...






30. Why are properties good?






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






32. What is a property list?






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






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






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






36. What about controller talking to the model?






37. Where do I initialize properties?






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






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






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


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






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






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






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






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


46. What does 'weak' mean?

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


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


48. What does a view (UIView) represent?






49. What is in the model?






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