Deck 7: File Handling and Applications

ملء الشاشة (f)
exit full mode
سؤال
The combination of the disk drive plus the complete hierarchy of directories in which a file resides is its ____.

A) pointer
B) path
C) locator
D) stream
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
____ are groups of fields that go together for some logical reason.

A) Tables
B) Databases
C) Columns
D) Records
سؤال
Files exist on ____ storage devices,such as hard disks,DVDs,USB drives,and reels of magnetic tape.

A) permanent
B) transient
C) scalable
D) optical
سؤال
____ is the more general term for an entity that organizes files.

A) Hierarchy
B) Path
C) Structure
D) Directory
سؤال
A database holds related file data in ____ .

A) fields
B) records
C) control breaks
D) tables
سؤال
Programmers usually use the word "write" to mean "produce hard copy output."
سؤال
You update the transaction file with data from the master file.
سؤال
____ storage is not lost when a computer loses power.

A) Temporary
B) Intermediate
C) Permanent
D) Variable
سؤال
Characters are made up of smaller elements called ____.

A) fields
B) records
C) bits
D) bytes
سؤال
Directories and ____ are organization units on storage devices.

A) folders
B) files
C) partitions
D) streams
سؤال
Images and music are contained in binary files.
سؤال
The keyboard and printer are the default input and output devices.
سؤال
When you write a program that stores a value in a variable,you are using ____ storage.

A) permanent
B) temporary
C) resilient
D) resident
سؤال
You can merge more than two files.
سؤال
You can easily merge files even if each file contains a different record layout.
سؤال
A ____ is a collection of data stored on a nonvolatile device in a computer system.

A) computer message
B) computer interface
C) computer file
D) computer selector
سؤال
To write a program that produces a report of employees by department number,the records must be grouped by department number before you begin processing.
سؤال
When you copy data from RAM into a file on a storage device,you read to the file.
سؤال
The terms "parent" and "child" can refer to file backup generations,but they are also used for a different purpose in object-oriented programming.
سؤال
Files in which records must be accessed immediately are sometimes called instant access files.
سؤال
When you copy data from a file on a storage device into RAM,you are ____ from the file.

A) writing
B) uploading
C) outputing
D) reading
سؤال
____ is processing that involves performing the same tasks with many records,one after the other.

A) Volume processing
B) Batch processing
C) Online processing
D) Standard processing
سؤال
When the records in a file are sorted in order from lowest to highest values,the records are in ____ order.

A) descending
B) bubble
C) ascending
D) merged
سؤال
A ____ is a copy that is kept in case values need to be restored to their original state.

A) read-only file
B) backup file
C) primary file
D) secondary file
سؤال
When you store data in a computer file on a persistent storage device,you ____________________ to the file.
سؤال
To generate a control break report,your input records must be organized in ____ order based on the field that will cause the breaks.

A) random
B) ascending
C) sequential
D) repeatable
سؤال
A(n)____________________ is a small unit of storage that,for example,holds only one character in a simple text file.
سؤال
When businesses store data items on computer systems,they are often stored in a framework called the data ____________________ that describes the relationships between data components.
سؤال
When a program uses a ____,it reads all the records in the file from beginning to end,processing them one at a time.

A) random access file
B) serial file
C) retired file
D) sequential file
سؤال
A program in which the user makes direct requests is a(n)____________________ program.
سؤال
When you ____ a file,it is no longer available to your application.

A) examine
B) rewrite
C) close
D) index
سؤال
____ files involves combining two or more files while maintaining the sequential order of the records.

A) Merging
B) Sorting
C) Splitting
D) Dividing
سؤال
Because they enable you to locate a particular record directly (without reading all of the preceding records),random access files are also called ____ files.

A) direct access
B) indirect access
C) sequential access
D) pointed access
سؤال
The ____ file holds temporary data that is used to update the master file.

A) directory
B) transaction
C) merge
D) database
سؤال
A(n)____________________ file holds more temporary data than a master file.
سؤال
A ____ break is a break in the logic of the program that is based on the value of a single variable.

A) multiple-level control
B) simple control
C) serial control
D) single-level control
سؤال
____ applications require that a record be accessed immediately while a client is waiting.

A) Real-time
B) Batch
C) Database
D) Sort
سؤال
A ____ is a temporary detour in the logic of a program.

A) sequence break
B) control break
C) control sequence
D) break control
سؤال
The saved version of a master file is the ____ file;the updated version is the child file.

A) peer
B) subordinate
C) parent
D) child
سؤال
In most programming languages,before an application can use a data file,it must ____.

A) open the file
B) close the file
C) read the file
D) prepare the file
سؤال
Match each term with a statement below.


-Groups of related records

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
Match each term with a statement below.


-Letters,numbers,and special symbols,such as "A","7",and "$"

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
Match each term with a statement below.


-Single useful data items that are composed of one or more characters

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
Match each term with a statement below.


-A file in which records can be located in any order

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
What does the term batch processing mean?
سؤال
Match each term with a statement below.


-Billions of bytes

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
How do you merge two alphabetically ordered input files into a new output file when you wish the output file to be in alphabetical order?
سؤال
Match each term with a statement below.


-Holds complete and relatively permanent data

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
Define and give examples of text files and binary files.
سؤال
Match each term with a statement below.


-Is lost when the program ends or the computer loses power

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
What happens when you fail to close an output file?
سؤال
Why might programmers use a control break program?
سؤال
How are the keyboard and monitor used in most programming languages?
سؤال
Describe what is required to merge more than two files.
سؤال
What is a database?
سؤال
Match each term with a statement below.


-Millions of bytes

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
Match each term with a statement below.


-Thousands of bytes

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
Match each term with a statement below.


