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 is an example of a reason to write a getter?






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






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






4. What is the makeup of a CGSize?






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






6. Is NSArray mutable?






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


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






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


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






11. What does 'weak' mean?

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


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






13. All properties are initialized to _____






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






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






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


17. How to instantiate an object?






18. Show a private interface section.






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






20. Where do I initialize properties?






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






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






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


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






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






26. Can the controller talking to the view?






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






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






29. Talk about NSString






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






31. You can send a message to a...






32. How is ARC done?






33. The view is...

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


34. What is the iOS term for a library?






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. How are local variables initialized in iOS 5?






37. Talk about BOOL variables.






38. Why are properties good?






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


40. List the iOS hierarchy from top to bottom.






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






42. A property is just the combination of _______.






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






44. What about controller talking to the model?






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






46. What do I use for an ordered collection of objects? And is it mutable?

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


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






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






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


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