Test your basic knowledge |

iOS 5 App Development Objective C

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






2. class methods...






3. To load a Xib file manually - you use _






4. @property declares - and _ implements the setter and getter...






5. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






6. A method in a _ is required unless its preceded by an @optional.






7. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






8. When an NSMutableArray is deallocated - it sends...






9. Just a floating point number - but we always use it for graphics.






10. Categories are an Objective C way to add _ to an existing class without subclassing






11. Proceed through the loop - jump back to the top and check again






12. Ready-made instances...






13. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






14. Core foundation classes are prefixed with _ and suffixed with _






15. NSNumber - class...






16. Each class picks one _ as it's designated initializer....






17. C struct with a CGPoint origin and a CGSize size - in other words two c structs.






18. After accessors have been defined in the header file...






19. Delegation is an object oriented approach to






20. Only exists within the statement block there defined - outside of the block is fine






21. Files Owner...






22. Also - because arrays only hold a pointer to an object...






23. Why properties?






24. NSDictionary...






25. NSString *s = @'Hello - World'; is an example of...






26. When making a tableView always...






27. In any application with UINavigationController - the navigation controller...






28. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






29. Three ways instances are created...






30. id is a...






31. A message is always contained in square brackets - and has three parts






32. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






33. Any individual object belonging to any class...






34. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






35. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






36. A responder is responsible for...






37. Hold data and know nothing about the user interface






38. Each _ has a 'designated' initializer method....






39. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






40. NSSet...






41. If a break statement is executed from within a set of nested loops...






42. The integer prefix is...






43. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






44. Any other initializer a class has calls the _ designated initializer....

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


45. In object oriented languages - we call methods that get and set instance variables

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


46. At the top of any implementation file...






47. Never access a view controller's view in that...

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


48. Reference Counting...






49. When do you take ownership?...






50. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.