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 are local variables initialized in iOS 5?






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






3. What is the makeup of a CGRect?






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


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






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






7. How to instantiate an object?






8. How is ARC done?






9. Is NSString mutable or not?






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






11. What does the controller do?






12. Dot notation does what?






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






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






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






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






17. Where do I initialize properties?






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






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






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






21. The view is...

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


22. What does 'strong' mean?

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


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






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






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






26. Some controllers have ____________ as their views.






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






28. What is in the model?






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


30. List the iOS hierarchy from top to bottom.






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


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






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






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






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






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






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






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






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






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






41. What is the iOS term for a library?






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


43. What does a view (UIView) represent?






44. What is the bounds property of a UIView?






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






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


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






48. Show a private interface section.






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






50. You can send a message to a...