A file that data is written to is known as a(n) ______.
Python - Chapter 6: Review Questions

Quiz
•
Computers
•
8th Grade - University
•
Easy
Ezzard Beane
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
input file
output file
sequential access file
binary file
Answer explanation
It is called an output file because the program stores output in it.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A file that data is read from is known as a(n) ______.
input file
output file
sequential access file
binary file
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Before a file can be used by a program, it must be ______.
formatted
encrypted
closed
open
Answer explanation
Opening a file creates a connection between the file and the program. Opening an output file usually creates the file on the disk and allows the program to write data to it.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a program is finished using a file, it should do this.
erase the file
open the file
close the file
encrypt the file
Answer explanation
When the program is finished using the file, the file must be closed. Closing a file disconnects the file from the program. Also, Process the file, data is written to the file (if it is an output file) or read from the file (if it is an input file).
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The contents of this type of file can be viewed in an editor such as Notepad.
text file
binary file
English file
human-readable file
Answer explanation
A text file contains data that has been encoded as text, using a scheme such as ASCII or Unicode. Even if the file contains numbers, those numbers are stored in the file as a series of characters.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This type of file contains data that has not been converted to text.
text file
binary file
Unicode file
symbolic file
Answer explanation
You cannot view the contents of a binary file with a text editor. Python allows you to work with text or binary.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When working with this type of file, you can jump directly to any piece of data in the file without reading the data that comes before it.
ordered access
binary access
direct access
sequential access
Answer explanation
Direct access file (also known as random access file), you can jump "directly" to any piece of data in the file without reading the data that comes before it.
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
20 questions
GR 12_DATA FILE HANDLING_SS

Quiz
•
12th Grade
10 questions
Assessment 07

Quiz
•
University
20 questions
Information Processing

Quiz
•
10th Grade
20 questions
IP- Data Verification/Validation and File Organization

Quiz
•
11th Grade
10 questions
SISTEM OPERASI_MANAJEMEN FILE DAN I/O

Quiz
•
University
20 questions
Struktur Data

Quiz
•
9th - 12th Grade
17 questions
U1. Files and Serialization

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade