Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSE 100 Exam 3 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
13-06-2026
Written in
2025/2026

CSE 100 Exam 3 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Institution
CSE
Course
CSE

Content preview

CSE 100 Exam 3 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Unlike regular variables, arrays can hold multiple C
A) data types.
B) named constants.
C) values.
D) variables.
E) operators.


True/False: The amount of memory used by an array False
depends solely on the number of elements the array can
hold.


To access an array element, use the array name and the D
element's
A) name.
B) data type.
C) value.
D) subscript.
E) size declarator.




True/False: If a C++ program contains the following array False
definition
int score[10];
the following statement would store 100 in the first array
element:
score[1] = 100;


The statement E
int grades[ ] = { 100, 90, 99, 80 };
is an example of
A) default arguments.
B) an illegal array declaration.
C) an illegal array initialization.
D) data encapsulation.
E) implicit array sizing.


Which of the following statements correctly initialize the D
value variable?
A) int value = 8;
B) int value{8};
C) int value(8);
D) All of the above.
E) Both A and B, but not C.

, Which of the following statements will correctly carry out D
the operation stated in the comment to its right.
A) array 2 = array1 // Copy the elements of array 1 into
array 2.
B) cout << array2 // Output the elements stored in array 2.
C) array2 = 5; // Place a 5 in each element of array2.
D) None of the above.
E) A and B, but not C.


By using the same ________ you can build relationships C
between data stored in two or more arrays.
A) array name
B) data
C) subscript
D) arguments
E) data type


To step through a one-dimensional array, accessing the C
elements one by one, it would be most appropriate to
use _____ loop.
A) an infinite
B) a sentinel controlled loop
C) a for loop
D) a nested loop
E) no


True/False: Arrays can be passed to functions, but False
individual array elements cannot be.


When an array is passed to a function, it is actually ________ A
the array that is passed.
A) the starting memory address of
B) a copy of all the values in
C) the value stored in the first element of
D) the data type and size of
E) the data type and name of


True/False: When you pass an array as an argument to a True
function, the function can modify the contents of the
array.




A two-dimensional array can be viewed as C
A) two rows of values.
B) two columns of indexes.
C) a table with rows and columns.
D) any of the above.
E) none of the above.

Written for

Institution
CSE
Course
CSE

Document information

Uploaded on
June 13, 2026
Number of pages
12
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$16.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Briwisescore Stanford University
Follow You need to be logged in order to follow users or courses
Sold
20
Member since
2 year
Number of followers
5
Documents
9901
Last sold
3 weeks ago

1.7

3 reviews

5
0
4
0
3
1
2
0
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions