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. Defining variables - three parts...






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






3. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






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






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






6. Reference Counting...






7. Primitives and C Structures...






8. Delegation is an object oriented approach to






9. What does autorelease mean?






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






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






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


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






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






15. Asking a class or object to execute a method






16. NSSet...






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






18. id is a...






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






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






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






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






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






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






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






26. You use _ to implement the view






27. @property - is using methods...






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






29. Values to be supplied as the parameters to the method






30. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






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






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






33. NSArray - class...






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






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






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






37. All objects are accessed using...






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






39. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






40. NSValue - class...






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






42. UIView - designated initializer...






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






44. Why properties?






45. Designated initializer makes sure that every...






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






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






48. NSNumber - class...






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






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






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests