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. Execution of the break statement...






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






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






4. Three ways instances are created...






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






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






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






8. A view is an...






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






10. The integer prefix is...






11. You use _ to implement the view






12. Center and frame are used to _ your view






13. UIView - designated initializer...






14. UIViewController has several methods that get called at certain times...






15. NSDate - class...






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


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






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






19. Asking a class or object to execute a method






20. Name of the method to be executed






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






22. super - is used...






23. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






24. Defining variables - three parts...






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


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






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






28. How do I implement my drawRect?






29. What does autorelease mean?






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






31. NSArray - class...






32. Whenever a UINavigationController is about to swap views - it sends out two messages






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






34. After accessors have been defined in the header file...






35. NSSet...






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






37. @property - is using methods...






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






39. Ready-made instances...






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


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






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






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






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


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






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






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






49. Reducing details to focus on the core concepts






50. A collection object - an ordered list of objects that can be accesed by an index