Answer:
void delete_record(student_record *arr, int &size, int age, string name, double gpa) {
int index = -1;
if (arr != NULL && size > 0) {
for (int i = 0; i < size; ++i) {
if (arr[i].age == age && arr[i].name == name && arr[i].gpa == gpa) {
index = i;
break;
}
}
}
if (index != -1) {
for (int i = index; i < size - 1; ++i) {
arr[i] = arr[i + 1];
}
size--;
}
}
Answer:
Swap daemon
Explanation:
Swap daemon manages the physical memory by moving process from physical memory to swap space when more physical memory is needed. The main function of the swap daemon is to monitor processes running on a computer to determine whether or not it requires to be swapped.
The physical memory of a computer system is known as random access memory (RAM).
A random access memory (RAM) can be defined as the internal hardware memory which allows data to be read and written (changed) in a computer.Basically, a random access memory (RAM) is used for temporarily storing data such as software programs, operating system (OS),machine code and working data (data in current use) so that they are easily and rapidly accessible to the central processing unit (CPU).
Additionally, RAM is a volatile memory because any data stored in it would be lost or erased once the computer is turned off. Thus, it can only retain data while the computer is turned on and as such is considered to be a short-term memory.
There are two (2) main types of random access memory (RAM) and these are;
1. Static Random Access Memory (SRAM).
2. Dynamic Random Access Memory (DRAM).
Answer:
Make main function
def main():
Make some constants for the grades
A = 5.0 or 4.0
B = 4.0 or 3.0
C = 3.0 or 2.0
D = 2.0 or 1.0
F = 1.0 or 0.0
In the main function call the function you made and make sure to use those constants for help
also don't forget to call your main function or nothing will work
Explanation:
Making the main function is good programming practice for your future
Making the constants is also helpful to your programming.
Now how it works you call the function you wrote to calculate the grade.
I don't know how helpful this was this is one of my first answers. I am `also answering how I would do it
A, true. Requirements describe the objectives of any assignment.