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
|
|---|---|---|---|---|---|---|
E04.Q03.A10
|
How are arrays passed to functions?
|
by reference.
|
Specify array name without brackets. Array size is normally passed as another argument so the function can process the specific number of elements in the array. Arrays are passed by reference. Individual array elements passed by value. Functions that take arrays as arguments.<br><br><br>
| 5
| 5
| 5
|
E04.Q03.A11
|
How are arrays passed to functions?
|
by reference.
|
Arrays are passed by reference.
| 5
| 5
| 5
|
E04.Q03.A12
|
How are arrays passed to functions?
|
by reference.
|
the same way but with [] at the declaration and the actual function.
| 3
| 3
| 3
|
E04.Q03.A13
|
How are arrays passed to functions?
|
by reference.
|
specify the array name without brackets.
| 3
| 3
| 3
|
E04.Q03.A14
|
How are arrays passed to functions?
|
by reference.
|
by reference
| 5
| 5
| 5
|
E04.Q03.A15
|
How are arrays passed to functions?
|
by reference.
|
You pass the name of the array to the function.<br>So for:<br>int bin [10];<br>you pass it to an array like so:<br>jingle(bin);<br>but jingle must be declared correctly in order to receive an array, either with prototype<br>void jingle (int []);<br>or with the definition in its initialization:<br>void jingle (int array[]);<br><br>It's also worth noting that arrays are passed to function by reference, so as to not copy large arrays over and over and burn memory. This gives the function complete control over the array however.
| 5
| 5
| 5
|
E04.Q03.A16
|
How are arrays passed to functions?
|
by reference.
|
They are called by the function then the function must loop through the array to get the set of characters.
| 3
| 1
| 2
|
E04.Q03.A17
|
How are arrays passed to functions?
|
by reference.
|
by reference by default, unless you specify const, at which the later will make the array unmodifiable.
| 5
| 5
| 5
|
E04.Q03.A18
|
How are arrays passed to functions?
|
by reference.
|
The function recieves both the array and the array size as parameters.<br>function(arrayName, arraySize)
| 4
| 4
| 4
|
E04.Q03.A19
|
How are arrays passed to functions?
|
by reference.
|
specifying array name and passing as reference in an argument into the function
| 5
| 5
| 5
|
E04.Q03.A20
|
How are arrays passed to functions?
|
by reference.
|
1st you must specify the array name without brackets and then the array name and size are passed as two arguments in the function call.
| 4
| 4
| 4
|
E04.Q03.A21
|
How are arrays passed to functions?
|
by reference.
|
arrays are passed by reference, passing the starting address of array. programmer specifies the array name without brackets and passes the array size as another argument so the function can process the specific number of elements in the array
| 5
| 5
| 5
|
E04.Q03.A22
|
How are arrays passed to functions?
|
by reference.
|
by reference only
| 5
| 5
| 5
|
E04.Q03.A23
|
How are arrays passed to functions?
|
by reference.
|
by reference
| 5
| 5
| 5
|
E04.Q03.A24
|
How are arrays passed to functions?
|
by reference.
|
by reference
| 5
| 5
| 5
|
E04.Q03.A25
|
How are arrays passed to functions?
|
by reference.
|
by refrence
| 5
| 5
| 5
|
E04.Q03.A26
|
How are arrays passed to functions?
|
by reference.
|
function( int [], int length)
| 4
| 4
| 4
|
E04.Q03.A27
|
How are arrays passed to functions?
|
by reference.
|
by reference
| 5
| 5
| 5
|
E04.Q03.A28
|
How are arrays passed to functions?
|
by reference.
|
by reference
| 5
| 5
| 5
|
E04.Q03.A29
|
How are arrays passed to functions?
|
by reference.
|
The function reads the variables, stores them. then returns the what ever the variable reads. The function then prints the content of the array.
| 4
| 1
| 2.5
|
E04.Q04.A00
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
a static array will store the new values that were assigned to each of its elements. meaning if you call a function twice it will use the last values that were returned the first time. if you don't declare it static then the new values will not be stored and will be reset to their original value
| 5
| 5
| 5
|
E04.Q04.A01
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
a static array can only be referenced not accessed. Also static arrays can be used without creating an object.
| 5
| 3
| 4
|
E04.Q04.A02
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
An array declared as static is not created and and initialized each time the function and it is also not destroyed when the function terminates.
| 5
| 5
| 5
|
E04.Q04.A03
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
A program intializes static local arrays when their declarations are first encountered. If a static array is not initialized explicityly by the programmer, earch element of that array is intialized to zero by the compiler when the array is created. Non-static array members cannot be initialized at all in C++.
| 5
| 3
| 4
|
E04.Q04.A04
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
Arrays that are static remain the same size throughout the program execution.
| 5
| 3
| 4
|
E04.Q04.A05
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
a static array will only be initilized once, a non static array will be re-initilized once the program reaches the initilization line again.
| 5
| 5
| 5
|
E04.Q04.A06
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
An array declared as static is available from beginning of program to end. One w/o static declaration disappears if it is not accessed within the right scope.
| 5
| 4
| 4.5
|
E04.Q04.A07
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
a static array has pre-runtime size and that size cannot be changed. A dynamic array gets its size at runtime.
| 5
| 1
| 3
|
E04.Q04.A08
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
If an array is declared as static, it is not created each time the array is called.
| 5
| 5
| 5
|
E04.Q04.A09
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
An array that is not declared as static will re-initialize every time the function declaring it is called. A static array will initialize only once, at the declaration, and will store the values in it's elements throughout the duration of the program, even if the same function is called multiple times, a static array will only initialize once.
| 5
| 5
| 5
|
E04.Q04.A10
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
All elements are initialized to zero if not explicitly initialized, this does not happen for automatic local arrays<br><br>
| 5
| 4
| 4.5
|
E04.Q04.A11
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
All elements are initialized to zero if not explicitly initialized for a static array, while a non-static array is not initialized to zero.
| 5
| 4
| 4.5
|
E04.Q04.A12
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
static cannot be changed
| 5
| 1
| 3
|
E04.Q04.A13
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
A static array has a set size that cannot change. The data may not need all of the space assigned, or could go beyond the size.
| 5
| 3
| 4
|
E04.Q04.A14
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
A static member prevents naming conflicts (not put into global namespace) while allowing for information hiding (private, public).
| 5
| 1
| 3
|
E04.Q04.A15
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
A static local array exists for the duration of the program and its elements are initialized to 0 if not explicitly initialized. So a static local array's elements will still be the same when called later unless specifically initialized to something else. This doesn't happen for automatic arrays.
| 5
| 5
| 5
|
E04.Q04.A16
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
Static arrays are those with a declared size, that is known to the program, whereas non-static arrays leave the size undeclared and open so it can be assigned later. Usually used for input purposes.
| 5
| 1
| 3
|
E04.Q04.A17
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
static arrays keep the values after the end of a function, while non static reinitialize every time.
| 5
| 5
| 5
|
E04.Q04.A18
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
Static arrays are created and initialized only once, and the values aren't destroyed <br>when the function terminates in the program.<br>Automatic arrays reset everytime the function is called.
| 5
| 5
| 5
|
E04.Q04.A19
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
its not created and initialized each time program calls the function, and is not destroyed every time the function ends in the program.
| 5
| 5
| 5
|
E04.Q04.A20
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
When we declare it static the array is not destroyed after the function is over. When an array is not declared as static, the array is created and initialized every time a function calls it.
| 5
| 5
| 5
|
E04.Q04.A21
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
the static array exists for the duration of the program<br>
| 5
| 4
| 4.5
|
E04.Q04.A22
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
an array declared as static can only be declared once
| 5
| 2
| 3.5
|
E04.Q04.A23
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
A static array exists in memory until the program terminates, whereas an automatic (or normal) array is removed when the function that created it terminates
| 5
| 5
| 5
|
E04.Q04.A24
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
not answered
| 0
| 0
| 0
|
E04.Q04.A25
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
Only constants can be used to declare the size of automatic and static arrays<br>Exists for the duration of the program<br>Is initialized when its declaration is first encountered<br>All elements are initialized to zero if not explicitly initialized<br>
| 5
| 5
| 5
|
E04.Q04.A26
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
A static array cannot be changed in the program.
| 5
| 1
| 3
|
E04.Q04.A27
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
static arrays are available throughout the program
| 5
| 5
| 5
|
E04.Q04.A28
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
a static array is allocated when the program starts and is freed when the program exits but has limited scope, while an array that is not declared static is allocated and freed when it comes into and out of scope.
| 5
| 5
| 5
|
E04.Q04.A29
|
What is the difference between an array declared as static, and one that is not?
|
The arrays declared as static live throughout the life of the program; that is, they are initialized only once, when the function that declares the array it is first called.
|
if they are declared fixed or static that means they can't change size once their storage has been allocated, however one that is not or dynamic arrarys can be resized.
| 5
| 1
| 3
|
E04.Q05.A00
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
at least 2, depending on how many arrays are being used.
| 4
| 1
| 2.5
|
E04.Q05.A01
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
all of them.
| 5
| 2
| 3.5
|
E04.Q05.A02
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
When passing a multi-dimensional array, all dimensions must be specified except for the first dimension.
| 5
| 5
| 5
|
E04.Q05.A03
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
It depends what parameters you are passing in a multidimensional. A multideminsional can have more than two dimensions.
| 5
| 2
| 3.5
|
E04.Q05.A04
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
The first dimension is not required however the subsequent dimension(s) are needed for the compiler.
| 5
| 5
| 5
|
E04.Q05.A05
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
all but the first
| 5
| 5
| 5
|
E04.Q05.A06
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
All of the dimensions must be specified.
| 5
| 2
| 3.5
|
E04.Q05.A07
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
just the first one at least.
| 3
| 1
| 2
|
E04.Q05.A08
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
Two paramaters, the array and how many columns.<br> array(a[],[3])
| 4
| 4
| 4
|
E04.Q05.A09
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
The size of the first dimension can be omitted, same as a regular array. However, for every dimension outside the first, the size of those dimensions must be specified when passed, for example, a multi-dimensional array of [2][4][6] with the name MultiArray would be passed as: "MultiArray[][4][6], 2"
| 5
| 4
| 4.5
|
E04.Q05.A10
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
Size of subsequent dimensions are required. Compiler must know how many elements to skip to move to the second element in the first dimension<br><br>
| 5
| 4
| 4.5
|
E04.Q05.A11
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
Every dimension after the first.
| 5
| 5
| 5
|
E04.Q05.A12
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
both
| 3
| 2
| 2.5
|
E04.Q05.A13
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
the size of the first dimension does not need to be specified, but all other dimensions do.
| 5
| 5
| 5
|
E04.Q05.A14
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
when passing (in main) a multidimensional array to a function, no dimensions need be specified
| 3
| 1
| 2
|
E04.Q05.A15
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
All dimensions except for the first one need to be specified when passing an array to a function, the compiler needs to know how many memory addresses to skip to make it back to the 2nd element in the first dimension. The size of the first dimension does not need to be specified.
| 5
| 5
| 5
|
E04.Q05.A16
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
as many as there are dimensions. Most commonly just rows and columns
| 5
| 2
| 3.5
|
E04.Q05.A17
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
at least 2, but it should always equal the number of dimensions that the argument is expecting... like... <br>blah[][][][] will require 4 dimensional array input.<br>blah[][][] will require a 3 dimensional array.<br>blah[][] will require a 2 dimensional array.
| 5
| 1
| 3
|
E04.Q05.A18
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
None, just pass the array name.
| 3
| 1
| 2
|
E04.Q05.A19
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
all subsequent dimensions after the first dimension. first is not needed to be specified.
| 5
| 5
| 5
|
E04.Q05.A20
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
all dimensions, excluding the first one.
| 5
| 5
| 5
|
E04.Q05.A21
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
all dimensions but the first<br>
| 5
| 5
| 5
|
E04.Q05.A22
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
the first needs to be specified by size and the rest need only be stated( first like this [3] then [][][])
| 5
| 1
| 3
|
E04.Q05.A23
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
one less than the number of dimensions the array contains
| 5
| 4
| 4.5
|
E04.Q05.A24
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
not answered
| 0
| 0
| 0
|
E04.Q05.A25
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
one
| 3
| 1
| 2
|
E04.Q05.A26
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
All subsequent dimensions after the first one.
| 5
| 5
| 5
|
E04.Q05.A27
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
two or more
| 4
| 1
| 2.5
|
E04.Q05.A28
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
1 less than the total number of dimensions
| 5
| 4
| 4.5
|
E04.Q05.A29
|
How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
|
All the dimensions, except the first one.
|
Multi dimensional arrays are accessed using more than 1 index, one for each dimension at least.
| 5
| 2
| 3.5
|
E05.Q01.A00
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Takes an element of an array and compares it with the next element, depending on the values of the two elements they will switch and then the program will compare the new switched element with the next one in the array.
| 5
| 1
| 3
|
E05.Q01.A01
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Insertion sort divides the list into sorted and unsorted regions, then takes each item from the unsorted region and inserts it into its correct order in the sorted region.
| 5
| 5
| 5
|
E05.Q01.A02
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
The sorted array or list is built one entry at a time.
| 4
| 3
| 3.5
|
E05.Q01.A03
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
It starts with the second element and checks it to see if it is less than the element(s) to the left of it and if it is it inserts it into its corrected position.
| 5
| 5
| 5
|
E05.Q01.A04
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Compare two numbers at a time and swap until the entire list is sorted.
| 3
| 1
| 2
|
E05.Q01.A05
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Assume the first number is sorted, then move down the list and 'insert' the numbers you come across into the corresponding place on the sorted side of the list.
| 5
| 5
| 5
|
E05.Q01.A06
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
insertion sort is were after k iterations the first k items in the array are sorted it take the k+1 item and inserts it into the correct position in the already sorted k elements.
| 4
| 5
| 4.5
|
E05.Q01.A07
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Looking at the 2nd element move forward and place the element in the correct spot.
| 5
| 4
| 4.5
|
E05.Q01.A08
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Starting at the beginning of an array, take each element in order and place it in it's correct position relative to all previously sorted elements.
| 5
| 5
| 5
|
E05.Q01.A09
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
To sort the elements in an array by removing an element from the input data and inserting it at the correct position.
| 5
| 5
| 5
|
E05.Q01.A10
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Insertion sort removes an element from the data, and inserts it at the correct position in the already sorted list.
| 5
| 5
| 5
|
E05.Q01.A11
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Take a number and choose a pivot point and insert the number in the correct position from the pivot point.
| 4
| 2
| 3
|
E05.Q01.A12
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
have a marker and sort everything to the left of the value for every new value when moving to the right.
| 3
| 3
| 3
|
E05.Q01.A13
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
The main idea behind insertion sort is to take a random variable from the right and insert it in order to the left.
| 5
| 4
| 4.5
|
E05.Q01.A14
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Insertion sort progresses through a list of elements and determines where the next element should be inserted into an already sorted array starting with sorting and using the first two elements.
| 4
| 5
| 4.5
|
E05.Q01.A15
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
it goes through the list only once, picking each integer and putting it in its desired position, then continuing.
| 4
| 4
| 4
|
E05.Q01.A16
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Inserting array items in to their appropriate positions from smallest to largest at a pivot which starts on the second element of the array.
| 4
| 3
| 3.5
|
E05.Q01.A17
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Insert the item into its proper position by shifting larger sorted array values to the right.<br>
| 5
| 1
| 3
|
E05.Q01.A18
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
a comparison sort in which the sorted array is built one entry at a time
| 4
| 4
| 4
|
E05.Q01.A19
|
In one sentence, what is the main idea implemented by insertion sort?
|
Taking one array element at a time, from left to right, it inserts it in the right position among the already sorted elements on its left.
|
Insertion sort is an algorithm where the first element of the array is in the sorted list, all the other pick one by one and taken from the unsorted array, to the sorted array.
| 4
| 5
| 4.5
|
Subsets and Splits
Score summary per assignment-question pair
Provides a comprehensive summary of scoring metrics for different question IDs across both open-ended and close-ended responses, highlighting variations and averages.
Number of student answers per assignment-question pair
Counts the number of student answers for each question ID across both open-ended and close-ended datasets, providing insight into question popularity.