>
C: ① Pascal ② C ③ Fortran ④ SQL
D: ① Fortran ② SQL ③ Smalltalk ④ Cobol
E: ① Fortran ② C ③ Java ④ Lisp
试题8
从供选择的答案中,选出应填入下面叙述中__?__内的最确切的解答,把相应编号写在答卷的对应栏内。
设某计算机字长为16位。用下列格式表示定点整数和浮点数(浮点娄箕为2)。
15 0 15 11 10 0
二进制补码 5位二进制移码 11位二进制原码
若有一个16位机器码为FFOO(用16位进制表示),则它表示的定点整数和浮点数的十进制真值分别为__A__和__B__。十进制值-16的定点整数和规格化浮点数表示的机器码(用16进制表示)分别为__C__和__D__。
若上述定点补码可表示的整数最大值为X,则X的规格化浮点数的机器码为__E__(允许有不可避免的误差,用16进制表示)。
供选择的答案
A: ① 216-28 ② -(216-28) ③ 28 ④ -28
B: ① -214 ② -0.375 ③ -3×213 ④ -0.25
C~E:① FFFF ② FFFO ③ FFOF ④ OFFF
⑤ OOFF ⑥ FBFF ⑦ 7BFF ⑧ OBFF
⑨ AEOO ⑩ A100 (11)2EOO (12)2BOO
试题9
从供选择的答安中,选出应填入下面叙述中__?__内的最确切的解答,把相应编号写在答卷的对应栏内。
A1 A2 A3
M1 M2 M3
I1 I2 I3
下图是某一计算机的中断排队线路框图。其中I1、I2、I3分别是计算机一级、二级、碱级中断请求信号(I1=0,表示无中断请求;I1=1,表示有中断请求),优先级从高到低;M1、M2、M3为分别对应I1、I2、I3的中断屏蔽位(M1=0,不屏蔽I1的中断请求;M1=1,屏蔽I1中断请求);A1、A2、A3分别是I1、I2、I3中断请求经过排队线路的输出信号(A1=0,表示I级中断无输出;A1=1,表示I级中断有输出)。A1、A2、A3的逻辑表达式分别为__A__、__B__、__C__。
若CPU执行主程序的某条指令时,同时产生一级、二级、三级中断请求,此时主程序的中断屏蔽位M1、M2、M3分别为110、011、111。在整个中断响应和处理过程中不再产生其它中断请求,且中断处理程序中允许中断嵌套,则此并列产生的一、二、三级中断请求的响应由先至后的顺序为 __D__,中断处理完成的顺序为__E__。
供选择的答案
A: ① ②③④⑤⑥⑦⑧⑨⑩
试题10
从供选择的答案中,选出应填入现面叙述中__?__内的最确切的解答,把相应编号写在答卷的对应栏内。
某一双面磁盘,每面32磁道,它的每面的盘格式化32扇区,每个扇区包含4块数据,每块数据为0.5KB,则该磁盘的容量为__A__B。每个盘面都有一个磁头,该盘能按需要可选择顺时针或逆时针旋转。各种操作时间执行如下:
盘旋转一圈时间为320MS,磁头从中心能过32磁道到达连边缘数时间为32MS,读一块数据时间为2MS,则该盘的平均等(Latency)时间最接近于 __B__MS,平均查找(Seek)时间最接近于__C__MS。
设该盘上有三个文件都在同一个盘面上。文件X:在磁道6,扇区2,占有1块;文件Y:在磁道2,扇区6,占有5块;文件Z:在磁道5,扇区3,占有3块。若磁头移动和盘转动不同时进行,磁头的初始位置在磁道0、扇区3,占有3块。若磁头移动和盘转动不同时进行,磁头的初始位置在磁道0,扇区0,要读出文件X的时间接近于__D__ms。同样在初始位置的情况下,若按顺序ZXY一次读出3个文件,总时间接近于 __E__ms。
供选择的答案
A: ① 1.444M ② 2M ③ 4M ④ 4.096M
B~E: ① 10 ② 12 ③ 16 ④ 28
⑤ 40 ⑥ 50 ⑦ 60 ⑧ 80
⑨ 110 ⑩ 160
试题11
从以下叙述中选出5条最确切的叙述,把相应编号依次写在答卷的A~E栏内。
① 在CPU中执行的臬主和逻辑运算都是按位进行且各位之间是独立无关的。
② 可编程逻辑阵列也是主存的一部分
③ 磁带上信息必须定时刷新,否则无法长期保存
④ DMA方式在传送过程中,地址修改、字节计数等操作完全由硬件电路来关
⑤ 通常每个外部设备都有一个接口寄存器与主机交换信息,因此,主机只能用一个唯一地址来访问一个外部设备
⑥ 在单总线结构的计算机系统中,I/O设备和主机之间传送数据方式一般有程序查询、程序中断和DMA三种方式。
⑦ 没有外部设备的计算机称为裸机
⑧ EPROM中存放的信息在计算机执行程序时只能读,且断电后仍能保持原有的信息。
⑨ CRC校验码的生成或校验可用由移位寄存器、半加器和简单的门电路构成的电路来实现。
试题12
从供选择的答案中,选出应填入下面叙述中__?__内的最确切的解答,把相应编号写在答卷的以应栏内。
Toolboxes and menus in many application programs were __A__ for working with the mouse. The mouse controls a pointer on the screen. You move the pointer by __B__ the mouse over a flat surface in the direction you want the pointer to move. If you run out of __C__ to move the mouse, lift it up and put it down again. The pointer moves only when the mouse is __D__ the flat surface. Moving the mouse pointer across the screen does not affect the document, the pointer simply __E_ _a location on the screen. When you press the mouse button, something happens at the location of the pointer.
供选择的答案
A: ① assigned ② designed ③ desired ④ expressed
B: ① putting ② sliding ③ serving ④ taking
C: ① board ② place ③ room `` ④ table
D: ① getting ② going ③ teaching ④ touching
E: ① constructs ② indicates ③ instructs ④ processes
试题13
从供选择的答案中,选出应填入下面叙述中__?__内的最确切的解答,把相应编号写在答卷的对应栏内。
The computer itself does not do all the work on its own. The work is done by a __A__ of the computer, called hardware, and__ B__ of instructions, called software or computer programs. Inside the machine, the instructions are __C__ and carried out to do the work you want to do .A computer without software is nothing more than a mass of metal and plastic On the other hand, software without a computer is simply wasted __D__ because only the computer can use the software and put it to work .When you talk about a computer’s being able to do this or that, you are really referring to the __E__ that accepts your commands and the computer that carries them out.
供选择的答案
A: ① memory ② chip ③ combination ④ wire
B: ① programs ② procedures ③ sets ④ subroutines
C: ① composed ② explained ③ interpreted ④ organized
D: ① disk ② file ③ tape ④ potential
E: ① editor ② hardware ③ keyboard ④ software
试题14
从供选择的答案中,选出应填入下面叙述中 __?__内的最确切的解答,把相应编号写在答卷的对应栏内。
函数__A__在X=0点处连续。
极限等式__B__成立。
积分 (3x)dx=__C__。
函数y=x5-5x4+5x3+1在区间[-1,2]上的最大值是__D__,最小值是__E__。
供选择的答案
A: ① g1(x)=[x]/x ② g2(x)=[x]
③ ④
B: ① ②
③ ④
C: ① g ( 3x ) ② g ( 3x ) / 3 ③ 3 ④ 10
D: ① 1 ② 2 ③ 3 ④ 10
E: ① 0 ② -7 ③ -10 ④ -26
试题15
一九九七年度程序员级上午试题 共有3页 第 1 2 3 页
|