一起答
单选

如图3-3所示的树形文件系统中,方框表示目录,圆圈表示文件,“/”表示路径中的分隔符,“/”在路径之首时表示根目录。

图3-3 某文件系统结构图    假设当前目录是D1,进程A可以按以下两种方式打开同一个文件f1。    方式1) fd1=open(“/D1/W1/f1”,O_RDONLY);    方式2) fd1=open(“(26) /f1”,O_RDONLY):

  • A..../D2/W1
  • B.D1/W1
  • C.W1
  • D./W1
参考答案
查看试卷详情
相关试题
  1. (99)

    • A.add
    • B.combination
    • C.difference
    • D.condition
  2. (98)

    • A.earlier
    • B.front
    • C.backward
    • D.later
  3. (96)

    • A.past
    • B.other
    • C.rest
    • D.host
  4. (97)

    • A.voice
    • B.mass
    • C.quantity
    • D.quality
  5. By using MP3, a 600M-byte music CD can be(70)to 50M bytes or less. It can be streamed(downloaded in chunks)so that you can begin listening to the opening bars while the(71)of the file arrives in the background. And, most important, MP3 music files retain good listening(72)that(73)compression schemes lacked. That(74)of features makes accessing and distributing music on the Web practical for the first time.

    • A.pressed
    • B.compressed
    • C.press
    • D.compress
  6. (94)

    • A.execute
    • B.interrupt
    • C.run
    • D.maintain
  7. The following suggestions increase program's(73)and make them easier to(74):

      Use a standard indention technique, blank lines, form. feeds, and spaces.

      Insert plenty of comments into your code.

    • A.security
    • B.reliability
    • C.readability
    • D.usability
  8. (92)

    • A.locates
    • B.allocates
    • C.looks for
    • D.finds
  9. In C language,(70)variables have to be defined outside of any function, this(71)actual storage for it.

    • A.internal
    • B.export
    • C.output
    • D.external
  10. when a string constant is written in C program, the eompiler creates(75)of characters containing the characters of the string, and terminating it with "\0".

    • A.a group
    • B.an array
    • C.a set
    • D.a series