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. Primitives and C Structures...






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






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






4. NSArray - important methods...






5. In Objective C arrays can hold only...






6. You use _ to implement the view






7. UIImageView is used to...






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






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






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


11. Three ways instances are created...






12. Reference Counting...






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






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






15. Ready-made instances...






16. A UITableViewController can fill all three roles of...






17. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.






18. A view is an...






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






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






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






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






23. Designated initializer makes sure that every...






24. If the view has no subviews - create it programmatically; if it has subviews






25. Defining variables - three parts...






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






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






28. Classes describe two things...






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






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


31. The designated initializer calls the _ designated initializer....

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


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






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






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






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






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






37. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.






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






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






40. A view represents a _ area






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






42. Property List...






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






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






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






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






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






48. What does autorelease mean?






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


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