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. Talk about NSString






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






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






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






5. How to instantiate an object?






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






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






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






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






10. Can the controller talking to the view?






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






12. Classes cannot have _________ or ___________.






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






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


15. Some controllers have ____________ as their views.






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






17. ______ is a pointer to any object.






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






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






20. How is ARC done?






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






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






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






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


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






26. What is in the model?






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


28. A property is just the combination of _______.






29. What does 'strong' mean?

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


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


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


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






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


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






35. Is NSArray mutable?






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






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






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


39. Show a private interface section.






40. The view is...

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


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


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






43. What does 'weak' mean?

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


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






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






46. What is the bounds property of a UIView?






47. What about controller talking to the model?






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






49. Where do I initialize properties?






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