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. Use ______ to send debugging messages to the console. Use _____ for any object - which should return an string. Can also use ______.






2. What about the view talking to the controller?


3. How is ARC done?






4. How are local variables initialized in iOS 5?






5. Some controllers have ____________ as their views.






6. Talk about BOOL variables.






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






8. What does 'weak' mean?


9. What about public/private in Objective-C?


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






11. How can I find out the class of any object? Give a line of code.






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






13. The view is...


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






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






16. What is the bounds property of a UIView?






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






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






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






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






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






22. Where do I initialize properties?






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






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






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






26. Why are properties good?






27. Classes cannot have _________ or ___________.






28. What is static typing? Why is it good?


29. Dot notation does what?






30. Is it always bad to send messages to id?


31. How to tell whether an object implements a particular method? (A line of code)






32. What is the iOS term for a library?






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






34. What is the makeup of a CGRect?






35. What is the makeup of a CGSize?






36. What does 'strong' mean?


37. Is NSString mutable or not?






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






39. Can the controller talking to the view?






40. Talk about NSString






41. All properties are initialized to _____






42. You can send a message to a...






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






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






45. What is in the model?






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






47. How about the model talking to the controller?


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






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






50. What do I use for an unordered collection - e.g. test for membership? And is it mutable?