CSCE 101 Exam 2 Questions and
Answers Graded A+
24. What is a file? - Correct answer-Group of interrelated data, stored in secondary
memory. Two types: text or binary.
25. Distinguish between a file and a directory - Correct answer-File: group of
interrelated data. Contains minimum details because only information of particular
file. Directory: Used to manage the list of files on a computer, contains the
information of the list of files which is stored in a specific location.
29. Why is the term binary file a misnomer? - Correct answer-If the stream of bits
in the binary file is without interpretation, it looks like garbage data so it is a
misnomer.
30. Distinguish between a file type and a file extension. - Correct answer-Type of
info in document is file type. (audio, image, rich text file). Extension: File name
followed by the (.) symbol. Like ".wav", ".jpg" ".gif"
©COPYRIGHT 2025, ALL RIGHTS RESERVED 1
, 34. What does it mean to open and close a file? - Correct answer-OS keeps track of
opened files currently in the directory in a small table. OS also keeps track of
closing files, removes entry from the open file table which is not active
35. What does it mean to truncate a file? - Correct answer-To erase or delete the
entire contents from the file. Operation removes only the content not the
administrative details in the file table.
45. What is a path? - Correct answer-General form of the name of a file or
directory, specifies a unique location in a file system.
46. Distinguish between an absolute path and a relative path. - Correct answer-
Absolute: specifics the path of the file step-by-step from root of the directory.
(/home/test/sample.txt) Relative: specifies the name from the current working
directory. (../test/sample.txt)
51. What is the worst bottleneck in a computer system? - Correct answer-The disk
drive because the speed of data transfer on it is low
53. Name and describe three disk scheduling algorithms. - Correct answer-FCFS
(First-come, First Served). SSTF (Shortest-seek-time-first). SCAN. Starts from one
end of disk, servicing requests until end, then reverses direction.
©COPYRIGHT 2025, ALL RIGHTS RESERVED 2
Answers Graded A+
24. What is a file? - Correct answer-Group of interrelated data, stored in secondary
memory. Two types: text or binary.
25. Distinguish between a file and a directory - Correct answer-File: group of
interrelated data. Contains minimum details because only information of particular
file. Directory: Used to manage the list of files on a computer, contains the
information of the list of files which is stored in a specific location.
29. Why is the term binary file a misnomer? - Correct answer-If the stream of bits
in the binary file is without interpretation, it looks like garbage data so it is a
misnomer.
30. Distinguish between a file type and a file extension. - Correct answer-Type of
info in document is file type. (audio, image, rich text file). Extension: File name
followed by the (.) symbol. Like ".wav", ".jpg" ".gif"
©COPYRIGHT 2025, ALL RIGHTS RESERVED 1
, 34. What does it mean to open and close a file? - Correct answer-OS keeps track of
opened files currently in the directory in a small table. OS also keeps track of
closing files, removes entry from the open file table which is not active
35. What does it mean to truncate a file? - Correct answer-To erase or delete the
entire contents from the file. Operation removes only the content not the
administrative details in the file table.
45. What is a path? - Correct answer-General form of the name of a file or
directory, specifies a unique location in a file system.
46. Distinguish between an absolute path and a relative path. - Correct answer-
Absolute: specifics the path of the file step-by-step from root of the directory.
(/home/test/sample.txt) Relative: specifies the name from the current working
directory. (../test/sample.txt)
51. What is the worst bottleneck in a computer system? - Correct answer-The disk
drive because the speed of data transfer on it is low
53. Name and describe three disk scheduling algorithms. - Correct answer-FCFS
(First-come, First Served). SSTF (Shortest-seek-time-first). SCAN. Starts from one
end of disk, servicing requests until end, then reverses direction.
©COPYRIGHT 2025, ALL RIGHTS RESERVED 2