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. At the top of any implementation file...






2. A view is an...






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






4. Instance Variables by default are called @protected meaning...






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






6. A view represents a _ area






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






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






9. Three ways instances are created...






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






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






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. A collection object - an ordered list of objects that can be accesed by an index






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


15. @property - is using methods...






16. Hold data and know nothing about the user interface






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






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






19. Designated initializer makes sure that every...






20. A method in a _ is required unless its preceded by an @optional.






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






22. UIView - designated initializer...






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






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






25. In Cocoa Touch - the table view asks another object _ what it should display...






26. Reference Counting...






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






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






29. All objects are accessed using...






30. Files Owner...






31. UITableViewController is a subclass of...






32. Reducing details to focus on the core concepts






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






34. Each class picks one _ as it's designated initializer....






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






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






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






38. You use _ to implement the view






39. Name of the method to be executed






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






41. Classes describe two things...






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






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






44. A view is a subclass of _






45. Ready-made instances...






46. Primitives and C Structures...






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






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






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






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