Asked by Natalia Hernandez on Jul 07, 2024

verifed

Verified

An ___________ allows data to flow into your program.

A) input stream
B) output stream
C) file name
D) all of the above

Input Stream

A stream that reads data into a program, often from a file, network connection, or keyboard input.

Output Stream

A stream used for writing data to a destination, which could be a file, an array, a network socket, or another program.

File Name

A file name is the unique identifier of a file in an operating system, used to distinguish it from other files and often contains an extension indicating the file type.

  • Identify the differences between input and output streams.
verifed

Verified Answer

AG
alfredo godoyJul 13, 2024
Final Answer :
A
Explanation :
An input stream allows data to flow into your program, while an output stream allows data to flow out of your program. A file name is simply a name given to a file and does not have any direct connection to data flow in or out of a program. Therefore, the best choice is A.