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. Does a view 'own' the data it displays?






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






3. The view is...

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


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


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






6. List the iOS hierarchy from top to bottom.






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






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






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






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






11. What about controller talking to the model?






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






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






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






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






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






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


18. How are local variables initialized in iOS 5?






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






20. What does 'weak' mean?

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


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






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






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






24. All properties are initialized to _____






25. Is NSArray mutable?






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






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






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






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






30. ______ is a pointer






31. What does a view (UIView) represent?






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






33. Can the controller talking to the view?






34. Why are properties good?






35. What is the iOS term for a library?






36. Classes cannot have _________ or ___________.






37. Talk about NSString






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


39. How to instantiate an object?






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. When happens when you send a message to nil?






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






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






44. Dot notation does what?






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


46. What do I use for a hash table/associative array? And is it mutable?

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


47. What is the bounds property of a UIView?






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






49. What does the controller do?






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