View as PDF

Saskatchewan Computer Science 30 · Unit B

Programs Using External Files — Practice Test

Saskatchewan Computer Science 30 • 25 questions

This practice test was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.

1

Data stored on disk for later use is called

Understand It with Pulse
2

A file should be closed after use mainly to

Understand It with Pulse
3

A file of 20 bytes contains this many bits ____

Understand It with Pulse
4

The graph shows file size over time. The size at month 3, in megabytes, is ____

Diagram for Question 4
Understand It with Pulse
5

A file storing readable characters is called

Understand It with Pulse
6

Appending to a file

Understand It with Pulse
7

A file of 40 bytes contains this many bits ____

Understand It with Pulse
8

The graph shows file size growing steadily. The growth is

Diagram for Question 8
Understand It with Pulse
9

A text file with values separated by commas is called

Understand It with Pulse
10

A CSV file separates values with

Understand It with Pulse
11

A file of 60 bytes contains this many bits ____

Understand It with Pulse
12

Preparing a file for reading or writing is called

Understand It with Pulse
13

Reading a file that does not exist usually causes

Understand It with Pulse
14

A text file is opened for reading. The program should next

Understand It with Pulse
15

Finishing work with a file and saving changes is called

Understand It with Pulse
16

A text file differs from a binary file because it stores

Understand It with Pulse
17

A file of 5 kilobytes contains about this many bytes

Understand It with Pulse
18

Getting data from a file into a program is called

Understand It with Pulse
19

The safest way to update a file is to

Understand It with Pulse
20

Saving data to a file instead of keeping it only in memory means the data

Understand It with Pulse
21

Sending data from a program into a file is called

Understand It with Pulse
22

A file ends in .csv and opens as plain text with one row per line. Each line holds several fields divided by

Understand It with Pulse
23

The location of a file on disk is called

Understand It with Pulse
24

Before writing to a file that already exists, a careful program should

Understand It with Pulse
25

Adding data to the end of a file is called

Understand It with Pulse