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 does the controller do?






2. Talk about NSString






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






4. What is the iOS term for a library?






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






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






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






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






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






10. How to create a UIView in code?






11. What about controller talking to the model?






12. All classes should have a __________________ to be called by subclasses.






13. Is NSArray mutable?






14. Why are properties good?






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


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






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


18. What is the makeup of a CGRect?






19. Class methods are used for ___________ and the call starts with ____________.






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






21. What does a view (UIView) represent?






22. The basic steps in custom drawing.






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






24. Classes cannot have _________ or ___________.






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






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






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






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






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






30. ______ is a pointer






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


32. What is the bounds property of a UIView?






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






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






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






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






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






38. How is ARC done?






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






40. All properties are initialized to _____






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






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






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






44. Is NSString mutable or not?






45. What is the makeup of a CGSize?






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






47. List the iOS hierarchy from top to bottom.






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


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


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