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. There is no difference between _____ and _______ at runtime.






2. What is the makeup of a CGPoint?






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






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






5. ______ is a pointer






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






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






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






9. What is the makeup of a CGSize?






10. How is ARC done?






11. What do I use for a hash table/associative array? And is it mutable?

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


12. How are local variables initialized in iOS 5?






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






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






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






16. Show a private interface section.






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






18. Is NSString mutable or not?






19. Does a view 'own' the data it displays?






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






21. What is in the model?






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






23. Why are properties good?






24. How to instantiate an object?






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


26. What is the makeup of a CGRect?






27. Where do I initialize properties?






28. What is the bounds property of a UIView?






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






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






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






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


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






34. You can send a message to a...






35. What does 'weak' mean?

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


36. ______ is a pointer to any object.






37. List the iOS hierarchy from top to bottom.






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


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






40. What does the controller do?






41. Dot notation does what?






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






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






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 to create a UIView in code?






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






47. What about controller talking to the model?






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






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


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