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






2. A command directed to an object is called an...






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






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






5. You use _ to implement the view






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






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






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






9. Class methods typically either create






10. A view represents a _ area






11. Defining variables - three parts...






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






13. Never access a view controller's view in that...

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


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


15. NSArray - class...






16. When making a tableView always...






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


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






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






20. Classes describe two things...






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






22. NSValue - class...






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






24. Hold data and know nothing about the user interface






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






26. Reducing details to focus on the core concepts






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






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






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






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


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






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






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






34. A view is an...






35. Primitives and C Structures...






36. The integer prefix is...






37. NSArray - important methods...






38. NSNumber - class...






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






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






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






42. A responder is responsible for...






43. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






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






45. Why properties?






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






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


48. NSDictionary...






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






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