-Is not lost when a computer loses power

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
سؤال
Explain the difference in how programmers use the words print,write,and display.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/59
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 7: File Handling and Applications
1
The combination of the disk drive plus the complete hierarchy of directories in which a file resides is its ____.

A) pointer
B) path
C) locator
D) stream
B
2
____ are groups of fields that go together for some logical reason.

A) Tables
B) Databases
C) Columns
D) Records
D
3
Files exist on ____ storage devices,such as hard disks,DVDs,USB drives,and reels of magnetic tape.

A) permanent
B) transient
C) scalable
D) optical
A
4
____ is the more general term for an entity that organizes files.

A) Hierarchy
B) Path
C) Structure
D) Directory
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
5
A database holds related file data in ____ .

A) fields
B) records
C) control breaks
D) tables
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
6
Programmers usually use the word "write" to mean "produce hard copy output."
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
7
You update the transaction file with data from the master file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
8
____ storage is not lost when a computer loses power.

A) Temporary
B) Intermediate
C) Permanent
D) Variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
9
Characters are made up of smaller elements called ____.

A) fields
B) records
C) bits
D) bytes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
10
Directories and ____ are organization units on storage devices.

A) folders
B) files
C) partitions
D) streams
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
11
Images and music are contained in binary files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
12
The keyboard and printer are the default input and output devices.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
13
When you write a program that stores a value in a variable,you are using ____ storage.

A) permanent
B) temporary
C) resilient
D) resident
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
14
You can merge more than two files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
15
You can easily merge files even if each file contains a different record layout.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
16
A ____ is a collection of data stored on a nonvolatile device in a computer system.

A) computer message
B) computer interface
C) computer file
D) computer selector
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
17
To write a program that produces a report of employees by department number,the records must be grouped by department number before you begin processing.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
18
When you copy data from RAM into a file on a storage device,you read to the file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
19
The terms "parent" and "child" can refer to file backup generations,but they are also used for a different purpose in object-oriented programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
20
Files in which records must be accessed immediately are sometimes called instant access files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
21
When you copy data from a file on a storage device into RAM,you are ____ from the file.

A) writing
B) uploading
C) outputing
D) reading
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
22
____ is processing that involves performing the same tasks with many records,one after the other.

A) Volume processing
B) Batch processing
C) Online processing
D) Standard processing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
23
When the records in a file are sorted in order from lowest to highest values,the records are in ____ order.

A) descending
B) bubble
C) ascending
D) merged
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
24
A ____ is a copy that is kept in case values need to be restored to their original state.

A) read-only file
B) backup file
C) primary file
D) secondary file
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
25
When you store data in a computer file on a persistent storage device,you ____________________ to the file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
26
To generate a control break report,your input records must be organized in ____ order based on the field that will cause the breaks.

A) random
B) ascending
C) sequential
D) repeatable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n)____________________ is a small unit of storage that,for example,holds only one character in a simple text file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
28
When businesses store data items on computer systems,they are often stored in a framework called the data ____________________ that describes the relationships between data components.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
29
When a program uses a ____,it reads all the records in the file from beginning to end,processing them one at a time.

A) random access file
B) serial file
C) retired file
D) sequential file
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
30
A program in which the user makes direct requests is a(n)____________________ program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
31
When you ____ a file,it is no longer available to your application.

A) examine
B) rewrite
C) close
D) index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
32
____ files involves combining two or more files while maintaining the sequential order of the records.

A) Merging
B) Sorting
C) Splitting
D) Dividing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
33
Because they enable you to locate a particular record directly (without reading all of the preceding records),random access files are also called ____ files.

A) direct access
B) indirect access
C) sequential access
D) pointed access
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
34
The ____ file holds temporary data that is used to update the master file.

A) directory
B) transaction
C) merge
D) database
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
35
A(n)____________________ file holds more temporary data than a master file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
36
A ____ break is a break in the logic of the program that is based on the value of a single variable.

A) multiple-level control
B) simple control
C) serial control
D) single-level control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
37
____ applications require that a record be accessed immediately while a client is waiting.

A) Real-time
B) Batch
C) Database
D) Sort
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
38
A ____ is a temporary detour in the logic of a program.

A) sequence break
B) control break
C) control sequence
D) break control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
39
The saved version of a master file is the ____ file;the updated version is the child file.

A) peer
B) subordinate
C) parent
D) child
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
40
In most programming languages,before an application can use a data file,it must ____.

A) open the file
B) close the file
C) read the file
D) prepare the file
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
41
Match each term with a statement below.


-Groups of related records

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
42
Match each term with a statement below.


-Letters,numbers,and special symbols,such as "A","7",and "$"

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
43
Match each term with a statement below.


-Single useful data items that are composed of one or more characters

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
44
Match each term with a statement below.


-A file in which records can be located in any order

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
45
What does the term batch processing mean?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
46
Match each term with a statement below.


-Billions of bytes

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
47
How do you merge two alphabetically ordered input files into a new output file when you wish the output file to be in alphabetical order?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
48
Match each term with a statement below.


-Holds complete and relatively permanent data

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
49
Define and give examples of text files and binary files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
50
Match each term with a statement below.


-Is lost when the program ends or the computer loses power

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
51
What happens when you fail to close an output file?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
52
Why might programmers use a control break program?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
53
How are the keyboard and monitor used in most programming languages?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
54
Describe what is required to merge more than two files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
55
What is a database?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
56
Match each term with a statement below.


-Millions of bytes

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
57
Match each term with a statement below.


-Thousands of bytes

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
58
Match each term with a statement below.


-Is not lost when a computer loses power

A)files
B)kilobytes
C)characters
D)random access file
E)master file
F)megabytes
G)volatile storage
H)fields
I)gigabytes
J)nonvolatile storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
59
Explain the difference in how programmers use the words print,write,and display.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.