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 tell if an object is of a particular class? (Write a line of code)






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






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






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






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


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


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


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






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






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






11. Show a private interface section.






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






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






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


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






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






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






18. Is NSString mutable or not?






19. What is the makeup of a CGPoint?






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






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






22. How are local variables initialized in iOS 5?






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






24. What does 'weak' mean?

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


25. All classes should have a __________________ to be called by subclasses.






26. What is the makeup of a CGSize?






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






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


29. ______ is a pointer to any object.






30. A property is just the combination of _______.






31. Talk about NSString






32. What is a property list?






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






34. Can the controller talking to the view?






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


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. Instead of 'include' statements - in Objective-C we use _______ which does ________






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


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






40. Some controllers have ____________ as their views.






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






42. The view is...

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


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






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






45. What does 'strong' mean?

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


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






47. The controller is always a subclass of...?






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






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






50. All properties are initialized to _____