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. Center and frame are used to _ your view






2. The class is responsible for what instance variables the instance has - but not the _ of those variables.






3. Files Owner...






4. super - is used...






5. NSArray - class...






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






7. When an object is added to a NSMutableArray - that object is sent the message to retain;...






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






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






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






11. A responder is responsible for...






12. If you have extra work you want to do on the view...






13. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






14. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






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






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






17. A function in the objective c library that simply displays or logs it's argument






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


19. NSNumber - class...






20. The integer prefix is...






21. Hold data and know nothing about the user interface






22. UITableViewController is a subclass of...






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






24. initWithFrame: the designated initializer for UIView gives the view






25. Class methods do not operate on an _ or have any access to _ variables....






26. When an object is removed from an NSMutableArray - that object is sent the message release;...






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






28. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






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






30. @property - is using methods...






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






32. Use of class methods - there are three...






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






34. Designated initializer makes sure that every...






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






36. In a class method you cannot access...






37. NSString objects are usually sent _ rather than _...






38. All objects are accessed using...






39. if you implemented both the setter and getter - the @synthesize method...






40. class methods...






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






42. You use _ to implement the view






43. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






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






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






46. How do I implement my drawRect?






47. When making a tableView always...






48. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






49. Reducing details to focus on the core concepts






50. Also if you send the NSObject the _ message - you own that object.