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 does the controller do?






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






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






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


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


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


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






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






10. What does a view (UIView) represent?






11. ______ is a pointer to any object.






12. You can send a message to a...






13. Talk about BOOL variables.






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






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






16. What is the makeup of a CGSize?






17. Can the controller talking to the view?






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


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






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






21. Classes cannot have _________ or ___________.






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






23. Show a private interface section.






24. Some controllers have ____________ as their views.






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


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






27. What is a property list?






28. How to create a UIView in code?






29. All properties are initialized to _____






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






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






32. How are local variables initialized in iOS 5?






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. The view is...

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


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






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






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






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






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


40. A property is just the combination of _______.






41. What is the makeup of a CGRect?






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


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






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






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






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


47. List the iOS hierarchy from top to bottom.






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






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






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