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. How to tell if an object is of a particular class? (Write a line of code)






2. You can send a message to a...






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






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






5. Remember that it's cool to...






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






7. Talk about BOOL variables.






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






9. How to create a UIView in code?






10. Classes cannot have _________ or ___________.






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


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






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






14. What is the iOS term for a library?






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






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






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






18. What does the controller do?






19. The basic steps in custom drawing.






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


21. Can the controller talking to the view?






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






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


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






25. Show a private interface section.






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






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






28. What is the makeup of a CGPoint?






29. How is ARC done?






30. ______ is a pointer






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






32. All properties are initialized to _____






33. Where do I initialize properties?






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






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


36. What does 'weak' mean?

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


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






38. What is the bounds property of a UIView?






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






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






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






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






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


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






46. What is the makeup of a CGRect?






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


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






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






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