Answer the following statements true (T) or false (F)

1. When you create a vector it is unnecessary to specify how many elements it will hold because it will expand in size as you add new values to it.
2. The range-based for loop may be used with arrays, but not with vectors.
3. If employee is an array of objects with a public member function named set Hourly Wage, the following statement correctly calls this method for
4.The amount of memory used by an array depends upon the array's data type and how many elements it can hold.
5. The size of an array is the number of elements that have data stored in them.


1. TRUE
2. FALSE
3. FALSE
4. TRUE
5. FALSE

Computer Science & Information Technology

You might also like to view...

Comments can be used to leave yourself notes for future actions

Indicate whether the statement is true or false

Computer Science & Information Technology

Which printer permission in Windows 8.1 allows users to pause, resume, restart, and cancel all documents but not assign forms to paper trays?

a. Print b. Manage printers c. Manage documents d. Special permissions

Computer Science & Information Technology

In the accompanying figure, label 3 indicates the ____.

A. note reference mark B. footnote mark C. section mark D. separator line

Computer Science & Information Technology

Prototypes and mock-ups can be used to obtain feedback throughout the design process.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology