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. Where do I initialize properties?






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


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






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






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






6. Show a private interface section.






7. Dot notation does what?






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


9. What does 'weak' mean?

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


10. Is NSArray mutable?






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






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






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


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






15. Is NSString mutable or not?






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






17. ______ is a pointer to any object.






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






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






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


21. Talk about BOOL variables.






22. How to instantiate an object?






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


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






25. How is ARC done?






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






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






28. What is in the model?






29. In synthesize: @synthesize foo = _foo; The __foo_ is the ____________ or also known as the ___________________.

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


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






31. What about controller talking to the model?






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


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


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


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






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






37. What is the makeup of a CGRect?






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






39. How are local variables initialized in iOS 5?






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


41. List the iOS hierarchy from top to bottom.






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






43. The basic steps in custom drawing.






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






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






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






47. Talk about NSString






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






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


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