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 does a view (UIView) represent?






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






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. ______ is a pointer to any object.






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






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






7. Classes cannot have _________ or ___________.






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






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






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






11. What about controller talking to the model?






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






13. What is the makeup of a CGPoint?






14. What is the iOS term for a library?






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


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






17. Is NSString mutable or not?






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






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






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


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






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






23. Show a private interface section.






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






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






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






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


28. What is a property list?






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






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






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






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






33. ______ is a pointer






34. Can the controller talking to the view?






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






36. What does 'weak' mean?

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


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


38. What does 'strong' mean?

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


39. You can send a message to a...






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






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






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






43. Dot notation does what?






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






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






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






47. Is NSArray mutable?






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






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






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