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. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






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






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






4. Defining variables - three parts...






5. NSDate - class...






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






7. UIImageView is used to...






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






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






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






11. Number one use of protocols in iOS...






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






13. The only reason to temporarily own an object - is...






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






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






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






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






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






19. [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.






20. You use _ to implement the view






21. Name of the method to be executed






22. At the top of any implementation file...






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






24. The integer prefix is...






25. A view is a subclass of _






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






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






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






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






30. Delegation is an object oriented approach to






31. A responder is responsible for...






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






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






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






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






36. Reducing details to focus on the core concepts






37. Asking a class or object to execute a method






38. Class methods typically either create






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






40. Three ways instances are created...






41. In the last line of an init method...






42. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


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






44. What does autorelease mean?






45. A view represents a _ area






46. Center and frame are used to _ your view






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






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






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






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