NAME

Question types


Start with


Question limit

of 12 available terms

Print test

12 True/False questions

  1. Primitives and C structures ____ be added to an arraycollection

          

  2. You have an array called 'a'. Write a statement using message notation that stores the number of objects stored in 'a' as 'numberOfObjects'[a insertObject: [NSNull null] atIndex: 0];

          

  3. When an object is added to an array, it is actually the _____ of that object in memory that is stored in the arraycollection

          

  4. You have an array of NSStrings called 'a'. Write a command to retrieve the 3rd string, stored in an NSString called 'myString'. Assume 'a' has at least 3 elements.[a insertObject: [NSNull null] atIndex: 0];

          

  5. You have an array called 'a'. Write a command to add an empty object to the front of the array.[a insertObject:myObj atIndex:0];

          

  6. You have an array called 'a'. Write a command to add an object called 'myObj' to the front of the array.[a insertObject: [NSNull null] atIndex: 0];

          

  7. A single array ____ contain objects of different typescan

          

  8. An array is an _____ list of objects, and these objects may be accessed by an _______immutable

          

  9. An array is a _____ object.dynamically

          

  10. NSMutableArray lets you add or remove objects ______dynamically

          

  11. You have an array called 'a'. Write a command to add an object called 'myObj' to the end of the array.[a addObject: myObj];

          

  12. An NSArray is _____ which means you cannot add or remove objects after the array is instantiatedimmutable