Tests on C++ data structure concepts such as arrays and vectors
Complete CH 7 theory.
PASS >= 70
62 questions
No time limit
Rate this question:
True
False
Rate this question:
Int n[ 10 ];
Int *n;
Int &n = 10;
Int n[10] = { 1, 2, 3, 4, 5 };
Rate this question:
True
False
Rate this question:
Int
Int1
Int2
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
11
12
9
10
None of the above
Rate this question:
True
False
Rate this question:
Non consecutive group of memory locations that share the same type
Consecutive group of memory locations that share the same type
Non consecutive group of memory locations that have different types
Simple data structure containing identical types
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
55
22
63
78
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
IF
WHILE
IF ELSE
FOR
None of the above
Rate this question:
True
False
Rate this question:
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Rate this question:
True
False
Rate this question:
Rate this question:
True
False
Rate this question:
Rate this question:
Will allow you to modify it during program execution
Will take on a random value when called
Will cause a compilation error
Does not matter because it will allow for modification later
Rate this question:
True
False
Rate this question:
Rate this question:
Rate this question:
Type
Name
Array Size
Element Initializer List
All of the above
Rate this question:
True
False
Rate this question:
12
10
11
9
Rate this question:
1 2 4
1 2 0 4 0 0
1 2 0 0 4 0
1 2 0 4 0
Rate this question:
Run time
Program termination
The middle point of execution
Compilation
Rate this question:
True
False
Rate this question:
Rate this question:
Size does not need to be declared
Size should be declared as type double
Size should be declared as a constant
Nothing
Rate this question:
True
False
Rate this question:
Rate this question:
Vector< type > size (name);
Vector< type > name (size);
Vector< name > type (size);
Type < vector > name (size);
Rate this question:
Yes
No
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Quiz Review Timeline (Updated): Feb 20, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.