问题 单项选择题

产生中断时;由硬件保护并更新程序计数器PC的内容,其主要目的是()。

A.节省内存空间并提高内存空间的利用率

B.提高中断处理程序的运行速度

C.简化中断处理程序的编写过程

D.快速进入中断处理程序并正确返回被中断的程序

答案

参考答案:D

解析:本题考查计算机硬件基础知识。程序计数器(PC)记录的是待执行的指令的地址。发生中断时,需要保护CPU的工作现场,其中由硬件保护并更新程序计数器的内容,可以快速进入中断处理程序并正确返回被中断的程序。

完形填空
The happy Prince was blind﹙瞎﹚。The swallow﹙燕子﹚sat on his shoulder and told him many   __.
He told him about so many amazing places __  __ Nile River﹙尼罗河﹚,the desert in Africa and so on. The Happy Prince greatly enjoyed his stories. He wanted to know   __ was happening in the city, so he asked the swallow to fly over the city to have a look. The Swallow did as the Prince asked. He _  ___ through the sky. Below him, he saw rich people living __ __ in their homes. He saw poor people were in cold and hunger.__  __ one bridge, two boys shook their bodies t stay warm. The Swallow told the Prince everything. The Happy Prince became even __  _ and told the Swallow to take his gold to the cold and hungry people. Heavy snow fell off the sky on the city. Life for the swallow was becoming more difficult._  __ he still didn’t leave the Prince, he flew to the Prince’s shoulder fell dead at his feet. At the same time, there was a loud“Crack”and the Prince _  _  two halves, he might be very sad.The next morning, people in the city found them_  _ and took them out of the square. The angel found them and made them live forever in the city of gold.
小题1:
A.magazinesB.storiesC.novelsD.words
小题2:
A.such asB.at leastC.so farD.because of
小题3:
A.howB.whatC.whyD.when
小题4:
A.walkedB.ranC.flewD.rode
小题5:
A.normallyB.surprisinglyC.comfortablyD.personally
小题6:
A.FromB.InC.UnderD.With
小题7:
A.sadderB.happierC.sadD.happy
小题8:
A.AndB.ButC.SoD.Because
小题9:
A.brought outB.fell downC.made upD.broke into
小题10:
A.bothB.allC.eachD.none
名词解释