Physical and Logical files Flashcards

1
Q

what is a physical file

A

A file stored on a computer’s hard drive or other storage media. It is the actual file with a specific name and location on the disk.

Similar to a building, physical files are real, tangible entities that exist in the world. You can see them, touch them, and interact with them. They are the backbone of the computer system and make it possible to store and access data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a logical file

A

An abstract representation of a file that is used by a computer program or system to access the physical file. Logical files do not have a specific name or location, and instead use a unique identifier to access the physical file.

Logical files are like maps that guide you to the text files stored on the hard drive. Instead of specifying a physical file’s full path and name, you can use a logical file name to access the physical file. This makes writing code that works with text files easier, as it abstracts away the underlying physical details.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is an end of the line <eoln></eoln>

A

A character or sequence of characters used to indicate the end of a line of text in a text file. It is used to separate one line of text from another in a text file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is an end of file <eof></eof>

A

A special marker used to indicate the end of a text file. It is used by the computer to determine when the end of a text file has been reached and no more data is left to be read.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is a text file procedure

A

Text file procedures in Delphi are like a team of super-efficient assistants, ready to tackle any task you throw their way! With procedures, you can open and close text files, read and write data, and even seek specific positions in a text file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what are text file functions

A

Text file functions in Delphi are like superpowers for your text file management tasks! They help you perform complex operations with ease and accuracy. Here are some of the most popular Delphi text file functions:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly