The statement ____ assigns the string "Paris" to the element located in the first row, second column in thestrCitiesarray.

A. strCities(1, 1) = {Paris}
B. strCities(0, 1) = "Paris"
C. strCities(0, 0) = (Paris)
D. strCities(1, 0) = "Paris"


Answer: B

Computer Science & Information Technology

You might also like to view...

MC The directive of a Python CGI script specifies______ .

a) the address of the client requesting information. b) the location of the Python interpreter on the server. c) the name of the file being executed. d) None of the above.

Computer Science & Information Technology

What will display when the following code is executed?

``` JButton button = new JButton ("It is a beautiful day."); button.setIcon(SunnyFace.gif); ``` A) A button with the text "It is a beautiful day." to the left of the SunnyFace image B) A button with the text "It is a beautiful day." to the right of the SunnyFace image C) A button with the text "It is a beautiful day." below the SunnyFace image D) A button with the text "It is a beautiful day." above the SunnyFace image

Computer Science & Information Technology

A data structure that stores different types of data under a single variable name is referred to in C++ as a structure.

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

Computer Science & Information Technology

Excel assigns a serial number to each date entered, which enables dates to be treated the same as other numbers in the worksheet

Indicate whether the statement is true or false

Computer Science & Information Technology