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
E06.Q01.A08
What is a pointer?
A variable that contains the address in memory of another variable.
a pointer is a programming language data type whose value refers directly to (or “points to”) another value stored elsewhere in the computer memory using its address
5
5
5
E06.Q01.A09
What is a pointer?
A variable that contains the address in memory of another variable.
A data type whose value refers to another value stored somewhere else in the computer memory using its address.
5
5
5
E06.Q01.A10
What is a pointer?
A variable that contains the address in memory of another variable.
It is like a variable however instead of holding data, it holds a location in memory.
5
4
4.5
E06.Q01.A11
What is a pointer?
A variable that contains the address in memory of another variable.
A pointer is a reference to a location in memory
5
5
5
E06.Q01.A12
What is a pointer?
A variable that contains the address in memory of another variable.
A pointer is a reference to the memory location of an object.
5
4
4.5
E06.Q01.A13
What is a pointer?
A variable that contains the address in memory of another variable.
A pointer is a variable that contains the memory address of a variable that has a value.
5
5
5
E06.Q01.A14
What is a pointer?
A variable that contains the address in memory of another variable.
It is a variable that contains not only a *value but has a memory address associated with it, and can be moved along a string or an array by jumping up one memory address.
5
2
3.5
E06.Q01.A15
What is a pointer?
A variable that contains the address in memory of another variable.
Contains a variable's memory address as a value.
5
5
5
E06.Q01.A16
What is a pointer?
A variable that contains the address in memory of another variable.
variable that points to the memory address of another variable and it is type specific.
5
5
5
E06.Q01.A17
What is a pointer?
A variable that contains the address in memory of another variable.
An element that references a memory cell
5
5
5
E06.Q01.A18
What is a pointer?
A variable that contains the address in memory of another variable.
Is a reference call to the place in memory where the object is stored.
4
4
4
E06.Q01.A19
What is a pointer?
A variable that contains the address in memory of another variable.
a variable that contains the address of another variable
5
5
5
E06.Q01.A20
What is a pointer?
A variable that contains the address in memory of another variable.
A pointer variable contains the number of a memory address as its value, which may be null or 0, or the address of some value stored in memory.
5
5
5
E06.Q01.A21
What is a pointer?
A variable that contains the address in memory of another variable.
A pointer is a variable that contains a memory address of anther variable
5
5
5
E06.Q01.A22
What is a pointer?
A variable that contains the address in memory of another variable.
A variable that contains the memory address of another variable that contains a specific value.
5
5
5
E06.Q01.A23
What is a pointer?
A variable that contains the address in memory of another variable.
a variable with a memory address as the value
4
5
4.5
E06.Q01.A24
What is a pointer?
A variable that contains the address in memory of another variable.
it is a type that points to something else. It is the memory address of something else
4
5
4.5
E06.Q01.A25
What is a pointer?
A variable that contains the address in memory of another variable.
A pointer is a way to get at another object. Essentially it is a way to grab an instance of an object and then either pass that instance a message or retreive some data from that object. A pointer is actually just an address of where an instance is held in memory.
5
4
4.5
E06.Q02.A00
What does the address (&) operator return?
The memory address of its operand.
This operator returns the memory address of its operand.
5
5
5
E06.Q02.A01
What does the address (&) operator return?
The memory address of its operand.
The address operator returns the memory address of its operand.
5
5
5
E06.Q02.A02
What does the address (&) operator return?
The memory address of its operand.
Returns memory address of its operand.
5
5
5
E06.Q02.A03
What does the address (&) operator return?
The memory address of its operand.
The address (&) operator returns the memory address of its operand.
5
5
5
E06.Q02.A04
What does the address (&) operator return?
The memory address of its operand.
Returns the memory address of its operand.
5
5
5
E06.Q02.A05
What does the address (&) operator return?
The memory address of its operand.
returns the place in memory of that element
3
5
4
E06.Q02.A06
What does the address (&) operator return?
The memory address of its operand.
The address of the where the data is stored:<br>&b will return the address of b.
5
4
4.5
E06.Q02.A07
What does the address (&) operator return?
The memory address of its operand.
The & operator returns the address of a variable
5
5
5
E06.Q02.A08
What does the address (&) operator return?
The memory address of its operand.
the ampersand (&) means "pass by reference". When the function is called, a pointer to the variable, instead of the variable itself, will be passed into the function.
3
3
3
E06.Q02.A09
What does the address (&) operator return?
The memory address of its operand.
& returns the memory address of its operand.
5
5
5
E06.Q02.A10
What does the address (&) operator return?
The memory address of its operand.
the address of the variable in memory
5
5
5
E06.Q02.A11
What does the address (&) operator return?
The memory address of its operand.
Returns the address location in memory of the item.
4
5
4.5
E06.Q02.A12
What does the address (&) operator return?
The memory address of its operand.
The address operator returns the memory address of its operand.
5
5
5
E06.Q02.A13
What does the address (&) operator return?
The memory address of its operand.
The & operator returns the memory address of the variable it precedes.
5
5
5
E06.Q02.A14
What does the address (&) operator return?
The memory address of its operand.
The memory address of operand, 0x000000 or something along those lines.
5
4
4.5
E06.Q02.A15
What does the address (&) operator return?
The memory address of its operand.
The object's memory address.
5
4
4.5
E06.Q02.A16
What does the address (&) operator return?
The memory address of its operand.
the reference to a variable
4
5
4.5
E06.Q02.A17
What does the address (&) operator return?
The memory address of its operand.
returns the memory address of its operand
5
5
5
E06.Q02.A18
What does the address (&) operator return?
The memory address of its operand.
memory address of its operand
5
5
5
E06.Q02.A19
What does the address (&) operator return?
The memory address of its operand.
returns the address number of the specified variable
4
5
4.5
E06.Q02.A20
What does the address (&) operator return?
The memory address of its operand.
It returns the memory address of it's operand. That is, if applied to a normal variable, it gives the variable's memory address, just as a pointer variable might.
5
4
4.5
E06.Q02.A21
What does the address (&) operator return?
The memory address of its operand.
The & is a unary operator that returns the memory address of its operand
5
5
5
E06.Q02.A22
What does the address (&) operator return?
The memory address of its operand.
the address of the variable it is attached to
3
5
4
E06.Q02.A23
What does the address (&) operator return?
The memory address of its operand.
the memory address of its operand
5
5
5
E06.Q02.A24
What does the address (&) operator return?
The memory address of its operand.
returns the address of what it is put in front of
4
5
4.5
E06.Q02.A25
What does the address (&) operator return?
The memory address of its operand.
returns a pointer
3
4
3.5
E06.Q03.A00
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
returns a synonym for the object to which its pointer operand points.
5
5
5
E06.Q03.A01
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
The star operator returns a synonym for the object to which its pointer operand points.
5
5
5
E06.Q03.A02
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
Returns synonym for the object its operand points to.
5
5
5
E06.Q03.A03
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
It returns a synonym, alias or nickname of the name of the object that its operand points to in memory (dereferencing the pointer).
5
5
5
E06.Q03.A04
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
Returns an alias/nickname for the object to which the pointer operand points.
5
5
5
E06.Q03.A05
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
the * operator returns the value in the memory address the element points to.
4
4
4
E06.Q03.A06
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
The * returns the value
4
4
4
E06.Q03.A07
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
The * operator returns the dereferenced pointer variable (ie: it returns the value of whatever variable the pointer is pointing to)
5
5
5
E06.Q03.A08
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
The dereferencing operator returns the dereferenced object.
5
4
4.5
E06.Q03.A09
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
* returns the synonym for the object its operand points to.
5
5
5
E06.Q03.A10
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
it returns the information in the address the pointer points to.
4
4
4
E06.Q03.A11
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
the star operator returns the value at the memory address the pointer is pointing at.
4
5
4.5
E06.Q03.A12
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
The star operator returns the object at that memory location.
4
4
4
E06.Q03.A13
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
The * operator returns the value of the object's memory address it precedes.
3
4
3.5
E06.Q03.A14
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
The value of the object that the operand points to
5
4
4.5
E06.Q03.A15
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
The value stored in the object being pointed to.
4
4
4
E06.Q03.A16
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
the value of the variable the pointer points to.
4
4
4
E06.Q03.A17
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
returns synonym for the object its operand points to
5
5
5
E06.Q03.A18
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
synonym for the object its operand points to
5
5
5
E06.Q03.A19
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
Returns synonym for the object its operand points to
5
5
5
E06.Q03.A20
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
It dereferences a pointer, meaning it returns the value stored in the memory address a pointer refers to.
5
4
4.5
E06.Q03.A21
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
It is unary operator that returns the value of the variable located at the address
4
4
4
E06.Q03.A22
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
a reference to a = variable
3
1
2
E06.Q03.A23
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
a synonym for the object to which its pointer operand points
5
5
5
E06.Q03.A24
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
it returns the actual data at the address pointed to
3
4
3.5
E06.Q03.A25
What does the star (*) operator return?
An alias (synonym) for the name of the object that its operand points to in memory. It is the dereferencing operator.
will return zero or many characters placed before the operator
3
1
2
E06.Q04.A00
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
The array itself can be signed to a pointer or each element of the array can be assigned to a pointer.
4
2
3
E06.Q04.A01
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
An array can be addressed in pointer/offset notation by setting a pointer variable equal to the variable name of the array. Elements of the array can then be accessed by adding an offset value to the pointer variable.
4
5
4.5
E06.Q04.A02
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
Element b[ n ] can be accessed by *( bPtr + n ).
3
5
4
E06.Q04.A03
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
Using either the name of the array as a pointer or using a separate pointer that points to the array.
3
3
3
E06.Q04.A04
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
An element b[3] can be referenced by using *( bPtr + 3) instead.
3
5
4
E06.Q04.A05
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
you get the memory location of the first element and the you add an offset to it to get other elements.
5
5
5
E06.Q04.A06
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
yes *(array +offset)
3
5
4
E06.Q04.A07
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
The name of an array is considered to be a pointer in C++, and can be passed as such in functions parameters. Declaring int a[10]; creates a pointer "a" which stores the address of a[0].
4
3
3.5
E06.Q04.A08
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
Element b[ n ] can be accessed by *( bPtr + n ) is an example of how an array can be addressed as pointer/offset notation.<br>
4
5
4.5
E06.Q04.A09
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
*(array + element)
3
5
4
E06.Q04.A10
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
*f[3]
3
2
2.5
E06.Q04.A11
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
you can have a pointer to the front of the array and add to the memory location (or offset from the initial value).
5
5
5
E06.Q04.A12
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
The pointer to the array will initially point to the first element of that array. When the pointer is incremented, it will point to the next element, and so on.
5
2
3.5
E06.Q04.A13
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
With<br>int x[10];<br>int *xPtr;<br>xPtr = x;<br>Address &x[1] is the same as xPtr + 1.
3
5
4
E06.Q04.A14
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
Takes the number of array elements and points to each at a time
3
1
2
E06.Q04.A15
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
The array can act as a pointer or be referenced by a pointer.<br><br>*(arrayPtr + 3) or *(array + 3)
3
5
4
E06.Q04.A16
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
by using the *(pointer + element-index)
3
5
4
E06.Q04.A17
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
using the star operator. <br><br>array: b[n] can be accessed by *(bpointer +n)
4
5
4.5
E06.Q04.A18
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
Element A[n] can be accessed by *(APtr + n)
3
5
4
E06.Q04.A19
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
by referencing a pointer and referring to other pointers relative to the first pointer(pointer+1, pointer +2, etc)
4
2
3
E06.Q04.A20
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
First, some pointer variable must reference the first entity in the array. Any variable in the array can then be accessed by referring to that first entity's address plus some offset. i.e.<br>ptrToArray = array; nthEntity = *(ptrToArray + n);
5
5
5
E06.Q04.A21
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
&[b3] is as bptr + 3.<br>Array can be treated as pointer
3
4
3.5
E06.Q04.A22
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
a[i] = *(a+i)
3
5
4
E06.Q04.A23
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
&b[3]<br><br>bPtr + 3
3
5
4
E06.Q04.A24
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
*(arrayName + index)
3
5
4
E06.Q04.A25
How can an array be addressed in pointer/offset notation?
By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.
multi-dimensional array
2
0
1
E06.Q05.A00
What does the sizeof operator return?
The size in bytes of its operand.
the number of bytes of an array during program compilation.
5
4
4.5
E06.Q05.A01
What does the sizeof operator return?
The size in bytes of its operand.
The sizeof operator returns the size of the operand.
3
5
4
E06.Q05.A02
What does the sizeof operator return?
The size in bytes of its operand.
Returns size of operand in bytes.
5
5
5
E06.Q05.A03
What does the sizeof operator return?
The size in bytes of its operand.
It returns the size of an array in bytes.
5
4
4.5