Off the top of my head I know there was a lot of researching by means of books. Books were where you went to find information. So nowadays you can find everything with a search engine whereas you had to go to the bookstore back then.
Answer:
int main()
{
int x,y;
bool b1, b2;
cout<<"enter values of x : ";
cin>>x;
cout<<"enter values of y : ";
cin>>y;
b1 = y > x; // false
b2 = x > y; // true
cout << "b1 is = " << b1 << "\n";
cout << "b2 is = " << b2 << "\n";
if (b2)
cout<<endl << "Larger Number" << "\n";
else
cout << "Smaller Number" << "\n";
return 0;
}
Answer:
A) Data:
The raw facts and the figure is known as data. It is collected from different types of sources for different kinds of purposes. Data is stored in the form of information that is used by the computer system.
For example: data is collected by the research paper and e-mail is also the example of data.
B) Field:
Field is defines as the character and the group of characters in the form of alphabets and in numeric form which contain specific meaning. A field is use to define various components and storing the data in the system.
C) Record:
A set of one and more than one field which logically describe the particular information or data within the same domain is known as record. A set of various records is constitute as file. It is also refers to the unique field information.
D) File:
A collection of various records is known as file. Files are used in the computer system for storing various types of data and information.
For example: A file contain the records of the students.