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. If a method starts with a dash - it's a ___________. If it starts with a plus sign - it's a ______________.






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


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






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






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






6. Talk about BOOL variables.






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






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






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






10. Is NSArray mutable?






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






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






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


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






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






16. The view is...

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


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






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






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






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






21. List the iOS hierarchy from top to bottom.






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






23. What does 'strong' mean?

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


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






25. How are local variables initialized in iOS 5?






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






27. What is in the model?






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






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






30. All properties are initialized to _____






31. Dot notation does what?






32. Classes cannot have _________ or ___________.






33. How to create a UIView in code?






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






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


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






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


38. What does a view (UIView) represent?






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






40. What about controller talking to the model?






41. ______ is a pointer to any object.






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






43. A property is just the combination of _______.






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






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






46. What is the makeup of a CGPoint?






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






48. What is the bounds property of a UIView?






49. Why are properties good?






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