Which of the following statements about two-dimensional arrays is false?

A. The array declaration provides the name of the array, its type, and its size.
B. The size of the first dimension is optional.
C. By convention the first dimension specifies the number of rows.
D. Accessing individual values requires two indexes.
E. Two-dimensional arrays must be unitialized or fully initialized.


Answer: E

Computer Science & Information Technology

You might also like to view...

Write statements that perform the one-dimensional-array operations:

Display the five values of integer array bestScores in column format.

Computer Science & Information Technology

To view the results of a SQL query, type the SQL statement and then click the ____ button on QUERY TOOLS DESIGN tab to view the results.

A. Result B. View C. SQL D. Execute

Computer Science & Information Technology

introduced an example of an equity trading system that handles purchases and sales of stocks and shares. Two possible cyberattacks that might affect this system are (1) an unauthorised user places malicious orders to move prices and (2) an intrusion that corrupts the database of transactions that have taken place. For each of these cyberattacks, identify resistance, recognition and recovery strategies that might be used.

What will be an ideal response?

Computer Science & Information Technology

What is the scope of variable z?

Given this code: ``` int z; int main( ) { int y = 3, x = 2; z = x + y; return 0; } ``` A. local B. static C. global D. none of the above

Computer Science & Information Technology