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 to access the controller's top view?






2. How is ARC done?






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


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


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


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






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






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






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






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






11. A property is just the combination of _______.






12. What is the bounds property of a UIView?






13. The basic steps in custom drawing.






14. What is a property list?






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


16. You can send a message to a...






17. Show a private interface section.






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






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






20. How are local variables initialized in iOS 5?






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






22. The view is...

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


23. What about controller talking to the model?






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






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






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






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






28. What is the makeup of a CGRect?






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






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






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. Why are properties good?






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






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






35. Is NSArray mutable?






36. What is in the model?






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






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






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






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


41. Some controllers have ____________ as their views.






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






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






44. How to instantiate an object?






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






46. Classes cannot have _________ or ___________.






47. What is the makeup of a CGPoint?






48. How to see all actions - outlets - incoming/outgoing segues on a view?






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






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