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. What do I use for a bag of bits?






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






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






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






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


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






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






8. List the iOS hierarchy from top to bottom.






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






10. What is the bounds property of a UIView?






11. How to instantiate an object?






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


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






14. How is ARC done?






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


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






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






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


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






20. How to create a UIView in code?






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






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






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


24. Dot notation does what?






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






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






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






28. What is in the model?






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






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


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






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






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






34. What is the makeup of a CGPoint?






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






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


37. All properties are initialized to _____






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






39. Talk about BOOL variables.






40. Why are properties good?






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






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






43. What does 'weak' mean?

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


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


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






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






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






48. What about controller talking to the model?






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


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