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. Primitives and C Structures...






2. To load a Xib file manually - you use _






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






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






5. Class methods typically either create






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






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






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






9. NSDictionary...






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


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






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






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






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






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






16. Classes describe two things...






17. If the view has no subviews - create it programmatically; if it has subviews






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






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






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






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






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






23. Execution of the break statement...






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






25. @property - is using methods...






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






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






28. Delegation is an object oriented approach to






29. When making a tableView always...






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






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






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






33. Property List...






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






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






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


37. A view is an...






38. Ready-made instances...






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






40. NSValue - class...






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






42. When do we need to release our outlets?

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


43. You use _ to implement the view






44. Name of the method to be executed






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






46. Files Owner...






47. What does autorelease mean?






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






49. class methods...






50. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.