Upgrade to remove ads
Only ₩37,125/year
- Science
- Computer Science
-
Flashcards
-
Learn
-
Test
-
Match
-
Flashcards
-
Learn
-
Test
-
Match
Terms in this set (22)
a file that data is written to is known as a(n)
output file
a file that data is read from is know as a(n)
Input file
Before a file can be used by a program, it must be
Opened
When a program is finished using a file, it should do this.
Close the file
The contents of this type of file can be viewed in an editor such as Notepad.
Text file
This type of file contains data that has not been converted to text
Binary
When working with this type of file, you can access its data from the beginning of the file to the end of the file
sequential file
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
Direct access
This is a small "holding section" in memory that many systems write data to before writing the data to a file.
buffer
This is a character or set of characters that marks the end of a piece of data
delimiter
This is a character or set of characters that marks the end of a file
EOF marker
This marks the location of the next item that will be read from a file.
Read position
When a file is opened in this mode, data will be written at the end of the file's existing contents.
append mode
The expression NOT eof(myFile) is equivalent to
eof(myFile) == False
T/F when working with a sequential access file, you can jump directly to any piece of data in the file without reading the data that comes before it
F
T/F In most languages, when you open an output file and that file already exists on the disk, the contents of the existing file will be erased
T
T/F the process of opening a file is only necessary with input files. Output files are automatically opened when data is written to them
F
T/F The purpose of an EOF marker is to indicate where a field ends. Files typically contain several EOF markers
F
T/F When an input file is opened, its read position is initially set to the first item in the file
T
T/F When a file that already exists is opened in append mode, the files existing contents are eased
F
T/F In control break logic, the program performs some ongoing task(such as processing the items in a file), but permanently stops the task when a control variable reaches a specific value or changes its value
F
this is a single piece of data within a record
field
Sets with similar termsCS ch. 6
15 terms
mary_jenkins8
Chapter 6 prelab
15 terms
candilocks
Chapter 6 Python terms
15 terms
megan_adell_zollars
Starting out with python chapter 6
15 terms
lonzo_rust
Other sets by this creatorQuiz 2 Resilience and Well-Being
49 terms
jordan0879
Resilience and Well-Being Quiz 1
65 terms
jordan0879
Resilience and Well-Being Quiz 1
65 terms
jordan0879
Unit 1 and 2
48 terms
jordan0879
Verified questionsCOMPUTER SCIENCE
Illustrate the operation of HEAP-EXTRACT-MAX on the heap A = ⟨15, 13, 9, 5, 12, 8, 7, 4, 0, 6, 2, 1⟩.
Verified answer
COMPUTER SCIENCE
Another important new area of computer science is cloud computing, which relies on a computer network, along with networking software, to provide transparent access to remote data and applications. Read about this new model of data and software access and write a paper describing some of the important uses, as well as potential risks, of this new information structure.
Verified answer
COMPUTER SCIENCE
Each repetition of a loop is known as a(n) __________. a. cycle b. revolution c. orbit d. iteration
Verified answer
COMPUTER SCIENCE
Equal keys pose a problem for the implementation of binary search trees. a. What is the asymptotic performance of TREE-INSERT when used to insert n items with identical keys into an initially empty binary search tree? We propose to improve TREE-INSERT by testing before line 5 to determine whether z.key = x.key and by testing before line 11 to determine whether z.key = y.key.
Verified answer
Recommended textbook solutionsInformation Technology Project Management: Providing Measurable Organizational Value
5th EditionJack T. Marchewka
346 solutions
Information Technology Project Management: Providing Measurable Organizational Value
5th EditionJack T. Marchewka
346 solutions
Fundamentals of Database Systems
7th EditionRamez Elmasri, Shamkant B. Navathe
687 solutions
Service Management: Operations, Strategy, and Information Technology
7th EditionJames Fitzsimmons, Mona Fitzsimmons
103 solutions
Other Quizlet setsENV 115 Midterm 2 Review
112 terms
josad739
BIO 314 Ch 1 HW
13 terms
superjryn
EIEC 3140: Assessments
47 terms
Madison_Nenadal
Informatics and Professional Identity
16 terms
stargemini19