Deck 10: Files

Full screen (f)
exit full mode
Question
Opening a(n)________ file creates a file on disk and allows the program to write data to it.

A)In
B)Out
C)Output
D)Input
E)None of the above
Use Space or
up arrow
down arrow
to flip the card.
Question
What is the terminology used when a task is temporarily interrupted as a control variable reaches a specific value?

A)Control break
B)End of page
C)Break
D)Control break logic
E)None of the above
Question
What type of data file cannot be opened and viewed in an editor such as Notepad?

A)Text file
B)Output file
C)Input file
D)Binary file
E)None of the above
Question
Programmers usually refer to the process of saving data to a file as _______________a file.

A)saving data to
B)copying data to
C)writing data to
D)put data to
E)None of the above
Question
In general,how many types of files are there?

A)one
B)two
C)three
D)five
E)None of the above
Question
The data saved in a file will remain there even after the program stops running but will be wiped out when the computer is turned off.
Question
Which type of data file access allows access to any piece of data in the file without reading the data that comes before it?

A)Direct access
B)Sequential access
C)Input access
D)Output access
E)None of the above
Question
When a piece of data is written to a file,it is copied from a variable in ____________ to the file.

A)cyberspace
B)RAM
C)flash memory
D)All of the above
E)None of the above
Question
In an input file,what maintains the location of the next item that will be read from the file?

A)Marker
B)Locator
C)Read locator
D)Read marker
E)Read position
Question
How many steps must be taken when a file is used by a program?

A)One
B)Two
C)Three
D)Four
E)None of the above
Question
In the _________ step the data is either written to the file or read from the file.

A)opening
B)processing
C)closing
D)I/O
E)None of the above
Question
Which flowcharting symbol is used for opening and closing files?

A)Rectangle
B)Parallelogram
C)Diamond
D)Oval
E)None of the above
Question
Which type of data file access starts from the beginning of the file and proceeds to the end of the file?

A)Direct access
B)Sequential access
C)Input access
D)Output access
E)None of the above
Question
Data files are less and less needed in current gaming software.
Question
What is the term used to describe a file that data is read from?

A)In file
B)Out file
C)Output file
D)Input file
E)None of the above
Question
What type of file does the AppendMode work with?

A)Text file
B)Output file
C)Input file
D)Binary file
E)None of the above
Question
When a web page is visited,the browser stores a small file on the user's computer,known as a ___________.

A)cookie
B)biscuit
C)web file
D)temp file
E)None of the above
Question
Which of the following software packages store data in files?

A)Word processors
B)Image editors
C)Games
D)Web browsers
E)All of the above
Question
What is a short sequence of characters that appears at the end of a filename and is preceded by a period called?

A)File extension
B)Filetype extension
C)Filename extension
D)Fileaccess extension
E)None of the above
Question
What type of data file can be opened and viewed in an editor such as Notepad?

A)Text file
B)Output file
C)Input file
D)Binary file
E)None of the above
Question
The process of ________ a file creates a connection between the file and the program.
Question
A file with the extension.doc usually indicates that the file contains a note written by a doctor.
Question
A ________ file contains data that has been encoded as text,using one of the computer's encoding schemes.
Question
____________ contain information about the user's web browsing session.
Question
The programmer has the option to append data anywhere in an output file.
Question
All types of data files are viewable in a text editor.
Question
When an input file is opened,the read position is initially set to the first item in the file.
Question
The sequential access file is similar to the way a cassette player works.
Question
In a text file,all data is stored as a series of characters.
Question
The term output file is used to describe a file that data is read from.
Question
The use of a buffer increases the system's performance because writing data to memory is faster than writing to a disk.
Question
When a program performs the task of retrieving data from a file,it is known as __________ data from/to the file.
Question
When a program ________ a file,it disconnects the file from the program.
Question
The direct access file is similar to the way an MP3 player works: the player starts from the beginning.
Question
The direct access file is also known as a ___________ access file.
Question
The term input file is used to describe a file that data is written to.
Question
The ________________ usually indicates the type of data stored in the file.
Question
When writing a program to perform a file operation,there are _________ names that you have to work with in the program's code.
Question
The ________ file is used to describe a file that data is written to.
Question
The word OutputFile indicates the _________ in which the file is used.
Question
The _________ marker indicates where the file's content ends.
Question
Data in a file is organized in _______,which are a complete set of data about an item.
Question
The _________ is a small holding section in memory.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/43
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: Files
1
Opening a(n)________ file creates a file on disk and allows the program to write data to it.

