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. How do I implement my drawRect?






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






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






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






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






6. Class methods typically either create






7. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






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






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






10. What does autorelease mean?






11. UITableViewController is a subclass of...






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






13. class methods...






14. When an object is added to a NSMutableArray - that object is sent the message to retain;...






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






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






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






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






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






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


21. Delegation is an object oriented approach to






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


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






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






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






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






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






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






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






30. Hold data and know nothing about the user interface






31. A view is an...






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






33. Asking a class or object to execute a method






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






35. Defining variables - three parts...






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






37. Ready-made instances...






38. NSArray - class...






39. Primitives and C Structures...






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






41. Classes describe two things...






42. Name of the method to be executed






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


44. All objects are accessed using...






45. NSDictionary...






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






47. Designated initializer makes sure that every...






48. Files Owner...






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






50. NSSet...