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 you have extra work you want to do on the view...






2. Files Owner...






3. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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


5. Class methods typically either create






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






7. Classes describe two things...






8. NSArray - class...






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






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






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






12. Three ways instances are created...






13. Ready-made instances...






14. A view is an...






15. id is a...






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






17. A pointer to the object being asked to execute a method






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






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






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






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






22. NSDictionary...






23. Delegation is an object oriented approach to






24. Asking a class or object to execute a method






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






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






27. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






28. All objects are accessed using...






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






30. Why properties?






31. Center and frame are used to _ your view






32. A view represents a _ area






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






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






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






36. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






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






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






39. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






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






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






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






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






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






46. Hold data and know nothing about the user interface






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






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






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






50. Primitives and C Structures...