计算机科学概论练习题与答案.pdfVIP

  • 0
  • 0
  • 约2.05万字
  • 约 9页
  • 2026-02-11 发布于北京
  • 举报

Chapter11ExercisesandAnswers

Answersareinblue.

ForExercises1-15,marktheanswerstrueandfalseasfollows:

A.True

B.False

1.Atextfilestoresbinarydatathatisorganizedintogroupsof8or16bitsthatareinterpretedas

characters.

A

2.Aprogramwritteninahigh-levellanguageisstoredinatextfilethatisalsocalledasourcefile.

A

3.Thetypeofafiledetermineswhichkindsofoperationscanbeperformedonit.

A

4.Thecurrentfilepointerindicatestheendofafile.

B

5.Sequentialaccessanddirectaccesstakeaboutthesameamountoftimetoretrievedata.

B

6.Someoperatingsystemsmaintainaseparatereadpointerandwritepointerforafile.

A

7.UNIXfilepermissionsallowagroupofuserstoaccessafileinvariousways.

A

8.Inmostoperatingsystems,adirectoryisrepresentedasafile.

A

9.Twofiinadirectorysystemcanhavethesamenameiftheyareindifferentdirectories.

A

10.Arelativepathisrelativetotherootofthedirectoryhierarchy.

B

11.Anabsolutepathandarelativepathwillalwaysbethesamelength.

B

12.Anoperatingsystemisresponsibleformanagingtheaccesstoadiskdrive.

A

13.Theseektimeistheamountoftimeittakesfortheheadsofadisktoreachaparticularcylinder.

A

14.Theshortest-seek-time-firstdiskschedulingalgorithmmovestheheadstheminimumamountitcan

tosatisfyapendingrequest.

A

15.Theshortest-seek-time-firstdiskschedulingalgorithmmovestheheadstheminimumamountitcan

tosatisfyapendingrequest.

B

ForExercises16-20,matchthefileextensionswiththeappropria

文档评论(0)

1亿VIP精品文档

相关文档