國立暨南國際大學 98 學年度第一學期小考試卷

科目名稱:資訊系統 與網路導論 開課系所:資訊工程 學系 任課教師
吳坤熹
系所別:
年級:
學號:
姓名:
考試日期
2009.10.16

(考試時間: 08:10-08:30)

  1. (5%) What are the four major subsystems of a computer defined in the von Neumann model?


  2. (5%) According to the von Neumann model,  _____________
    stored in memory.
    1. only data are
    2. data and programs are
    3. only programs are
    4. none of the above is
  3. (5%) If the ASCII code for 'C' is 010000112, then the
    ASCII code for 'c' is _____________.
  4. (5%) If the ASCII code for 'D' is 010001002, then the
    ASCII code for 'd' is _____________.
  5. (20%) Change the following to bit patterns.
    1. 0x120
    2. 0x2A34
    3. 0x00
    4. 0xFF

  6. (20%) Convert the following hexadecimal numbers to decimal.
    1. x8F0
    2. x20D
    3. x11
    4. xFF

  7. (10%) What result will you get after running the following code display?
    10 LET School_Name$="National Chi Nan University"
    20 C = ASC(MID$(School_Name$, INSTR(School_Name$, "C"), 1) )
    30 PRINT C
    40 DATA 128, 64, 32, 16, 8, 4, 2, 1
    50 DIM Bit(8)
    60 FOR I = 0 TO 7
    70 READ Bit(I)
    80 IF C AND Bit(I) THEN K=1 ELSE K=0
    90 PRINT CHR$(48+K);
    100 NEXT I
    110 PRINT
    120 END