Answer:
b) queue
Explanation:
Queue is also an abstract data type or a linear data structure, just like stack data structure, in which the first element is inserted from one end called the REAR(also called tail), and the removal of existing element takes place from the other end called as FRONT(also called head).
Answer:
class studentType: public personType
{
public:
virtual void print() = 0;
virtual void calculateGPA() = 0;
void setID(long id) {
studentId = id;
}
void setCourses(const string c[], int noOfC) {
noOfCourses = noOfC;
for (int i=0; i<noOfCourses; i++) {
courses[i] = c[i];
}
}
void setGrades(const char cG[], int noOfC) {
noOfCourses = noOfC;
for (int i=0; i<noOfCourses; i++) {
coursesGrade[i] = cG[i];
}
}
long getID() {
return studentId;
}
string* getCourses() {
return courses;
}
char* getGrades() {
return coursesGrade;
}
studentType(string fName = "", string lastName = "",
long id = 0, string c[] = NULL, char cG[] = NULL, int noOfC = 0);
private:
long studentId;
string courses[6];
char coursesGrade[6];
int noOfCourses;
};
Explanation:
Code rewritten
Explanation:
Computer is an electronic device that is designed to work with information.
WORKING PRINCIPLE OF COMPUTER
a.It accepts data and instructions by way of input,
b.It stores data,
c.It can process data as required by the user,
d.It gives result in the form of output,
e.It controls all operations inside a computer.
I hope it will help you
The format to use in drawing the Hierarchical input process output chart to show a high - level view of the functions of the proposed system is given in the image attached.
<h3>What is hierarchical input process output?</h3>
An HIPO model is known to be a form of hierarchical input process output model that helps in systems analysis design and also in documentation .
Note that it is often used for depicting the modules of a system based on the use of hierarchy and for saving each module and thus by following the method used in the image attached, one can draw a Hierarchical input process output ( HIPO ) chart to represent a high - level view of the functions of the proposed system.
Learn more about HIPO from
brainly.com/question/2665138
#SPJ1