Viswa45/ASAG huggingface dataset:
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: they are methods of repeating the same task.
Score (0-5): 2
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: Both involve a termination test.  <br>They use a control statement and repition to solve the problem. <br>They can also result in an infinite loop.
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: based on a control statement, involve repetition, involve a termination test.
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: Both are bases on a control statement. Both involve repetition. Both involve a termination test. Both gradually approach termination. Both can occur infinitely.
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: both based on a control statement, both involve repitition, both involve a termination test, both gradually approach termination, both can potentially occur infinetly.
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: they are both based on a control statement, both involve repetition, both involve a termination case, both graduatlly approach that termination case, and both can occur infinitely
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: They both use repetition, a control or test to terminate, and both can infinitely repeat if not defined correctly.
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: Both are based on a control statement; both gradually approach termination ending with a termination test; both involve repetition, and can both repeat infinitely if their  termination requirements are not met.
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: both are based on a control statement, involve repetition and involve a termination test. both gradually approach termination, both can occur infinitely
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: they are used to solve the same type of problems. they do a task over and over again until a cirtain conditional statement is reached (its called the base case in recursion).
Score (0-5): 3.5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: Based on control statement;  involve repetition; involve a terminal test; both can occur infinitly<br>
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: repetition, termination test, eventually terminate, occur infinately
Score (0-5): 5
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: both need to have some kind of base case to tell when the loop needs to stop.
Score (0-5): 3
Question: What are the similarities between iteration and recursion?
Instructor answer: They both involve repetition; they both have termination tests; they can both occur infinitely.
Student answer: they both are able to do repetiive tasks. however recurisve calls itself with different parameters and defines and exit clause that is guaranteeed to be reached. Iterative includes a loop which iterates a pre-determined number of times, or checks for an exit clause every time through
Score (0-5): 3.5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: int n[10]; //array of 10 integers<br>and<br>int n[arraySize] //where arraySize is some positive integer defined by the user
Score (0-5): 4
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: by either inputing the different elements in the array at coding or giving the array specifacations as to the size of the array. it is also possible when giving it specifacations to tell the array to grow as needed.
Score (0-5): 4
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: You can initialize and array by using an initializer list in its declaration or by initializing its size with a constant variable.
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: Pass the length along with the array or use a vector.
Score (0-5): 3
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: One way is to declare a size of the array using a variable that is equal to an integer. The other way, if the size is omitted in the declaration, the compiler determines the size of the array based on the size of the initializer list.
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: In the declaration (int array [x]) or with an initilizer (int array[]={0,1,2,etc.}
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: 1. Declare the length of the array (int array[10];)<br>2. Initialize the array (int array[] = {0, 1, 2, 3}; //compiler will assume size of 4)
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: statically and dynamically
Score (0-5): 2.5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: Explicitly int array[10];<br>or by variable<br>const int size = 10;<br>int array[size];
Score (0-5): 4
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: Array lengths can be explicitly specified by inputing the number of elements between the brackets [ ] during declaration, or implicitly by including an initializer list WITHOUT specifying a number between [ ], the compiler will automatically declare the array with the proper number of elements needed for the list.
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: Specify an array’s size with a constant variable.<br>And setting array elements with calculations.<br>
Score (0-5): 3.5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: statically, using {} and dynamically, using []
Score (0-5): 4
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: define it as array[5] or array[1,2,3,4,5]
Score (0-5): 4.5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: Static and dynamic.
Score (0-5): 2.5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: manually inside the brackets or automatically via an initializer list
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: You can use an initializer list, or simply tell the compiler how many elements you want in the array.<br><br>For an Initializer list: <br>int a[] = {10, 2, 3, -4, 5};<br><br>For an elemental declaration:<br>int b[5];<br><br>Both arrays have 5 elements in them, but array a is already initialized.
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: In a string you can specify with the strlen(arrayname) command. This gets the length of the string. Another way is with integers where you initiate the size from the start, ex array[40] specifying a possible length of up to 40. Then it is passed by an object the actual ammout in the array. Another way is to declare it in an initializing program.
Score (0-5): 4.5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: Implicit, namely when you give it values, like {1,2,3,4,5,6,7,8,9}, at which the compiler will automatically give this a size.<br>Static, during the declaration.<br>
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: Supply an integer inside the brackets<br>or the compiler counts the number of elements in the initializer list.<br>int n[5];<br>int n[] = { 1,2,3,4,5 }
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: either initializing the array with a specific length or initializing an array while declaring its contents.
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: within the brackets or by using an initializer list.
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: specify the number of elements in the array declaration with a constant or using a constant variable for future scalability
Score (0-5): 4
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: with a number and with a variable
Score (0-5): 3
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: explicitly, by declaring it in brackets (i.e. int array[50];) and implicitly, by initializing several values (i.e. int array[] = {1, 2, 3};)
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: one way of specifying of array is A[10] ;<br>other way of specifying array is a[arraysize] = [1,2,3,4,5,6,7,8,9,10}
Score (0-5): 4.5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: 1-Initializing an array in a declaration with an initializer list<br>2-Specifying an array’s size with a constant variable
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: Initializing the size in the brackets: int a[100];<br>Initializing the length by assigning variables: int a[] = {1,2,3};
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: user defined value or by the number of elements in initializer list
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: you can assign the size of it inside the brackets when you declare the array [3], or you can have it set by how many items you set the array equal to {1,2,3}
Score (0-5): 5
Question: What are the two different ways of specifying the length of an array?
Instructor answer: In the array declaration, or by using an initializer list.
Student answer: use an arraylist, or have your program ask the array how many elements it has. As an obj it it should have member length that is the number of slots it has.
Score (0-5): 4
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: strings that are used in an char array are much easier to manipulate than as a string object, because each character is stored separately rather than as a whole
Score (0-5): 2.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: the type string uses less storage and you have to change the string all at once. with an array of characters you can make permutations of words using the characters stored in the array, without needing to actually access and change the variables. with an array of characters you can just change how they're accessed.
Score (0-5): 3
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: Unlike in a string declared using type string, in a string declared using an array of characters the programmer must provide the null terminating character and must ensure the array is large enough to hold the string and null terminating character.
Score (0-5): 5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: All strings represented by character arrays end with the null character. You declare an object of type string just like any other type, for example:<br><br>string s;
Score (0-5): 5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: By using an array of characters, one can store and manipulate the strings rather than just having a type string variable.
Score (0-5): 2.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: type string is an array of chars that will make an array of single letter characters while an array of strings will be an actual array of words (or an array of char arrays)
Score (0-5): 2
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: They're basically the same, however, a string ends w/ a null character, denoting the end of the string (and the size). A char array has potential to be any size, so it must be declared or limited.
Score (0-5): 3.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: string is a class in the standard library and has method that modify it. Whereas the char array is on able to be modifie by the user.
Score (0-5): 4
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: By using an array of characters, you are limited to the size of the array of characters.<br><br>By declaring by type the end of the string is acknowledged by white space.
Score (0-5): 3.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: The data class type string are designed to handle character data, and has many functions built into the class library to deal with them. An array of characters however is subject to all the same rules of any other array with no real additional functionality. Another difference is that the string class deals with the null character implicitly, unlike an array of characters, which must handle the null character explicitly.
Score (0-5): 5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: string declared used in an array of characters contains each character in the array and a special string-termination character called the null character versus the type string.
Score (0-5): 5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: A char array reads a string as each individual character. A string literal array reads the entire string.
Score (0-5): 3
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: array of characters can only hold as many characters as the array size and strings are not that limited.
Score (0-5): 4
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: Stings can only be modified by functions of the String class, an array of characters can be modified by the user
Score (0-5): 3.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: if by type string, the array contains an additional terminating null character
Score (0-5): 4
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: The array of characters has a null character \0 at the end of the array to signify the array's end.  The string does not have this.
Score (0-5): 5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: strings with type string are just that. Strings. They are not part of an array list at all where as one declared by an array is actually an array of characters able to be pointed and detected.
Score (0-5): 3
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: the array of characters has a set length, while the type string has virtually unlimited length.
Score (0-5): 4
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: Char array - Individual letters can be accessed directly with array subscript notation. <br>String array - array subscript will return the entire string.
Score (0-5): 2
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: array of characters need a termination character as well as size specification whether its explicit or implicit.
Score (0-5): 5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: when using an array individual characters can be accessed and manipulated.
Score (0-5): 2.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: strings declared using an array of characters could result in data loss if character array not initialized large enough.
Score (0-5): 4
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: an array is passed by reference therefore if an array of characters is changed, the memory is changed not just the variable
Score (0-5): 3.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: the type string has several built-in functions not available when using a char array, but the individual characters in an array or more directly accessible than the characters in a string type string.
Score (0-5): 3.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: declaring a string, it includes white spaces<br>but declaring a array of character does not include white spaces
Score (0-5): 1.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: an array of characters has one element a string doesnt have. it is the termination element, or "null"
Score (0-5): 5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: Strings declared using the type string can vary in length. Strings declared using an array of characters can not extend past the array length.
Score (0-5): 4
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: cant modify individual characters of a type string array, character type array can modify individual characters
Score (0-5): 2.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: the type string is a class and is safer, while the other is just an array of characters.
Score (0-5): 3.5
Question: What is the main difference between strings declared using the type string versus strings declared using an array of characters?
Instructor answer: The strings declared using an array of characters have a null element added at the end of the array.
Student answer: array  it is the collection of similar data types ex:int a[10]<br><br>ten indicates the size of array. [ ] is index of array, we can give only integer values to array of a.<br><br>where as string mean collection of group of characters. <br>string declarations have a datatype usually causes storage to be allocated in memory that is capable of holding some predetermined number of symbols. <br><br> However  Arrays can be declared to contain values of any non reference data type. Multiple arrarys of the same type
Score (0-5): 2.5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: by reference only
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: a reference pointer to an element in the array.
Score (0-5): 4.5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: Arrays are passed to functions by reference.
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: -Arrays are passed by reference <br><br>      -Individual array elements passed by value<br><br>      -Functions that take arrays as arguments <br><br>      -Function prototypes may include parameter names<br><br>      -const array parameters
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: Arrays are passed by reference.
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: you must pass the array and its size to the function. Ex. function(array, size);
Score (0-5): 4
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: Usually the same way you pass anything else... you do not have to specify the length of a char array, just pass it to the function by sending the name of the array. <br>Example:<br>char str[20];<br>isPalindrome(str); // this sends the char array to the function isPalindrome.<br><br>Otherwise, would need to send the length of the array as well.
Score (0-5): 3.5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: you pass a pointer to the first item and also pass the size.
Score (0-5): 3.5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: By reference.
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: In two parts, the array itself, and it's size, so that the function it's being passed to can avoid out of bounds errors.
Score (0-5): 4
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: 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>
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: the same way but with [] at the declaration and the actual function.
Score (0-5): 3
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: specify the array name without brackets.
Score (0-5): 3
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: by reference
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: 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.
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: They are called by the function then the function must loop through the array to get the set of characters.
Score (0-5): 2
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: by reference by default, unless you specify const, at which the later will make the array unmodifiable.
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: The function recieves both the array and the array size as parameters.<br>function(arrayName, arraySize)
Score (0-5): 4
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: specifying array name and passing as reference in an argument into the function
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: 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.
Score (0-5): 4
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: 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
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: by refrence
Score (0-5): 5
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: function( int [], int length)
Score (0-5): 4
Question: How are arrays passed to functions?
Instructor answer: by reference.
Student answer: The function reads the variables, stores them. then returns the what ever the variable reads. The function then prints the content of the array.
Score (0-5): 2.5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: a static array can only be referenced not accessed. Also static arrays can be used without creating an object.
Score (0-5): 4
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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++.
Score (0-5): 4
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: Arrays that are static remain the same size throughout the program execution.
Score (0-5): 4
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: a static array will only be initilized once, a non static array will be re-initilized once the program reaches the initilization line again.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 4.5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: a static array has pre-runtime size and that size cannot be changed. A dynamic array gets its size at runtime.
Score (0-5): 3
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: If an array is declared as static, it is not created each time the array is called.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: All elements are initialized to zero if not explicitly initialized, this does not happen for automatic local arrays<br><br>
Score (0-5): 4.5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: All elements are initialized to zero if not explicitly initialized for a static array, while a non-static array is not initialized to zero.
Score (0-5): 4.5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: static cannot be changed
Score (0-5): 3
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 4
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: A static member prevents naming conflicts (not put into global namespace) while allowing for information hiding (private, public).
Score (0-5): 3
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 3
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: static arrays keep the values after the end of a function, while non static reinitialize every time.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: its not created and initialized each time program calls the function, and is not destroyed every time the function ends in the program.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: the static array exists for the duration of the program<br>
Score (0-5): 4.5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: an array declared as static can only be declared once
Score (0-5): 3.5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: not answered
Score (0-5): 0
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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>
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: A static array cannot be changed in the program.
Score (0-5): 3
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: static arrays are available throughout the program
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 5
Question: What is the difference between an array declared as static, and one that is not?
Instructor answer: 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.
Student answer: 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.
Score (0-5): 3
Question: How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
Instructor answer: All the dimensions, except the first one.
Student answer: at least 2, depending on how many arrays are being used.
Score (0-5): 2.5
Question: How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
Instructor answer: All the dimensions, except the first one.
Student answer: all of them.
Score (0-5): 3.5
Question: How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
Instructor answer: All the dimensions, except the first one.
Student answer: When passing a multi-dimensional array, all dimensions must be specified except for the first dimension.
Score (0-5): 5
Question: How many dimensions need to be specified when passing a multi-dimensional array as an argument to a function?
Instructor answer: All the dimensions, except the first one.
Student answer: It depends what parameters you are passing in a multidimensional.  A multideminsional can have more than two dimensions.
Score (0-5): 3.5