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. When is it OK to call drawRect: directly?






2. You can send a message to a...






3. How about the model talking to the controller?

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


4. Dot notation does what?






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






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


7. What is in the model?






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


9. Classes cannot have _________ or ___________.






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


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






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


13. What is the iOS term for a library?






14. What is a property list?






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






16. What is the makeup of a CGSize?






17. Is NSString mutable or not?






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


19. List the iOS hierarchy from top to bottom.






20. A property is just the combination of _______.






21. What is the makeup of a CGRect?






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






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






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






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






26. Talk about BOOL variables.






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






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






29. How to create a UIView in code?






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






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






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






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






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






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


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


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






38. Can the controller talking to the view?






39. Some controllers have ____________ as their views.






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






41. Talk about NSString






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






43. What is the bounds property of a UIView?






44. What does a view (UIView) represent?






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






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






47. ______ is a pointer






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


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






50. The view is...

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