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. ________ is the .h file and __________ is the .m file.






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


3. What is the makeup of a CGPoint?






4. Why are properties good?






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






6. What is a property list?






7. What does 'strong' mean?

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


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


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


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






11. How are local variables initialized in iOS 5?






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






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






14. How to create a UIView in code?






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






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


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






18. Can the controller talking to the view?






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






20. What do I use for a hash table/associative array? And is it mutable?

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


21. What does 'weak' mean?

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


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






23. ______ is a pointer to any object.






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






25. What is the makeup of a CGSize?






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






27. When is it OK to call drawRect: directly?






28. Talk about NSString






29. What does a view (UIView) represent?






30. Some controllers have ____________ as their views.






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






32. A property is just the combination of _______.






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






34. All properties are initialized to _____






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






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


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


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






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


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






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






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






43. What is in the model?






44. List the iOS hierarchy from top to bottom.






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






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






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






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






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






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