The EOF is a special
character, whose ASCII value is 26, which indicates the end of a file in text
mode of file. While writing data to a file, this character is inserted
automatically after the last character in the file to mark the end of file. If
this character is detected at any point in the file, the read function would
return the EOF signal to the program indicating the last point of file. An
attempt to read after EOF might either cause the program to terminate with an
error or result in an infinite loop situation. Thus, the last point of file is
detected using EOF while reading data from file. Without this mark, we can not
detect last character at the file such that it is difficult to find up to what
time the character is to be read while reading data from the file.
Data and Information Data is an unprocessed raw fact which does not give complete meaning about any object,person, entity etc. But when various inter-related data arranged in a row, it gives a complete meaning which is referred to as information. For Example: ID Name Address Program 1101 Ram Shrestha Biratnagar BScIT is information of a specific person. Database Database is a repository(storage) for the organized collection of related information of data items. It Consist of meaningful arrangement of data, relationship, constraints, schema etc. In modern days we define database as a computerized record-keeping system used to store information and allows users to retrieve and update these information on their request. Some example of databases are telephone directory, data of SLC result, student and employee records etc. Database Management System(DBMS) Database is the softw...
Comments
Post a Comment