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


2. Why are properties good?






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






4. How to instantiate an object?






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


6. Talk about NSString






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






8. Can the controller talking to the view?






9. Show a private interface section.






10. What is the bounds property of a UIView?






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


12. Where do I initialize properties?






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






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


15. How is ARC done?






16. How are local variables initialized in iOS 5?






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






18. What does 'strong' mean?

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


19. What is the makeup of a CGPoint?






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






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






22. Is NSString mutable or not?






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






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






25. What is in the model?






26. Talk about BOOL variables.






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


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






29. ______ is a pointer






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






31. What is the makeup of a CGSize?






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






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






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






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






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






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






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






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






40. What does the controller do?






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






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






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






44. How can I find out the class of any object? Give a line of code.






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


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






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






48. ______ is a pointer to any object.






49. List the iOS hierarchy from top to bottom.






50. A property is just the combination of _______.