10.3 Files Cambridge iAS 9618

10.3 Files Cambridge iAS 9618

11th Grade

20 Qs

quiz-placeholder

Similar activities

2.2 J277 File handling

2.2 J277 File handling

10th - 12th Grade

23 Qs

Algorithm

Algorithm

10th - 11th Grade

15 Qs

2.1 Algorithms

2.1 Algorithms

11th Grade

18 Qs

Code.org - Unit 6 Review

Code.org - Unit 6 Review

9th - 12th Grade

15 Qs

PTS Algoritma dan Pemrograman

PTS Algoritma dan Pemrograman

9th - 12th Grade

15 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Malware

Malware

9th - 11th Grade

15 Qs

Kuis 1 DPPLG 2

Kuis 1 DPPLG 2

10th - 11th Grade

20 Qs

10.3 Files Cambridge iAS 9618

10.3 Files Cambridge iAS 9618

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Stephen Ling-Winston

Used 1+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?