Viswa45/ASAG huggingface dataset:
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When no parameters are set is when a default constructor is used.
Score (0-5): 3
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When a class does not explicitly include a constructor.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When there are no arguments passed.
Score (0-5): 1.5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: when there is not one already for a specific class
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When it the programs compiles
Score (0-5): 3.5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: when a constructor is not provided by the programmer of the class
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: In any class that does not explicitly include a constructor.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: Before the main function of the code.
Score (0-5): 1
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: whenevery you dont specifiy your own
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When non are provided
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: C++ will create a default constructor when no other constructor is present.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When no constructor was specified in the constructor's class, but the class is instantiated in a program.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When no constructor exists when one is needed, a parameterless default constructor is declared.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: The Compiler creates this automatically for you, unless you specifically create one.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: In any class that doesn't explicitly include a constructor.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: when no user-defined constructor exists
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: If a class does not explicitly include a constructor, the compiler creates one.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When you do not provide your own constructor.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: C++ creates a default constructor during compilation if one is not provided.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: when a class does not explicitly include a constructor
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: The compiler will provide one when class does not explictly include a consructor.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: when the programmer does not explicitly include a constructor
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When one is not explicitly stated.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: when one is not explicitly included by a class<br>
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: When you dont specify any constructors.
Score (0-5): 5
Question: When does C++ create a default constructor?
Instructor answer: If no constructor is provided, the compiler provides one by default. If a constructor is defined for a class, the compiler does not create a default constructor.
Student answer: at the very beginning when you run a complier, matter a fact in C++ it generates its own default constructor for the class provided if no other constructors have been provided by user
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: Just one per class.
Score (0-5): 0
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: As many as you want so long as they have different parameters.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: There is no limit to the number of constructors in a class because like functions, constructors can be overloaded.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: It depends what type of class is being defined.  Typically you would have a constructor call for each object.
Score (0-5): 1.5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: In C++, the constructor can be overloaded in that there can be more than one constructor for a class, each having different parameters.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: 1
Score (0-5): 0
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: any number you want
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: One
Score (0-5): 0
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: by default just one, but they may be overloaded to create as many constructors as necessary
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: as many as you want
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: As many as you want, with different parameters.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: infinite
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: as many as you need
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: As many as are needed, depending on how many variables one wishes to directly modify or leave as default when instantiating an object.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: A very large amount of constructors can be created for any given class through overloading.  When two constructors with a different type or number of parameters are created, they are said to be overloaded, and C++ can recognize which constructor to use based on the type of the variables that are passed/returned.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: It depends on the number of objects. Each object should have a constructor.
Score (0-5): 2.5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: Theoretically unlimited, as long as they are defined by the programmer.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: As many as needed.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: as many as wanted/needed
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: several
Score (0-5): 4.5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: one
Score (0-5): 0
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: There can be infinite constructors as long as the signature is different.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: that depends on the number of data members in the class
Score (0-5): 1.5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: you can overload constructors as you need
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: As many as the programmer wants to create.
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: as many as you want, as long as they each have a unique argument list
Score (0-5): 5
Question: How many constructors can be created for a class?
Instructor answer: Unlimited number.
Student answer: as many as the user decides to use.
Score (0-5): 5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function definition does not require any additional information that needs to be passed inside its parenthesis<br> to execute. While a definition prototype requires more than one parameters to be passed in order to complete its <br>task.
Score (0-5): 4
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: The FUNCTION PROTOTYPE is where the programmer declares that he/she is using a function other than main( ). This is like declaring a variable, the programmer knows that he/she will be using in the future, but has yet to say where they are going to use it, or how. This is answers the question who, it gives the function a name and character. The function prototype, by common practice is placed at the beginning of the program after the #includes and before main( ).<br>The FUNCTION DEFINITION is the guts of the function. This is where the programmer decides what the function is going to do and tells it how to do it. It takes whatever information it is given and performs the operations. It works sort of like the brain, the brain takes in input and based upon that input performs in some way producing an output. The function defintion is placed outside of main( ) and any other functions. A function is its own entity and should be thought of as such.
Score (0-5): 2.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function prototype tells the compiler the function name, return type and the number and type of parameters without revealing the implementations contained in the function definition.
Score (0-5): 5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: Function prototype is a declaration.  Function definitions (w/multiple parameters) often require more than one piece of information. to perform their tasks.
Score (0-5): 3
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function prototype is a declaration of a function that tells the compiler the function's name, its return type and the types of its parameters.
Score (0-5): 5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A prototype shows only return types and necessary parameters. The definition includes names for those parameters and defines what the object is actually capable of doing.
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: prototype only tells the user what data types go into a function and what type is returned.
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: Function prototype is located in the .h file and only contains the access function name and paramater type.<br><br>Function definition contains the code for the function to perform its activity.
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: a function prototype is used to reference the compiler to a function that will be defined later on, a function definition is the actual function itself, complete with return type, parameters, etc...
Score (0-5): 4
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function prototype describes a class's public interface without revealing the class's member function implementations
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: Function definitions are just that, the definition. The prototype is what the compiler uses to check that calls to function are correct.
Score (0-5): 2
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: a prototype does not include any actual code where the function has all the code that is executed in the program.
Score (0-5): 3
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: a prototype declares what will be used in the program and the definition
Score (0-5): 3
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function prototype lays out the name, return type, and the number and types of parameters the function expects to receive in a certain order.  The details for function prototypes are in the function definition.
Score (0-5): 5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function definition is the code that defines the function placed in the {} brackets that determines that function's operation.<br><br>A function prototype shows the function's public interface without exposing implementation.  It shows name, return type and type of paramaters.
Score (0-5): 5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function prototype is just a declaration of the function existing, and cant be used as an actual function. A function has to be created with a definition within to tell the compiler what the function does.
Score (0-5): 3.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: the Prototype creates a framework to call the function definition. While a function definition is where the function is actually programmed out and created into a final product.
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function prototype describes the class's public interface without providing how the function works.<br>A function definition contains the inner workings of the function.
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: prototype states all functions in that class before compilation, where the definition actually holds the source for the functions
Score (0-5): 3.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: Function prototypes tell the compiler the function names, its return type, and the types of its parameters where as, function definitions actually implement the member functions.
Score (0-5): 5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function prototype just specifies parameters.  A function definition includes parameters and a code body.
Score (0-5): 4
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: Function prototypes describe the class's public interface
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A prototype only declares name, return type, and input type.<br>A definition also defines the scope, variables, process, and return function
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: a function prototype simply declares the functions parameters, the function definition includes any necessary variables and the function's actual code
Score (0-5): 4
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A functgion prototype is a declaration of a function , while function definition specifies what a function does
Score (0-5): 3.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: in a function prototype you include the return type, the name of the function, and its parameters if any are needed.<br><br>in a function definition you write the code of what the function will do.
Score (0-5): 5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function definition contains all the code for a function to work. A function prototype just shows the output, input and function name.
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: function prototype describe the class's public interface without revealing <br><br>the class's member function implementations,  function definitions show what <br><br>implementations are being done
Score (0-5): 4.5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: A function prototype only names the function, its return type, and it's argument list, while a definition defines the above as well as what the function actually does.
Score (0-5): 5
Question: What is the difference between a function prototype and a function definition?
Instructor answer: A function prototype includes the function signature, i.e., the name of the function, the return type, and the parameters' type. The function definition includes the actual body of the function.
Student answer: function prototype describes a classes interface without reviling whatever is inside as for the function definition can't do that. <br>
Score (0-5): 4.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: the role of a header file list all the functions a class can do while hiding the inner workings of its functions<br>
Score (0-5): 4.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: The main role of header file is it is used to share information among various files.
Score (0-5): 3
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: Header files separate files in which classes are defined and allow the compiler to recognize classes when used elsewhere.
Score (0-5): 3.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: No
Score (0-5): 0
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: A header file consists of "reusable" source code such as a class in a file that by convention has a .h filename extension. This differs from .cpp files that contain "source-code."
Score (0-5): 3.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: To provide information about the contents of a library. It includes the definition of classes, declarations of functions, data types, and constants.
Score (0-5): 4.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: the header file shows the user what types go into and come out of a function but does not allow a user to manipulate the actual code for the function.
Score (0-5): 4.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: Header files declares the class member functions.
Score (0-5): 3.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: A header file allows for the separation of declaration and implementation into separate files.
Score (0-5): 4
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: the header file has access to the C++ Standard Library and makes certain classes like class string work.
Score (0-5): 1.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: “Instruct” the compiler on how to interface with library and user-written components.
Score (0-5): 2.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: create a comon area to contain reusable functions.
Score (0-5): 3
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: to declare the functions being used in the classes
Score (0-5): 3
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: #include "hat.h"  allows the use of the hat container, so called from the act of pulling names from a hat.  The header file for hat includes functions for storage and retrieval of it's contents, mainly put(), peek(), and pull().
Score (0-5): 1.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: To hold reusable content or modules separate from the actual  source-code file that can be easily referenced and employed for different programs.
Score (0-5): 4
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: a header file is a file used to store a list of prototye functions and data members.
Score (0-5): 5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: A header file is a cross communication method between source files, to help limit the size of each individual program. Without header files a program will be 1 large lump of code and thus fairly hard to debug and traverse.
Score (0-5): 3.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: It contains reusable source code for use by other classes.
Score (0-5): 3
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: to separate the source code from the main function, allows the methods/classes to be included in the program without direct coding. allows re usability.
Score (0-5): 3.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: Header files have reusable source code in a file that a programer can use.
Score (0-5): 2.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: To hide the definition and details of a class.  Also to help readability of the main C++ file.
Score (0-5): 3.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: To allow the compiler to recognize the classes when used elsewhere.
Score (0-5): 3.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: A header file declares a class, its data, and functions available through that class.
Score (0-5): 4
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: header files contain code which can be used in multiple files
Score (0-5): 3
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: Allow compiler to recognize the classes when used elsewhere
Score (0-5): 3
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: Allow compiler to recognize the classes when used elsewhere<br>
Score (0-5): 3.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: To promote function reusuablitly
Score (0-5): 3
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: class definitions are placed here
Score (0-5): 3
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: A header file usually contains class and/or function prototypes.
Score (0-5): 4.5
Question: What is the role of a header-file?
Instructor answer: To store a class interface, including data members and member function prototypes.
Student answer: contains all the standard C++ library's i.e. string
Score (0-5): 1
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: It includes the name of the program, the type of parameters it can take. It should also include a brief description of what the function does.
Score (0-5): 4.5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: it includes the specific information about the function such as input and output variable types and how many of each.
Score (0-5): 3
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: The function signature includes the name of the function and the types of its arguments.
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: A function signature consists of the function prototype.  This tells you the general information about a function, its name, parameters, what scope it is in, and other miscellaneous information.
Score (0-5): 4.5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: It includes the name of the function and the types of its arguments.
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: Name, paramaters, scope, and other general function information
Score (0-5): 4.5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: It includes a function name and parameter list. Does not include return type. Function signatures must be different.
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: input parameters and return type
Score (0-5): 3
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: The portion of the function prototyp tha has the function name and the arguments but NOT the return type.
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: Name of the function and the types of it's arguments
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: The name of the function and the types of its arguments.
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: Includes the name of the function and the types of its arguments.
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: identification of a function and the data types of its parameters, it has the name, and the data type variables
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: a return type, and input parameters
Score (0-5): 3
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: The function signature includes the method name and the input types.
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: A function signature includes the name of the function and types of arguments, but not the return type.<br><br>
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: The signature can include a result type and thrown errors.
Score (0-5): 2
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: function name, and input paramaters
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: The name of the function and the types of its arguments.<br>This includes the number, type, and order the parameters appear in.
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: the name of the function and the types of its arguments
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: A function signature includes the name of the function and the types of its arguments
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: A function signature includes a function's return type, parameters and semi-colon.
Score (0-5): 3
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: the function's name and parameters
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: The portion of a function prototype that includes the name of the function and the types of its arguments
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: the name of the function and its parameters
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: The function name and parameters
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: name of function and types of arguments
Score (0-5): 5
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: a function's return type and parameter list
Score (0-5): 3
Question: What does a function signature include?
Instructor answer: The name of the function and the types of the parameters.
Student answer: it includes the name of the function, and the types of its arguments. it does not specify the function return type. Function in the same scope must have unqiue signatures.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: Any functions that follows their deceleration that  are in the source code file are allowed to have access the variables.  Also global scope variables retrain their value throughout the execution of the program.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: they can be accessed by any C++ file anywhere.
Score (0-5): 2.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: Global variables have file scope.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: The scope of global variables are created by placing variable declarations outside any class or function definition.  Global variables retain their values throughout the execution of the program and they can be referenced by any function that follows their declarations or definitions in the source file.
Score (0-5): 2.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: A global variable is an identifier that retains it's value throughout the execution of the program. It has file scope.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: Global Variables can be used in any function as long as the appropriate .h file that holds the variable is included
Score (0-5): 4
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: They can be accessed by any part of the program. It can be referenced by any function that follows the declarations or definitions in the source file.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: can be accesed by any classes that have and object of that variables class in it
Score (0-5): 3
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: Global variables have file-scope.  The variable is know to all functions throught the file
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: The entire program
Score (0-5): 4.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: They have file scope when placed outside a function.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: File scope.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: They can be used throughout the program
Score (0-5): 4.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: Global variable can b accessed by any class wit an object in the variables class
Score (0-5): 3
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: The scope of global variables is at the file level.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: Global variables all have file scope.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: it is accessible by all functions within a program
Score (0-5): 4.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: variables accessible anywhere in the program, as long as they are public.
Score (0-5): 4.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: They can be referenced by any function following their declaration or definition inside the source file.
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: globally, anywhere in the program.
Score (0-5): 4.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: Global variables have a file scope
Score (0-5): 5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: The entire program.
Score (0-5): 4.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: throughout the execution of the program
Score (0-5): 4.5
Question: What is the scope of global variables?
Instructor answer: File scope.
Student answer: If a variable is declared global, any function or class can use that variable.
Score (0-5): 4.5