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. Are local pointers to objects strong or weak? So what happens at the end of the routine?






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






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






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






5. What does 'weak' mean?

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


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






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


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






9. What is the makeup of a CGRect?






10. Where do I initialize properties?






11. What does the controller do?






12. List the iOS hierarchy from top to bottom.






13. You can send a message to a...






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






15. ______ is a pointer






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






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






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






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






20. What about controller talking to the model?






21. Dot notation does what?






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






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






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


25. Why are properties good?






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






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






28. Is NSString mutable or not?






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






30. Classes cannot have _________ or ___________.






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






32. What is a property list?






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


34. What does 'strong' mean?

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


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






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


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






38. What is the iOS term for a library?






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






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


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






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






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






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






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






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


47. How to instantiate an object?






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






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






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