A)In
B)Out
C)Output
D)Input
E)None of the above
C
2
What is the terminology used when a task is temporarily interrupted as a control variable reaches a specific value?

A)Control break
B)End of page
C)Break
D)Control break logic
E)None of the above
D
3
What type of data file cannot be opened and viewed in an editor such as Notepad?

A)Text file
B)Output file
C)Input file
D)Binary file
E)None of the above
D
4
Programmers usually refer to the process of saving data to a file as _______________a file.

A)saving data to
B)copying data to
C)writing data to
D)put data to
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
5
In general,how many types of files are there?

A)one
B)two
C)three
D)five
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
6
The data saved in a file will remain there even after the program stops running but will be wiped out when the computer is turned off.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
7
Which type of data file access allows access to any piece of data in the file without reading the data that comes before it?

A)Direct access
B)Sequential access
C)Input access
D)Output access
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
8
When a piece of data is written to a file,it is copied from a variable in ____________ to the file.

A)cyberspace
B)RAM
C)flash memory
D)All of the above
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
9
In an input file,what maintains the location of the next item that will be read from the file?

A)Marker
B)Locator
C)Read locator
D)Read marker
E)Read position
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
10
How many steps must be taken when a file is used by a program?

A)One
B)Two
C)Three
D)Four
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
11
In the _________ step the data is either written to the file or read from the file.

A)opening
B)processing
C)closing
D)I/O
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
12
Which flowcharting symbol is used for opening and closing files?

A)Rectangle
B)Parallelogram
C)Diamond
D)Oval
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
13
Which type of data file access starts from the beginning of the file and proceeds to the end of the file?

A)Direct access
B)Sequential access
C)Input access
D)Output access
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
14
Data files are less and less needed in current gaming software.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
15
What is the term used to describe a file that data is read from?

A)In file
B)Out file
C)Output file
D)Input file
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
16
What type of file does the AppendMode work with?

A)Text file
B)Output file
C)Input file
D)Binary file
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
17
When a web page is visited,the browser stores a small file on the user's computer,known as a ___________.

A)cookie
B)biscuit
C)web file
D)temp file
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following software packages store data in files?

A)Word processors
B)Image editors
C)Games
D)Web browsers
E)All of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
19
What is a short sequence of characters that appears at the end of a filename and is preceded by a period called?

A)File extension
B)Filetype extension
C)Filename extension
D)Fileaccess extension
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
20
What type of data file can be opened and viewed in an editor such as Notepad?

A)Text file
B)Output file
C)Input file
D)Binary file
E)None of the above
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
21
The process of ________ a file creates a connection between the file and the program.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
22
A file with the extension.doc usually indicates that the file contains a note written by a doctor.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
23
A ________ file contains data that has been encoded as text,using one of the computer's encoding schemes.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
24
____________ contain information about the user's web browsing session.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
25
The programmer has the option to append data anywhere in an output file.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
26
All types of data files are viewable in a text editor.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
27
When an input file is opened,the read position is initially set to the first item in the file.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
28
The sequential access file is similar to the way a cassette player works.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
29
In a text file,all data is stored as a series of characters.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
30
The term output file is used to describe a file that data is read from.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
31
The use of a buffer increases the system's performance because writing data to memory is faster than writing to a disk.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
32
When a program performs the task of retrieving data from a file,it is known as __________ data from/to the file.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
33
When a program ________ a file,it disconnects the file from the program.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
34
The direct access file is similar to the way an MP3 player works: the player starts from the beginning.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
35
The direct access file is also known as a ___________ access file.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
36
The term input file is used to describe a file that data is written to.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
37
The ________________ usually indicates the type of data stored in the file.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
38
When writing a program to perform a file operation,there are _________ names that you have to work with in the program's code.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
39
The ________ file is used to describe a file that data is written to.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
40
The word OutputFile indicates the _________ in which the file is used.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
41
The _________ marker indicates where the file's content ends.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
42
Data in a file is organized in _______,which are a complete set of data about an item.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
43
The _________ is a small holding section in memory.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 43 flashcards in this deck.