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. A _______ goes from the Controller to the View. A ________ goes from the view to the controller.






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






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






4. How are local variables initialized in iOS 5?






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






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






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






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


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






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






11. Why are properties good?






12. How to create a UIView in code?






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






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






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


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


17. Can the controller talking to the view?






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


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






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






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






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






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






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






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


26. What does 'strong' mean?

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


27. How to instantiate an object?






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






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






30. ______ is a pointer






31. A property is just the combination of _______.






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






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






34. How is ARC done?






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






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


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






38. Show a private interface section.






39. Talk about BOOL variables.






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






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






42. What is the makeup of a CGSize?






43. Is NSString mutable or not?






44. How to tell whether an object is of a class or class that inherits from that class? (Write a line of code)






45. List the iOS hierarchy from top to bottom.






46. What is a property list?






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






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






49. Talk about NSString






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