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. If the view has no subviews - create it programmatically; if it has subviews






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


3. NSNumber - class...






4. What happens when the last owner calls release?

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


5. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






6. @property - is using methods...






7. id is a...






8. A callback is a function that is supplied in advance of an event - and...






9. UIViewController has several methods that get called at certain times...






10. The integer prefix is...






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






12. In Cocoa Touch - the table view asks another object _ what it should display...






13. Views have three properties related to their location and size: @property _ _;






14. We can use dot notation to reference...

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


15. Origin of a view's coordinate system is _ left






16. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






17. In general - class methods tend to be factory methods - that is...






18. Three ways instances are created...






19. Delegation is an object oriented approach to






20. Object Oriented based analogue to a function is called a...






21. Typically the designated initializer has parameters for the most important and frequently used _ of an object






22. A _ handles touch events.






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






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






25. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






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


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






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






29. Asking a class or object to execute a method






30. Center and frame are used to _ your view






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






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






33. An instance is a device for maintaining state. It's a box for _ of data.






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






35. Instance Variables by default are called @protected meaning...






36. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






37. A UITableView usually needs three different pieces...






38. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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






40. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






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






42. All objects are accessed using...






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






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






45. The root view controller typically creates the next view controller - and the next _ creates the one after that






46. Ready-made instances...






47. NSArray - important methods...






48. UIView - designated initializer...






49. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






50. Prefixing a character string with an @ symbol [specific - NSString class]...