id
stringlengths
11
11
question
stringclasses
79 values
instructor_answer
stringclasses
80 values
student_answer
stringlengths
1
959
score_grader_1
float32
0
10
score_grader_2
float32
0
10
score_avg
float32
0
5
E01.Q07.A26
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
A do...while loop will always execute atleast once, a while loop may never <br><br>execute depending on teh conditions.
5
5
5
E01.Q07.A27
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
a while loop is pre-check (it checks the condition statement before it executes the code within the while block)<br><br>a do while loop is post-check (it checks the condition AFTER the block executes, it runs at least once no matter what the condition statement is)
5
5
5
E01.Q07.A28
What is the main difference between a while and a do...while statement?
The block inside a do...while statement will execute at least once.
)) What is the main difference between a while and a do...while statement?<br>The do while construct consists of a block of code and a condition. First, the code within the block is executed, and then the condition is evaluated, this is done until it is proven false. The difference between the While loop is it tests the condition before the code within the block is executed.<br>
5
5
5
E02.Q01.A00
What is typically included in a class definition?
Data members (attributes) and member functions.
For us it is usually a set, get, and displayMessge or other messages that tell you what properties a class has but does not reveal its implementations. You could have anything you want in your own class definition.
3
1
2
E02.Q01.A01
What is typically included in a class definition?
Data members (attributes) and member functions.
The attributes of said class. Also whether or not it is a subclass. Also whether it is public private or protected.
4
4
4
E02.Q01.A02
What is typically included in a class definition?
Data members (attributes) and member functions.
Information telling the compiler what data members and member functions belong to the class.
5
5
5
E02.Q01.A03
What is typically included in a class definition?
Data members (attributes) and member functions.
Since class is user defined, the body of the declaration can contain members, that can be either data or function declarations, and optionally access specifiers. Example for specifiers would be public, private, and protected. There is the keyword Class and the Class body is enclosed with brackets ({}).
5
5
5
E02.Q01.A04
What is typically included in a class definition?
Data members (attributes) and member functions.
An object and data.
3
1
2
E02.Q01.A05
What is typically included in a class definition?
Data members (attributes) and member functions.
It's specific class name, includes only information defined by that class... implementation details... etc.
4
2
3
E02.Q01.A06
What is typically included in a class definition?
Data members (attributes) and member functions.
data members and member functions.
5
5
5
E02.Q01.A07
What is typically included in a class definition?
Data members (attributes) and member functions.
A class definition usually contains the function and its data members
5
5
5
E02.Q01.A08
What is typically included in a class definition?
Data members (attributes) and member functions.
Data members and member functions
5
5
5
E02.Q01.A09
What is typically included in a class definition?
Data members (attributes) and member functions.
member functions
4
3
3.5
E02.Q01.A10
What is typically included in a class definition?
Data members (attributes) and member functions.
Member functions and data members belonging to the class.
5
5
5
E02.Q01.A11
What is typically included in a class definition?
Data members (attributes) and member functions.
a public and private area that includes the functions and variables that are used in the class
4
5
4.5
E02.Q01.A12
What is typically included in a class definition?
Data members (attributes) and member functions.
the keyword class followed by they class name, on the inside you declare public and private declarations of your class
4
3
3.5
E02.Q01.A13
What is typically included in a class definition?
Data members (attributes) and member functions.
A class definition typically includes function definitions.
3
3
3
E02.Q01.A14
What is typically included in a class definition?
Data members (attributes) and member functions.
It begins with Class, followed by the class name, then usually a constructor, data members and member functions that delineates the class is included in any class's definition.
5
5
5
E02.Q01.A15
What is typically included in a class definition?
Data members (attributes) and member functions.
the data and methods
4
5
4.5
E02.Q01.A16
What is typically included in a class definition?
Data members (attributes) and member functions.
A constructor, functions, and variables that are accessible to by that class, and possibly other classes depending on how they are done.
4
5
4.5
E02.Q01.A17
What is typically included in a class definition?
Data members (attributes) and member functions.
Member functions and data members.
5
5
5
E02.Q01.A18
What is typically included in a class definition?
Data members (attributes) and member functions.
public section and private section, and there must be a semicolon to set the end
4
1
2.5
E02.Q01.A19
What is typically included in a class definition?
Data members (attributes) and member functions.
member funtions and data members
5
5
5
E02.Q01.A20
What is typically included in a class definition?
Data members (attributes) and member functions.
Data members and Member functions
5
5
5
E02.Q01.A21
What is typically included in a class definition?
Data members (attributes) and member functions.
data members and member functions
5
5
5
E02.Q01.A22
What is typically included in a class definition?
Data members (attributes) and member functions.
the class name and its public data types such as constructors, methods, functions.
5
2
3.5
E02.Q01.A23
What is typically included in a class definition?
Data members (attributes) and member functions.
a constructor and several data members, and at least one public data member or method
5
4
4.5
E02.Q01.A24
What is typically included in a class definition?
Data members (attributes) and member functions.
class name, two curly prenthesis, public and private
3
1
2
E02.Q01.A25
What is typically included in a class definition?
Data members (attributes) and member functions.
data members and member functions
5
5
5
E02.Q01.A26
What is typically included in a class definition?
Data members (attributes) and member functions.
Data and functions
4
5
4.5
E02.Q01.A27
What is typically included in a class definition?
Data members (attributes) and member functions.
functions and data members that belong to the class
5
5
5
E02.Q01.A28
What is typically included in a class definition?
Data members (attributes) and member functions.
class variables, function definitions for the class
5
5
5
E02.Q01.A29
What is typically included in a class definition?
Data members (attributes) and member functions.
A class is an expanded concept of a data structure, it holds both the data and the functions being executed
4
5
4.5
E02.Q02.A00
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Data members are the data components of a particular class. A member function are the functioning components of the class.
5
1
3
E02.Q02.A01
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A field variable is a variable that is declared as a member of a class. A local variable is avariable that isdeclared local to a method.
4
1
2.5
E02.Q02.A02
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Data members are declared inside the class, but outside of any member functions. Unlike with local variables, each object of the class keeps its own copy of the data members stored in memory.
5
4
4.5
E02.Q02.A03
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Data member are variables that represent an attribute in a class definition. Local variables declared in a function body cannot be used outside of that function body. When a function terminates the values of its local variables are lost.
5
4
4.5
E02.Q02.A04
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A local variable cannot be accessed outside the function in which it is declared. Data members normally are private. Variables of functions declared private are accessible only to member functions of the class in which they are declared.
5
5
5
E02.Q02.A05
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A data member is part of a C++ class or structure that stores data of a certain type... A local variable inside a member function is only available inside that function, and can be used to derive a desired outcome.
5
4
4.5
E02.Q02.A06
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A local variable can only be accessed within the scope of its declaration.
4
3
3.5
E02.Q02.A07
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Data members are the atributes of the function and can be used outside the function.<br>Local variable can not be used outside the function and the value is lost after the function terminates.
5
4
4.5
E02.Q02.A08
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
data members are permanent attributes of the class, local variables inside a member function are lost when the scope of the member function ends.
5
3
4
E02.Q02.A09
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
data members are declared in a class definition but outside the bodies of a class's member-function definitions. Local variables are declared in a function definition's body
5
3
4
E02.Q02.A10
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A data member is globally accessible, while a local variable is only accessible inside the member function.
5
4
4.5
E02.Q02.A11
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A variable inside a member function can only be accessed inside that member and a data member can be accessed throughought the program.
5
5
5
E02.Q02.A12
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Local variables are used only within the scope of its declaration
4
5
4.5
E02.Q02.A13
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A data member is a more general term describing all objects instantiated within a member function. "Local" in local variables refers more to the scope of a variable, which may be located in anything from a control structure to a class. Local variables whose scope are in a member function are the same as data members of member functions.
4
0
2
E02.Q02.A14
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A data member exists permanently in that program's memory as long as it's run.<br><br>A local variable inside a member function is temporal and only used to operate in the function and exists as long as the function is run.
5
2
3.5
E02.Q02.A15
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
local variables can only be used within the function, where as data members can be set to public access and can be used throughout
5
5
5
E02.Q02.A16
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
The local variable is lost once it exits the block of code, while the data member is not.
5
4
4.5
E02.Q02.A17
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Every member function can access and modify a data member.<br>A local variable can only be used from the line of declaration to the next closing } before it is lost from memory.
5
4
4.5
E02.Q02.A18
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
data member is accessible to all functions in the class, where local variable is only available to the member function and value is lost when function closes
5
5
5
E02.Q02.A19
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Data members are variables that are declared inside the class definition but outside of the bodies of the class member functions. Local variables can only be used within the function declaration.
5
4
4.5
E02.Q02.A20
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
The data member can be accessed outside of the class, whereas the local variable cannot.
5
3
4
E02.Q02.A21
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Local variables cannot be used outside of that function body. When a function terminates the values of its local variables are lost. Where as data members are variables in a class definition, and they exist throughout the life of the object.<br>
5
5
5
E02.Q02.A22
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
a local variable in a member function has to be static. a data member can change its value freely.
4
0
2
E02.Q02.A23
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
a local variable is only useable within the function it is defined, whereas a data member is available to any method within its class
5
5
5
E02.Q02.A24
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
Variable declared in a function defination's body cannot be used outside of that function.<br><br>Data members accessible only to member function of that class.
5
5
5
E02.Q02.A25
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
data members <br><br>local variables are declared in a function definition’s body.<br>they Cannot be used outside of that function body.<br>When a function terminates, the values of its local variables are lost.<br><br><br>
4
5
4.5
E02.Q02.A26
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
local variable is only available in the function.
5
4
4.5
E02.Q02.A27
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
local variables are accessed inside member functions only while data members <br><br>can be accessed throughout the class
5
4
4.5
E02.Q02.A28
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
A data member is accessible anywhere in the class, while i local variable in a member function is only accessible in that particular function, and is freed after the function exits.
5
5
5
E02.Q02.A29
What is the difference between a data member and a local variable inside a member function?
Data members can be accessed from any member functions inside the class defintion. Local variables can only be accessed inside the member function that defines them.
a Data member is encapsulated within a class or object, it is static and can be shared by all instances of that class. <br>however local variable's are only used from the function or block in which it is declared and not the whole class. other wise they would be called global variables.
5
3
4
E02.Q03.A00
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor initializes an object or objects of a class. A function of a class performs a task such as display a line of text or do some kind of mathematical operations.
3
2
2.5
E02.Q03.A01
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
all constructors are functions but not all functions are constructors. Also functions can have nearly infinite purposes, while constructors always create an instance of whichever class you are using. You can change how a constructor does something but not what it does. With functions you can change not only the how but also the what.
4
2
3
E02.Q03.A02
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
Unlike regular functions, constructors are only used to initialize an object’s data when it is created. Constructors must also be given the same name as the class and cannot return any values.<br>
5
5
5
E02.Q03.A03
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor typically used to intialize data members and allocate resources, for instance memory, files, etc. Also a constructor cannot return values. Functions are operations that maybe globally defined.
5
4
4.5
E02.Q03.A04
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
Constructors cannot return values, so they cannot specify a return type. Normally, constructors are declared public.
5
3
4
E02.Q03.A05
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor is a method that starts new instances of a class. (Example: Employee employee1(parameters) starts a new instance of object of type Employee). A function is simply a module w/in a program that completes its single desired task.
4
2
3
E02.Q03.A06
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor is called whenever a new object of that class is made.
3
4
3.5
E02.Q03.A07
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor does not return any date and has no return type.<br><br>Functions can return date or not return data can have a return type.
5
3
4
E02.Q03.A08
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor is automatically called whenever an instance of a class is created, a function must be explicitly called by the user.
4
4
4
E02.Q03.A09
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
constructors cannot return values, so they cannot specify a return type like functions can.
5
3
4
E02.Q03.A10
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor is a function used to initialize an object's data when it is created.
3
4
3.5
E02.Q03.A11
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
a constructor initialises everything so that nothing is left empty or with random varioubles and a function modifies those variables with data.
3
2
2.5
E02.Q03.A12
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor initialized values at the execution of its instantiation. It provides default values.
3
4
3.5
E02.Q03.A13
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor sets up the default values of variables when an object is instantiated, whereas a function allows interaction with that object.
4
4
4
E02.Q03.A14
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor is used to create an object that can be employed in the main function of a program. This may or may not execute code along with it.<br><br>A function is a set of code that executes when called, but does not create a new object.
3
3
3
E02.Q03.A15
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
a constructor initializes data members but the functions actually perform tasks. Constructors cant return values either.
5
3
4
E02.Q03.A16
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
a constructor does not need a type, and it is used to initialize the variables.
4
3
3.5
E02.Q03.A17
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
Constructors don't have a return type.
5
3
4
E02.Q03.A18
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
constructor creates the class object into memory where functions perform actions against that object
4
2
3
E02.Q03.A19
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
constructors cannot return values
5
3
4
E02.Q03.A20
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor initializes values and a function usual performs some sort of operation.
3
2
2.5
E02.Q03.A21
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor is a function used to initialize an object's data when it is created. It's call is made implicitly when the object is created and must be defined with the same name as the class. Constructor also cannot return a value like a function can.
5
5
5
E02.Q03.A22
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor is used to create an instance of a class and has the same name as that class. A function cannot have the same name as a class and computes data.
4
4
4
E02.Q03.A23
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
a constructor is a function that initializes a class instance, a function performs whatever task it is written for
4
2
3
E02.Q03.A24
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor cannot return values, not even void, but function get a return value.
5
3
4
E02.Q03.A25
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
a constructor cannot return values, its not even void. it is used to initialize an object's data when it is created.<br>whereas, a function is created to do a specific task, and it can return values.
5
5
5
E02.Q03.A26
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
A constructor initializes an object. A function is part of an object.
4
1
2.5
E02.Q03.A27
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
constructors initialize the data that is then used in the calculations of a <br><br>function
3
2
2.5
E02.Q03.A28
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
a constructor is called when the class is created, a function can be called any time.
3
4
3.5
E02.Q03.A29
What is the difference between a constructor and a function?
A constructor is called whenever an object is created, whereas a function needs to be called explicitely. Constructors do not have return type, but functions have to indicate a return type.
constructor is a special block of statements called when an object is created, either when it is declared statically or constructed on the stack. However a function is a portion of code within a larger program, which performs a specific task and independent to the rest of the code.
4
4
4
E02.Q04.A00
When does C++ create a default constructor?
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.
The compiler creates a default constructor when we do not define one in our class file
5
5
5
E02.Q04.A01
When does C++ create a default constructor?
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.
during compilation
5
2
3.5
E02.Q04.A02
When does C++ create a default constructor?
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.
When the class does not explicitly include a constructor.
5
5
5
E02.Q04.A03
When does C++ create a default constructor?
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.
When no parameters are set is when a default constructor is used.
3
3
3
E02.Q04.A04
When does C++ create a default constructor?
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.
When a class does not explicitly include a constructor.
5
5
5
E02.Q04.A05
When does C++ create a default constructor?
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.
When there are no arguments passed.
2
1
1.5
E02.Q04.A06
When does C++ create a default constructor?
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.
when there is not one already for a specific class
5
5
5