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. The view is...

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


2. What is a property list?






3. ______ is a pointer






4. How is ARC done?






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






6. What is in the model?






7. Can the controller talking to the view?






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






9. Classes cannot have _________ or ___________.






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






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






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


13. What is the makeup of a CGRect?






14. What does the controller do?






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






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






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






18. The basic steps in custom drawing.






19. Some controllers have ____________ as their views.






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






21. Where do I initialize properties?






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






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


24. How are local variables initialized in iOS 5?






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


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






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






28. Talk about NSString






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






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






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






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






33. What does 'strong' mean?

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


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






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


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


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 to do in Xcode for short documentation? For full documentation?






39. List the iOS hierarchy from top to bottom.






40. Show a private interface section.






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






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






43. What is the bounds property of a UIView?






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


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






46. Is NSString mutable or not?






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






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






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






50. How to instantiate an object?