id
stringlengths
11
11
question
stringclasses
79 values
instructor_answer
stringclasses
80 values
student_answer
stringlengths
1
959
score_grader_1
float32
0
10
score_grader_2
float32
0
10
score_avg
float32
0
5
E01.Q04.A13
Where do C++ programs begin to execute?
At the main function.
In the main() function.
5
5
5
E01.Q04.A14
Where do C++ programs begin to execute?
At the main function.
C++ programs begin execution at main.
5
5
5
E01.Q04.A15
Where do C++ programs begin to execute?
At the main function.
In the Main function..?
5
5
5
E01.Q04.A16
Where do C++ programs begin to execute?
At the main function.
At the "main()" function
5
5
5
E01.Q04.A17
Where do C++ programs begin to execute?
At the main function.
The main function.
5
5
5
E01.Q04.A18
Where do C++ programs begin to execute?
At the main function.
The function main
5
5
5
E01.Q04.A19
Where do C++ programs begin to execute?
At the main function.
After loading the required include statements and libraries, the main method begins the execution.
5
5
5
E01.Q04.A20
Where do C++ programs begin to execute?
At the main function.
main function
5
5
5
E01.Q04.A21
Where do C++ programs begin to execute?
At the main function.
main
5
5
5
E01.Q04.A22
Where do C++ programs begin to execute?
At the main function.
C++ programs begin execution at the main function.
5
5
5
E01.Q04.A23
Where do C++ programs begin to execute?
At the main function.
At main
5
5
5
E01.Q04.A24
Where do C++ programs begin to execute?
At the main function.
they beging to excute at main
5
5
5
E01.Q04.A25
Where do C++ programs begin to execute?
At the main function.
at the main function<br><br>int main() {}
5
5
5
E01.Q04.A26
Where do C++ programs begin to execute?
At the main function.
C++ programs begin execution at the main function.
5
5
5
E01.Q04.A27
Where do C++ programs begin to execute?
At the main function.
in the "main" function
5
5
5
E01.Q04.A28
Where do C++ programs begin to execute?
At the main function.
Within the main function
5
5
5
E01.Q05.A00
What is a variable?
A location in memory that can store a value.
Variable can be a integer or a string in a program.
3
1
2
E01.Q05.A01
What is a variable?
A location in memory that can store a value.
In programming, a structure that holds data and is uniquely named by the programmer. It holds the data assigned to it until a new value is assigned or the program is finished.<br>
5
4
4.5
E01.Q05.A02
What is a variable?
A location in memory that can store a value.
A variable is a location in memory where a value can be stored.
5
5
5
E01.Q05.A03
What is a variable?
A location in memory that can store a value.
Variable is a location in the computer's memory, in which a value can be stored and later can retrieve that value.
5
5
5
E01.Q05.A04
What is a variable?
A location in memory that can store a value.
A variable is a location in the computer's memory where a value can be stored for use by a program. Each variable has a name, a value, a type and a size.
5
5
5
E01.Q05.A05
What is a variable?
A location in memory that can store a value.
A named object that can hold a numerical or letter value
5
2
3.5
E01.Q05.A06
What is a variable?
A location in memory that can store a value.
It's a sybol or name for a value/number. Example: 'a_used_number' can stand for any given number, and the programmer can refer to that number by using the variable name.
5
3
4
E01.Q05.A07
What is a variable?
A location in memory that can store a value.
A variable is a location in the computers memory where a value can be stored for use by a program
5
5
5
E01.Q05.A08
What is a variable?
A location in memory that can store a value.
-An identifier that holds a location in memory.
5
3
4
E01.Q05.A09
What is a variable?
A location in memory that can store a value.
a block of memory that holds a specific type of data
5
5
5
E01.Q05.A10
What is a variable?
A location in memory that can store a value.
It is a location in the computer's memory where it can be stored for use by a program.
5
5
5
E01.Q05.A11
What is a variable?
A location in memory that can store a value.
A location in memory where value can be stored.
5
5
5
E01.Q05.A12
What is a variable?
A location in memory that can store a value.
a value/word that can assume any of a set of values
3
3
3
E01.Q05.A13
What is a variable?
A location in memory that can store a value.
A pointer to a location in memory.
5
3
4
E01.Q05.A14
What is a variable?
A location in memory that can store a value.
A variable is the memory address for a specific type of stored data, or from a mathematical perspective, a symbol representing a fixed definition with changing values.
5
5
5
E01.Q05.A15
What is a variable?
A location in memory that can store a value.
A variable is a value that is subject to change in a computer's memory that can be used by programs. Programs can change the value of the variable and recall it later or act on it directly.
5
5
5
E01.Q05.A16
What is a variable?
A location in memory that can store a value.
a symbol that stands in for a value that may or may not change depending on the program.
5
3
4
E01.Q05.A17
What is a variable?
A location in memory that can store a value.
a placeholder to hold information used in the program...<br>for example:<br>int can hold: 1, 2, 3, 4, 68, 72, 256, etc.<br>float can hold: 1.54, 55.55, 1.24, 5.657, 8.8123, et.<br>char can hold: A, B, C, D, E, F, !, 4, 5, 6, P, etc.<br>
5
4
4.5
E01.Q05.A18
What is a variable?
A location in memory that can store a value.
a stored value used by the program
5
4
4.5
E01.Q05.A19
What is a variable?
A location in memory that can store a value.
A way to store different values into the program, such as numbers, words, letters, etc.
5
4
4.5
E01.Q05.A20
What is a variable?
A location in memory that can store a value.
An object with a location in memory where value can be stored<br>
5
2
3.5
E01.Q05.A21
What is a variable?
A location in memory that can store a value.
location in memory where a value can be stored
5
5
5
E01.Q05.A22
What is a variable?
A location in memory that can store a value.
a variable is an object where data is stored.
5
2
3.5
E01.Q05.A23
What is a variable?
A location in memory that can store a value.
Location in memory where a value can be stored.
5
5
5
E01.Q05.A24
What is a variable?
A location in memory that can store a value.
it is a location in memory where value can be stored<br>
5
5
5
E01.Q05.A25
What is a variable?
A location in memory that can store a value.
A variable is the location in a computer's memory where a value can be stored for use by a program.
5
5
5
E01.Q05.A26
What is a variable?
A location in memory that can store a value.
A variable is a location in a computers memory where a value can be stored <br><br>for use by a program.
5
5
5
E01.Q05.A27
What is a variable?
A location in memory that can store a value.
a location in memory where data can be stored and retrieved
5
5
5
E01.Q05.A28
What is a variable?
A location in memory that can store a value.
Is a method or identifier I would say, we use to bind a data object to memory location; which is then stored in a location that can be accessed when and manipulated later when the variable name is called.
5
5
5
E01.Q06.A00
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
They can be declared right before they are used, but it is a good practice to declare them at the beginning of the program and label what they are food.
3
1
2
E01.Q06.A01
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
In the Function main() before using the variable.
5
1
3
E01.Q06.A02
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Local variables are declared inside the method or function they will be used in at the beginning of the method. Global variables are declared outside of any function or method, generally before functions are defined.
5
5
5
E01.Q06.A03
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Variables are declared where ever it is defined either inside a block locally or outside a block globally.
5
4
4.5
E01.Q06.A04
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Variables are declared before they are actually used. They can be declared before main() to use globally
5
3
4
E01.Q06.A05
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
For good programing practice they should be declared before main(), but should at least be declared before they are used.
3
2
2.5
E01.Q06.A06
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
They can be declared globally just before the main method (but also outside of it)... or variables can be subject to only the method they're scoped within, but would still be declared at the beginning of that method (but inside of it).
5
5
5
E01.Q06.A07
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
local variables are declared inside the method while global variables are declared in the body.
5
5
5
E01.Q06.A08
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
-Any where in the main function.
3
1
2
E01.Q06.A09
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Globally for an entire program, and locally for individual functions (including FOR statements)
5
4
4.5
E01.Q06.A10
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
They are usually declared at the beginning before they can be used in the program. They always contain a name and a data type.<br>
4
2
3
E01.Q06.A11
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Inside the method.
3
2
2.5
E01.Q06.A12
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
at the top
2
1
1.5
E01.Q06.A13
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Global variables are declared in the body of the code. Local variables are declared in the function they are to be used (unless the function is being passed a variable). Variables should always be declared before use.
5
5
5
E01.Q06.A14
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Variables are usually declared at the beginning of a module of C++ code.
3
2
2.5
E01.Q06.A15
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
In the main function, usually at the top of code.<br><br>They can be declared almost anywhere, but must be declared before the code can use or act upon them.
4
3
3.5
E01.Q06.A16
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
in the very beginning of the program. Before the main() starts.
3
1
2
E01.Q06.A17
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
In the declaration of Functions, for statements, and while statements.<br>in the body of If, For, while, do while, statements, in namespaces, headers, etc ( almost anywhere. )<br>anywhere in the program, as long as it is on it's own line.
3
2
2.5
E01.Q06.A18
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
After declaration of the variable's data type.
1
1
1
E01.Q06.A19
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
anywhere in the code, can be at the top, or in the middle of the code, or anywhere.
3
3
3
E01.Q06.A20
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Before they are used.
2
2
2
E01.Q06.A21
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Anywhere in the same scope before they are used
4
3
3.5
E01.Q06.A22
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
variables can be declared in classes and methods.
4
1
2.5
E01.Q06.A23
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
inside the function scope and outside of the function scope in case of global variables
5
5
5
E01.Q06.A24
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
global variables are declared in the main function<br>local variables are declared in any other function
5
3
4
E01.Q06.A25
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Variables are usually declared at the very beginning of a C++ program, but can be declared any in the program as long as they appear before they are called upon.
4
4
4
E01.Q06.A26
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
Variables are declared in the main function, before any operation is <br><br>attempted with the variables.
3
1
2
E01.Q06.A27
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
anywhere, but where you declare them depends on where you want them to be accessible (their scope)
5
4
4.5
E01.Q06.A28
Where are variables declared in a C++ program?
Variables can be declared anywhere in a program. They can be declared inside a function (local variables) or outside the functions (global variables)
It depends if it’s a global then they have to be declared out side the source code to be used in every scope however a local variable is one declared in a local function etc. which obviously doesn’t need to be declared outside the variable seeing how it is used for the function or block its being called for.
5
4
4.5
E01.Q07.A00
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
"The “do” statement first evaluates the condition and then executes the lines of code in the statement 0 or more times.<br> The “do while” statement executes the lines of code and then it evaluates the condition.<br>"
5
4
4.5
E01.Q07.A01
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
do...while statements evaluate whether or not to loop after running the block contained within it at least once. So the main differance is that while statements have a possibility of never being used. Do ... while statements on the other hand are always run at least once before evaluating whether to run again.
5
5
5
E01.Q07.A02
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
The main difference between a while and a do...while loop is that the do...while loop always cycles through the loop at least once, but the while loop does not always do so.
5
5
5
E01.Q07.A03
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
While loop used to execute a block of code as long as some condition is true. A do...while loop used to execute a block of code as long as some condition is satisfied. The difference between while and do...while is while loop tests its condition before the execution of its contents and the do...while loop tests its condition after the execution of its contents at least once.
5
5
5
E01.Q07.A04
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
The termination condition of a do...while statement is usually at the end of the loop so it will run at least once. As for the while statement, if the condition is false to begin with, then the loop will never run.
5
5
5
E01.Q07.A05
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
A while loop will check the statement to make sure it is true before executing. A do while loop will execute before checking the statement to see if it should run again.
5
5
5
E01.Q07.A06
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
A while statement will test the condition of the while loop FIRST - there is a chance the loop will never run. A do...while loop will ALWAYS run once, and then the while test will determine if it will run again.
5
5
5
E01.Q07.A07
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
a do while loop always executes once. A while loop's conditional statement has to be true for it to run.
5
5
5
E01.Q07.A08
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
-WHILE statement --The condition is checked for validity, then is repeated until the conditon is false.<br><br> -Do...WHILE statement--The code is performed at least once then checked for valid condition. Will continue to <br>
5
5
5
E01.Q07.A09
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
while statements will evaluate the statement BEFORE executing a cycle of the loop, including the first cycle, meaning that a while loop will not always execute. A do...while will run evaluate the statement AFTER running through a cycle of the loop, ensuring that the loop always executes at least one time.
5
5
5
E01.Q07.A10
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
The main difference between a do and a do...while statement is in a do...while statement is the statements in a do block are always executed atleast once.<br> The while statement will only execute if its condition is true.
5
5
5
E01.Q07.A11
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
The loop of a do...while statement always executes once.
5
4
4.5
E01.Q07.A12
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
a while statement will only process if the statement is met, while a do...while will always process once, then only continue if the statement is met.
5
5
5
E01.Q07.A13
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
Do ...while runs the embedded code at least once, the do command does not necessarily
4
4
4
E01.Q07.A14
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
While tests for true first before running, do...while runs once first before checking.
5
5
5
E01.Q07.A15
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
A do...while statement's body always executes at least once. Where as a while statement will not execute at all unless the condition for the while is true.
5
5
5
E01.Q07.A16
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
The statements within the block of the do while loop will always be executed at least once regardless of the conditions. Whereas the while loops may never be executed if the conditions are not met.
5
5
5
E01.Q07.A17
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
a do... while loop will always run through once, while an while loop<br>performs a test before running through the loop.
5
5
5
E01.Q07.A18
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
A while statement tests the condition before it can start.<br>A do...while statement loops through once before the condition is tested.
5
5
5
E01.Q07.A19
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
A while loop terminates at the beginning of the loop, a do/while terminates at the end of the loop.
4
3
3.5
E01.Q07.A20
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
the loop body always executes at least once<br>
4
3
3.5
E01.Q07.A21
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
While loop evaluates its expression at the top of its loop and decides if it needs to execute, and the do-while always executes at least once and then evaluates its expression at the bottom of its loop.
5
5
5
E01.Q07.A22
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
A do...while statement will always execute the "do" piece of code at least once before checking the condition. A while statement will always check the condition first.
5
5
5
E01.Q07.A23
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
A do-while passes atleast 1 time before checking the condition, however, a while would fail to enter the loop if the condition fails in its first place.
5
5
5
E01.Q07.A24
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
a while loop checks if the condition is true or not first, if it was true, it excutes the statement.<br>a do.. while loop executes the statement before it checks the condition. if the condition was true it would excute the statement again. so a do...while loop would excute the statement atleast once.
5
5
5
E01.Q07.A25
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
NO ANSWER
0
0
0