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






3. What is the makeup of a CGSize?






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






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






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


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






8. Is NSString mutable or not?






9. Show a private interface section.






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






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


12. How to instantiate an object?






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






14. A property is just the combination of _______.






15. Talk about BOOL variables.






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


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






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






19. What is in the model?






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






21. What does the controller do?






22. What is the bounds property of a UIView?






23. What is a property list?






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






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






26. The view is...

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


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






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






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






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






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






32. What does 'strong' mean?

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


33. What is the makeup of a CGRect?






34. ______ is a pointer to any object.






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






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






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






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






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






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. How to tell whether an object implements a particular method? (A line of code)






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






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


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






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


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






47. What does 'weak' mean?

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


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


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






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