Answer:
The flow chart is as shown in the attachment. Three grades are shown, and the rest of the calculation is done in the same manner. At first, the marks are input and stored in an array or list. Now its average is being found. And the average is compared and found in which category from the mentioned, it is part of. And that grade is being printed for that student. Similarly, we can follow these steps to grade each student at the school.
Explanation:
Please check the answer section, and attachment.
Answer:
age.info()
sex.info()
df.boxplot(by ='age', column =['sex'], grid = False)
Explanation:use info() for strata statistics and the boxplot() with relevant arguments
Answer:
#include <iostream>
using namespace std;
class ProblemSolution {
private:
int num1, num2;
public:
ProblemSolution(int n1, int n2) {
num1 = n1;
num2 = n2;
}
int calculateSum() {
int sum = 0;
sum = num1 + num2;
return sum;
}
void printSum() {
// calculateSum will return sum value that will be printed here
cout <<"Sum = "<< calculateSum();
}
~ProblemSolution() {
cout << "\nDestructor is called " << endl;
};
};
int main() {
int a, b;
cout << "Enter a: ";
cin >> a;
cout << "Enter b: ";
cin >> b;
// Initiallizing object pointer of type ProblemSolution
ProblemSolution *objPtr = new ProblemSolution(a,b);
// printing Sum
objPtr->printSum();
// delete objPtr to relaease heap memory :important
delete objPtr;
return 0;
}
Explanation:
we will initialize a pointer "objPtr" and initallize the constructor by passing 2 values a and b followed by the keyword "new". the keyword "new" allocates memory in the heap. we can access class member functions using arrow "->". it is important to delete objPtr at the end of the program so that the heap memory can be freed to avoid memory leakage problems.
Answer:
true
Explanation:
when you pause a recording it will temporarily stop but, when you hit record again it will continue where you left off
Complete Question:
Which of the following about computers is NOT true?
Group of answer choices.
A. Computing devices translate digital to analog information in order to process the information.
B. Computing devices are electronic.
C. The CPU processes commands.
D. The memory uses binary numbers
Answer:
A. Computing devices translate digital to analog information in order to process the information.
Explanation:
Computing is the process of using computer hardware and software to manage, process and transmit data in order to complete a goal-oriented task.
The true statements about computers are;
I. Computing devices are electronic: the components and parts which makes up a computer system are mainly powered by a power supply unit and motherboard that typically comprises of electronic components such as capacitors, resistors, diodes etc.
II. The CPU processes commands: the central processing unit (CPU) is responsible for converting or transforming the data from an input device into a usable format and sent to the output device.
III. The memory uses binary numbers: computer only understand ones and zeros.