Viswa45/ASAG huggingface dataset:
Question: How many comparisons does it take to find an element in a binary search tree?
Instructor answer: The height of the tree (or log of the number of elements in the tree).
Student answer: log (n)   where n equals the number of nodes.
Score (0-5): 5
Question: How many comparisons does it take to find an element in a binary search tree?
Instructor answer: The height of the tree (or log of the number of elements in the tree).
Student answer: it takes as many comparisons as the number of levels of the binary search tree. it only compares one number at each level
Score (0-5): 5
Question: How many comparisons does it take to find an element in a binary search tree?
Instructor answer: The height of the tree (or log of the number of elements in the tree).
Student answer: At most it takes one less comparisons than the tree's height. In big-O notation it takes O(log n) comparisons if the tree is balanced.
Score (0-5): 5
Question: How many comparisons does it take to find an element in a binary search tree?
Instructor answer: The height of the tree (or log of the number of elements in the tree).
Student answer: log n comparisons
Score (0-5): 5
Question: How many comparisons does it take to find an element in a binary search tree?
Instructor answer: The height of the tree (or log of the number of elements in the tree).
Student answer: (n^k)-1   where k is the height of the tree
Score (0-5): 1.5
Question: How many comparisons does it take to find an element in a binary search tree?
Instructor answer: The height of the tree (or log of the number of elements in the tree).
Student answer: it takes h comparisons, where h is the height of the tree
Score (0-5): 5
Question: How many comparisons does it take to find an element in a binary search tree?
Instructor answer: The height of the tree (or log of the number of elements in the tree).
Student answer: 2 way key comparison
Score (0-5): 1
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: The name of the class file, the parameters it must take to perform its function.  Also a brief description of what the class does.
Score (0-5): 3
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: access specifiers and functions, oftentimes a constructor.
Score (0-5): 3
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: The elements typically included in a class definition are the function prototypes, usually declared public, and the data members used in the class, which are usually declared private.
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Class is user defined.  It contains members, data and functions.  The keyword class is used and includes brackets ({})
Score (0-5): 4
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Member functions and data members.
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: the functions and variables used when the object is defined for the class.
Score (0-5): 4
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Data members, functions and function definitions, variables.
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: return type and input parameters
Score (0-5): 2.5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Constructor<br>Data members<br>Methods
Score (0-5): 4.5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Function members and member attributes, or in other words, the class variables and functions.
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: The elements that are included in a class definition is the access-modifier, data types, variables, and function signatures.
Score (0-5): 4
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: The variables and function prototypes.
Score (0-5): 4
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: public and private variables and initiations of functions included in the class.
Score (0-5): 4
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: The return value and the accepted value.
Score (0-5): 1.5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: A class definition typically includes the class name, the classes constructor(s), and any extra functions and class variables.
Score (0-5): 4
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Parameters and their type, Class name, and return type, and the code to be executed in the class.
Score (0-5): 3
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: data members, class variables, and functions
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Constructor, functions, and variables native to the class.
Score (0-5): 4
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: functions and data members
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: data members and function definitions
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: member functions and data members
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: constructor, and function definitions.
Score (0-5): 3.5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: class name<br>data of class<br>definition of functions and methods
Score (0-5): 4.5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: A class definition includes the definitions of the class' constructor(s) and any public or private functions. Of course, it also #includes the class header and any necessary C libraries
Score (0-5): 3
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Class name, {}, semicoln at the end of the defination, private and bublic followed by ": "
Score (0-5): 3
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: a constructor, private and public variables, and function prototypes
Score (0-5): 4
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: Data variables and Functions, Data members
Score (0-5): 5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: class definitions include the name of the class and type of parameters
Score (0-5): 3
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: class variables, class function prototypes
Score (0-5): 4.5
Question: What are the elements typically included in a class definition?
Instructor answer: Function members and data members.
Student answer: input  & return type elements
Score (0-5): 2.5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: Public and private specifiers.
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: Public, Private, Restricted
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: The access specifiers are public and private.
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public<br>private<br>protected
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: Public or Private.
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public: the function or variable can be used outside the class<br>private: the function or variable can only be used with the class
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: Public and Private
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public private and protected
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: Public<br>Private
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: Private, public, protected
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: The access-specifiers that can be used in a C++ class definition is private and public.
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public and private.
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: static, long, unsigned
Score (0-5): 0.5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: Private, Public, Protected, or Friend.
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: A C++ class definition may include access-specifiers public, private, and static.
Score (0-5): 4.5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: local, global, local-variable, function specific
Score (0-5): 2.5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public, private
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: Public, protected, and private.
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: private, public
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public - can be accessed by any of the program<br><br>private - can only be accessed by the class functions themselves and no outside functions or calls
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public , private, protected
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public and private
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public, private, protected
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: functions and data members can be given access-specifications of public, private, and friend. public access is given to any functions or members not given specific access rights.
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: data member or data functions are access specifiers
Score (0-5): 0.5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public or private
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public - can be accessed from outside the class<br>private - accessible only from inside the class, not inherited<br>protected - accessible only from inside the class, inherited
Score (0-5): 5
Question: What are the access-specifiers that can be used in a C++ class definition?
Instructor answer: Private and public.
Student answer: public private protected
Score (0-5): 5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: ie. GradeBook myGradeBook();<br><br>call upon the class and then give it a name like shown
Score (0-5): 1.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: They are initialized as a named instance of the template formed by the class. This named instance can then be modified to be different from the class that it was created from.
Score (0-5): 3.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: not answered
Score (0-5): 0
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: Objects are initialized by a value given.  When an object is defined for a certain task.<br><br>
Score (0-5): 2.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: They are initialized with a " . " (dot) between the constructor and the object being created.
Score (0-5): 2.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: objectname classname();<br><br>to call a function from the class:<br><br>objectname.funciton();
Score (0-5): 1.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: If the object refers to a class, the constructor(s) will initialize the objects based on return type and parameters passed. Compiler will auto-create one if one is not provided.
Score (0-5): 5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: classname objectname(input parameters);
Score (0-5): 3
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: When the class is called by the Constructor
Score (0-5): 3.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: Constructors; default when not provided by user, or programmer specified constructors.
Score (0-5): 5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: Objects are usually initialized at the beginning of the program and are initialized usually in the main function. They are initialized after the class's name.
Score (0-5): 2.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: &lt;variable type&gt; &lt;variable name&gt;; or, if you want to initialize a variable to a certain value, &lt;variable type&gt; &lt;variable name&gt; = &lt;value&gt;;
Score (0-5): 2.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: variables are set to a given value, or 0 if none is given.
Score (0-5): 1
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: When the object is initialized, its constructor is called (whether one is provided or c++ assigns a default constructor).
Score (0-5): 5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: Objects are initialized essentially as copies of the corresponding classes, complete with their own separate variables.
Score (0-5): 2.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: If you had a class Gradebook, you would initialize it in your main function by use of a constructor in the Gradebook class.  If no constructor is specified or found, c++ will use a default one with no parameters.<br><br>Gradebook myGradebook;<br><br>In this bit of code, the class Gradebook has been initialized as object myGradebook.
Score (0-5): 5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: objects are initialized by stating the classname first then assigning a name to the object. Within the object's ( ) is a place where it can be initialized.
Score (0-5): 3.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: They are initialized with a constructor.
Score (0-5): 5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: The value is specified after declaration,<br><br>It can initialized anywhere between the declaration and the corresponding }.
Score (0-5): 2.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: with the default constructor for that object in its class.  if no constructor is specified, it uses the default system constructor.
Score (0-5): 4.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: initialized using the same name as the class
Score (0-5): 2.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: they are initialized to a value dependent on the compiler
Score (0-5): 1
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: memory is allocated in accordance with their type and initialization input.
Score (0-5): 2
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: Objects are assigned a space in memory when they are created. the name given to the object points to the memory address where the objects data resides.
Score (0-5): 1
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: using constructor
Score (0-5): 5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: by giving them a value
Score (0-5): 1.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: By declaring the class first, the name of the variable, and then any variables that need to be put in the constructor.<br><br>Ex. Class myClass(x, y)
Score (0-5): 5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: objects are initialized by giving the object a type, name, and initial value
Score (0-5): 2.5
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: they are initialized to 0
Score (0-5): 1
Question: How are objects initialized when they are created?
Instructor answer: By using constructors.
Student answer: obj. are initialized by the variables that call them, when they are created within a class. <br><br>e.i. classname objectname etc.
Score (0-5): 2.5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: Name of the function, parameters it must receive in order to perform and a return type.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: a function signature is the elements that make it unique such as the variables it calls for and also I suppose this includes the program it is in.
Score (0-5): 4
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: A function signature is the return type of a function, its name, and the number and type of its parameters.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: function prototype that contains functions and data members.
Score (0-5): 3
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: A function signature is a declaration of the function that includes the parameter types and the number of parameters.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: the declaration of the function.
Score (0-5): 2.5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: Includes the name, accepted parameters, and return type.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: its return type and its input parameters
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: Contains the function name and its paramaters.  The return type is not included
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: Return type, function name, and the parameter types
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: The function signature tells what the function parameters and includes all the function calls
Score (0-5): 4
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: The function's name, as well as what it returns and what it accepts.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: the body of the function that holds all the actual code
Score (0-5): 2
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: A function signature is the return type and accepted pass value type it takes
Score (0-5): 3.5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: A function signature specifies the name and input variables of a function.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: A function signature is the function's parameters and their type and the name of the function.  The return type is not a part of the function signature.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: the name of the function and what it accepts/ returns
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: the unique identifier of a function, which includes input variables along with the function name, but excludes the output type.
Score (0-5): 4.5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: The order, number, and type of data items included inside the function parameters.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: its the scope, type, and parameters of that function that give it it's properties and defines it against other functions.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: is the name of the fuction, return type, and parameters that are being used
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: a function signature should include the name of the function, parameters, and a body.
Score (0-5): 4
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: the name of the function and the arguments passed to that function
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: A function signature, used in a function's prototype, is the set of object types it take in as parameters, with or without names given for the objects.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: function name and parameter are called function signature.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: fuction name and parameters
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: The parameters needed, the return type, and name of the function.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: the signature of a function includes the name of the function, the number and types of parameters, and the return type
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: It is what uniquely separates overloaded functions. It includes the return type, and the parameter list of the function.
Score (0-5): 5
Question: What is a function signature?
Instructor answer: The name of the function and the list of parameters, including their types.
Student answer: function sig is, is what is the class recognizes as the main function, or rather its specification
Score (0-5): 2
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that calls upon it self to solve a problem.  Each time it calls upon it self it splits up a problem into a simplier form until it reaches a 'base case' which is the most simplest form of the problem.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that calls itself to perform an opperation such as a factorial recursive function.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: not answered
Score (0-5): 0
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A base case that calls upon itself until the problem becomes smaller and terminates.
Score (0-5): 4
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: It's a function that calls itself. It runs multiple times until the base case is reached.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that calls itself untill it reaches a base case.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that calls itself. Each time it does, it must get smaller, and eventually MUST converge to a base case, otherwise you can start an infinite loop.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that calls itself until a base case is met
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that calls itself. With each function call the problem is diminished.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that calls itself to perform a certain task
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A recursive function is a function that calls itself. Usually called the base case. If the base case is not correct it causes a infinite loop.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that calls itself, in order to solve a problem.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that calls itself over and over until it finds the simplest form of solution, or the base case.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A recursive function is a function that calls itself repeatedly until a base case is achieved. The fundamental idea is to break one large problem into a series of smaller, similar problems.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A recursive function typically simplifies a problem by calling itself, until arriving at a base case, at which it recursively returns a solution.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A recursive function is a function that breaks down a large problem into two or more smaller problems and calls itself to solve those smaller problems until a base case or terminating point is reached.  At the base case, a definite answer is called and the function no longer recurses, but unwinds itself back through function calls to determine the answer to the original large problem.
Score (0-5): 4.5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that calls itself into a loop with a base case for a loop exit.
Score (0-5): 4
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that calls itself until the base cases are met.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A recursive function only knows how to solve base cases<br><br>A recursive function calls itself directly or indirectly until a base case is reached.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that calls on itself and uses a base case to stop the recursion
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that calls itself, and which eaach calls get closer and close to the base case.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that divides and conquers a problem.  There is a base case that will eventually be reached.  The function calls itself over and over until the base case is satisfied.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that calls itself in the definition code
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A recursive function solves a problem by repeatedly calling itself. the initial problem is broken into successively smaller parts until a much simpler base case is reached. the solutions to each piece of the problem are then returned a step at a time.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: It invoke by itself again ana again, unless it reach bas case
Score (0-5): 4.5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a function that solves a problem by dividing the problem into smaller problems, by calling its self again and again, until a base case is reached.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that calls itself over and over again till a base case is reached, then it returns back to the original function.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: a recursive function is a function that during execution, calls itself over and over until a base case is reached
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: A function that calls itself. Usually used to split a problem into several smaller problems of the same type.
Score (0-5): 5
Question: What is a recursive function?
Instructor answer: A function that calls itself.
Student answer: function that calls it self till the base case is met
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Iteration, performers  a series of checks and loops.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: The alternative method is to use loops in the program instead of a function which calls itself.
Score (0-5): 4
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: An alternative to solving a problem using recursive functions is to solve the problem using iteration.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Iteration, this would be more efficient and has repetition structure.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: One can use iteration or by using a simple while/for loop.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: iteration
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Iteration. A while loop or a for loop will be able to accomplish the same desired outcome... It may be faster than recursion, but could also be harder to understand.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: you can also solve the problem iteratively
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: iterative
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Using iteration loops.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Another alternative way to solve a problem instead of using recursive functions is by using iteration.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: A recursive function can often be solved using an iterative function, which runs faster, but is often more complicated.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Any recursive function can be solved using an iterative method.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Many recursive solutions may also be solved with looping control statements, such as while, for, do-while, etc.
Score (0-5): 4
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Using an iterative function, which repeats a specified operation or set of operations until a terminating point or base case is reached.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: iteratively
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: using an Iterative calls
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Iteration.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: iteration is the alternative way to solve a problem
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: using an iterative solution instead
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Using an iterative solution.  For, while, or do while loop.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: the alternative way to solve a problem that could be solved using recursion is iteration.
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Any problem solved recursively could be solved with an iterative function.<br>Iterative replacements for recursive functions may be more difficult to program, but often lead to more efficient solutions to a problem.<br>
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: by iteration
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: itteration, like a for loop, a while loop, or a do while loop
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: Iteration by using loops
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: iterative functions
Score (0-5): 5
Question: What is the alternative way to solve a problem that could be solved through recursive functions?
Instructor answer: Through iteration.
Student answer: the alt, way is to use a functions parameter in a call "to" function.
Score (0-5): 3
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: The array that is declared static retains its modified elements so once it is called upon again the latest elements are modified again.  An array that is not declared static will keep its original elements.
Score (0-5): 5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: A static array only has a specific size and it cannot grow. Also static arrays cannot be accessed outside the program which created it.
Score (0-5): 3
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: Arrays declared as static are not created and initialized when a function is called and destroyed when the function terminates.
Score (0-5): 5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: Static can be initialized and non-static cannot in C++.
Score (0-5): 2.5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: An array declared static remains the same throughout the execution of the program.
Score (0-5): 2.5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: a static array will be called only once. once it has been declared the complier will ignore the static line if it comes to it again.
Score (0-5): 4.5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: The static array will be available to the whole of the program, whereas an array that is not static is only available within the scope in which it is declared. <br><br>//pass-by-reference???
Score (0-5): 4
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: a static array has a predetermined size and that size cannot be altered
Score (0-5): 3
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: Arrays declared static can not be changed.  One not declared static can be altered.
Score (0-5): 2.5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: an array that is declared as static will retain the values stored in it's elements between function calls, and will not reinitialize them to default values.
Score (0-5): 4.5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: An array that is declared static causes anything that is not initialized to be set to 0.
Score (0-5): 2.5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: A static array will have a null character at the end of the array.
Score (0-5): 3
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: static arrays cannot be changed while normal arrays can be changed
Score (0-5): 2.5
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: An array they is declared as static can be accessed outside of the method it was declared without passing it as an argument to other functions in the same class.
Score (0-5): 3
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: A static array has class scope, allowing it to remain where other arrays might be recycled.
Score (0-5): 4
Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.
Student answer: An array that is static does not change or uninitialize if called later unless explicitly acted upon.  It does not terminate or change across objects.<br><br>An automatic local array will be cleared and uninitialized if called later outside of it's specific scope.
Score (0-5): 5