
10.3 Files Cambridge iAS 9618
Authored by Stephen Ling-Winston
Computers
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are files needed in computing?
To store data permanently on storage devices.
To hold data temporarily in RAM.
To transfer data over a network.
To execute a program on a computer.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of a text file?
To store data in a human-readable format.
To store data in a machine-readable binary format.
To execute code on a computer.
To store images or multimedia data.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to open a file in pseudocode?
OPEN file FOR READING
READ file OPEN
OPEN file FILE READ
FILE OPEN file
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following actions can be performed on a text file?
Read and write lines of text.
Compile source code from the file.
Execute the content of the file as a program.
Convert binary data into a file format.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a typical way to store lines of text in a text file?
Each line of text is stored as a string, with a newline character at the end.
Each line is stored as a separate byte.
Each line is stored as a number.
Text files cannot store multiple lines.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following pseudocode actions is used to read a line from a text file?
READ line FROM file
OPEN line FROM file
READ file TO line
FETCH line FROM file
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the WRITE operation when working with text files in pseudocode?
To save data to the file.
To delete the file.
To open the file for reading.
To modify the file content in-place.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?