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

Student answer: The main role of header file is it is used to share information among various files.
Score (0-5): 3

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

Student answer: No
Score (0-5): 0

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

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

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

Student answer: Header files declares the class member functions.
Score (0-5): 3.5

Student answer: A header file allows for the separation of declaration and implementation into separate files.
Score (0-5): 4

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

Student answer: “Instruct” the compiler on how to interface with library and user-written components.
Score (0-5): 2.5

Student answer: create a comon area to contain reusable functions.
Score (0-5): 3

Student answer: to declare the functions being used in the classes
Score (0-5): 3

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

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

Student answer: a header file is a file used to store a list of prototye functions and data members.
Score (0-5): 5

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

Student answer: It contains reusable source code for use by other classes.
Score (0-5): 3

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

Student answer: Header files have reusable source code in a file that a programer can use.
Score (0-5): 2.5

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

Student answer: To allow the compiler to recognize the classes when used elsewhere.
Score (0-5): 3.5

Student answer: A header file declares a class, its data, and functions available through that class.
Score (0-5): 4

Student answer: header files contain code which can be used in multiple files
Score (0-5): 3

Student answer: Allow compiler to recognize the classes when used elsewhere
Score (0-5): 3

Student answer: Allow compiler to recognize the classes when used elsewhere<br>
Score (0-5): 3.5

Student answer: To promote function reusuablitly
Score (0-5): 3

Student answer: class definitions are placed here
Score (0-5): 3

Student answer: A header file usually contains class and/or function prototypes.
Score (0-5): 4.5

Student answer: contains all the standard C++ library's i.e. string
Score (0-5): 1