The four components of computer are explained clearly.
<u>Explanation:</u>
- Hardware is the electrical physical parts that a computer system needs to function. It organizes all the process by a circuit board that operates within a PC or laptop; built with the "motherboard", "graphics card", "CPU (Central Processing Unit)", "ventilation fans", "webcam", "power supply", and so on. Without hardware, there is no means of running the necessary software that makes computers so valuable.
- Software is a program that facilitates a computer to execute a particular task, as objected to the hardware. Computer software has to be "stored" into the computer's storage (such as a hard drive, memory, or RAM). Working computer systems segment software into three major classes: system software, programming software, and application software.
- A user is a person who handles a computer or network service. Users of computer and software output regularly require the technical expertise needed to fully know how they operate.
- Data is defined as bases or figures, or knowledge that's saved in or utilized by a computer. This data will be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be prepared by the CPU and are saved in files and folders on the hard disk.
Answer:
#include <iostream>
#include<time.h>
using namespace std;
class Student
{
public :
int grades[20]; //array of grades
double average(int arr[],int n) //method to calculate average of array of grades passed
{
int sum=0;
for(int i=0;i<n;i++) //loop to calculate sum of all grades
sum=sum+arr[i];
return sum/n; //average is sum of items/number of items
}
int get_grade() //method to return grade number(1-14)
{
srand(time(NULL)); //method to generate different random number each time
int num = rand() % 14 + 1; //method to generate random number b/w 1-14
return num;
}
};
int main()
{
Student s;
int grade[]={5,3,9,8,10};
cout<<"Average is : "<<s.average(grade,5);
return 0;
}
OUTPUT :
Average is : 7
Explanation:
A class Student is created in which a method named average is there to calculate average of the grades passed and a method to generate a grade number b/w 1-14.
Answer:
An advantage of using a Flat file instead of a relational database is;
A Flat file is easier to set up
Explanation:
The Flat file database is a database developed by IBM and it is the primary type of database for storing data in text files such as in Microsoft Excel
Individual database records are stored in a line of plain text and are separated from other records by delimiters including commas and tabs
The advantages of a Flat file database are;
1) The records of the database are stored in a single place
2) A Flat file is easier to set up with Microsoft Excel or other office applications
3) The Flat file database is easier to comprehend and understand
4) The records of the database can be simply stored
5) Simple criteria can be used for viewing or extracting data from a Flat file database
Answer:
the graphics are lilttle images inside
Explanation: