计算机组成作业,计算机组成作业(题)

a7f4a3f590493a1e451dd952a488fd7c.gif 计算机组成作业(题)

(6页)

fa0785dc4c0884b518f56c92821b39cb.png

本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦!

19.90 积分

1. Immediately after the CPU executes an instruction that is neither a branch nor a jump instruction, the program counter (a) remains unchanged(b) is incremented to point to the following instruction(c) is incremented by one(d) has a value that cannot be determined without further information 2. The program counter contains (a) the number of times a program has been executed(b) the address of the CPU instruction that is about to be executed(c) the amount of memory a program is currently using(d) the number of CPU instructions a program has executed so far 3. In one computer, the bytes with addresses A, A+1, A+2 and A+3 contain the integer 256, and the variable declared with int * a; has the value A. In a different computer, the bytes with addresses B, B+1, B+2 and B+3 also contain the integer 256, and the variable declared with int * b has the value B. Which of the following are necessarily true? I. The contents of A+1 are equal to the contents of B+1. II.The contents of A+1 are equal to the contents of B+2.III.*a == *b(a) I only(b) III only(c) II and III only(d) I and III only 4. A jump instruction (a) changes the program counter only if its operand is equal to zero(b) changes a pointer to point to the next element of an array(c) increases the program counter(d) unconditionally sets the program counter to its operand 5. A branch instruction (a) sets the program counter to one of many possible values(b) unconditionally sets the program counter to its operand(c) sets the program counter to one of two possible values(d) increases the program counter by a fixed amount 6. A CPU register is a word of CPU memory that (a) records the results of periodic CPU diagnostics(b) is automatically loaded when a CPU instruction refers to a word of normal memory(c) houses a critical variable for the duration of the execution of a program(d) is explicitly loaded and unloaded from normal memory by compiler-generated instructions 7. Which of the following is a good reason (are good reasons) to equip the CPU with small amounts of fast memory? I. To make the design of the compiler simpler II.To make some CPU instructions smallerIII. To make some CPU instructions faster (a) III only(b) I, II, and III(c) II and III only(d) II only 8. Which of the following numerical operations is most likely to lead to loss of precision? (a) Integer addition(b) Floating-point multiplication(c) Floating-point addition(d) Integer multiplication 9. A memory hierarchy (a) limits programs’ size but allows them to execute more quickly.(b) takes advantage of the speed of SRAM and the capacity of disk.(c) makes programs execute more slowly but allows them to be bigger.(d) is a way of structuring memory allocation decisions. 10. Compared to dynamic RAM (SRAM), disks are I.more expensive per megabyte.II.slower per word access.III.more persistent.(a) I only.(b) II only.(c) II and III on 关 键 词: 计算机 组成 作业

4d91c43bfc72ca913299809b07b4968f.gif  天天文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值