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 a reason to write our own setter?






2. What is a property list?






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


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






5. A _______ is how a view notifies the controller of something - for example - a button press.






6. What is the iOS term for a library?






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


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






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


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






11. What about controller talking to the model?






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






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






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


15. Calling a method on id works just fine because....?






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






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






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






19. Show a private interface section.






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






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






22. Is NSString mutable or not?






23. ______ is a pointer to any object.






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






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






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






27. List the iOS hierarchy from top to bottom.






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


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






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






31. A property is just the combination of _______.






32. How to instantiate an object?






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






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






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






36. ______ is a pointer






37. What is in the model?






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






39. Dot notation does what?






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






41. How are local variables initialized in iOS 5?






42. All properties are initialized to _____






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


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






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






46. What is the makeup of a CGSize?






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






48. What is the makeup of a CGPoint?






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


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