Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

PS: PLEASE IF YOU DON\'T KNOW DON\'T ANSWER , LEAVE IT BLANK 1. A(n) ____, is us

ID: 3650974 • Letter: P

Question

PS: PLEASE IF YOU DON'T KNOW DON'T ANSWER , LEAVE IT BLANK

1.
A(n) ____, is used to store and process a set of values, all of the same data type, that forms a logical group.
A) data structure
B) scalar variable
C) array
D) atomic variable
2.
Each item in an array is called a(n) ____ of the array.
A) subscript
B) variable
C) index
D) element
3.
In a one-dimensional array in C, the first element has an index of ____.
A) NULL
B) -1
C) 0
D) 1
4.
Any expression that evaluates a(n) ____ may be used as a subscript.
A) character
B) double
C) boolean
D) integer
5.
____ is a correct statement.
A) int grades[5] = {98, 87, 92, 79, 85};
B) int grades[5] = 98, 87, 92, 79, 85;
C) int grades[5] = (98, 87, 92, 79, 85);
D) int grades[5] = [98, 87, 92, 79, 85];
6.
____ declares an array of three rows and four columns.
A) int val[3,4];
B) int val[4,3];
C) int val[3][4];
D) int val[4][3];
7.
____ files store each individual character, such as a letter, digit, dollar sign, decimal point, and so on, using an individual character code.
A) Data
B) Text
C) Binary
D) ASCII
8.
The standard input stream is named ____.
A) stdin
B) stdout
C) instream
D) ostream
9.
Naming a file stream is accomplished by declaring a variable name to be of type ____.
A) FSTREAM
B) fstream
C) FILE
D) file
10.
When an array is created, the compiler automatically creates an internal ____ for it and stores the base address of the array in it.
A) pointer constant
B) address
C) symbolic constant
D) location

Explanation / Answer

1. C 2. D 3. C 4.__ 5. A 6. C 7. D 8.C 9. C 10. __