Interrupt Service Routines (ISR) are the )ortions of the program code that handle the inte

题目

Interrupt Service Routines (ISR) are the )ortions of the program code that handle the interrupt requests. When an Interrupt is triggere i (either a hardware or software interrupt), the processor breaks away from the current task. moves the (72) to the ISR, and then continues operation. When the ISR has comr Leted, the processor retums execution to the previous location.

A.memory

B.function

C.instruction pointer D variable

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Interrupts are an important part of embedded

systems. Consequently, many compiler vendors

offer an extension to standard C to support interrupts.

Typically, the keyword is __interrupt. The following

code uses __interrupt to define an interrupt service

routine (ISR). Point out problems in the code.

__interrupt double compute_area (double radius)

{

double area = PI * radius * radius;

printf("\nArea = %f", area);

return area;

}


正确答案:
 

第2题:

( )refers to the range of computer hardware and OS platforms on which the source code of a program can be compiled and run.

A.Usability
B.Portability
C.Reliability
D.Maintainability

答案:B
解析:
可移植性指的是计算机硬件和操作系统平台的范围,在这些平台上都可以编译和运行程序的源代码。A可使用性 B可移植性 C可靠性 D可维护性

第3题:

To document your code can increase program(72) and make program easier to(73).

A.reliability

B.security

C.readability

D.usability


正确答案:C

第4题:

public class Test {   public static void main (String args) {  string foo = “blue”;  string bar = foo;   foo = “green”;   System.out.printIn(bar);   }   }   What is the result?()  

  • A、 An exception is thrown.
  • B、 The code will not compile.
  • C、 The program prints “null”
  • D、 The program prints “blue”
  • E、 The program prints “green”

正确答案:D

第5题:

An operating system also has to be able to service peripheral( ),such as timers,motors,sensors,communicationdevices,disks,etc.All of those can request the attention of the OS( ),i.e.at the time that they want to use the OS,theOS has to make sure it's ready to service the requests.Such a request for attention is called an interrupt.There are twokinds of interrupts:Hardware interrupts and Software interrupts.The result of an inteiTup:is also a triggering of theprocessor,so that it jumps to a( )address.Examples of cases where software interrupts appear are perhaps a divide by zero,a memory segmentation fault,etc.So this kind of interrupt is not caused by a hardware event but by a specificmachine language operation code.Many systems have more than one hardware interrupt line,and the hardwaremanufacturer typically assembles all these interrupt lines in an interrupt(请作答此空).An Interrupt( )is a piece of hardware that shields the OS from the electronic details of the interrupt lines,so that interrupts can be queued and none of themgets lost.

A.vector
B.array
C.queue
D.ist

答案:A
解析:

第6题:

Which reference code is displayed during the boot process that signals that an administrator may interrupt the boot process to enter the SMS Menu?()

A.517

B.B0G1

C.E1F1

D.00A8


参考答案:C

第7题:

After analyzing the source code,()generates machine instructions that will amy out the meaning of the program at a later time.

A.an Interpreter
B.A.linker
C.A.compiler
D.A.converter

答案:C
解析:
本题考查计算机专业英语知识在分析了源代码之后,()生成了机器指令,将在以后执行程序的含义A 翻译B 链接器C 编译器D 转换器

第8题:

● To document your code can increase program (72) and make program easier to (73).

(72)

A. reliability

B. security

C. readability

D. usability

(73)

A. execute

B. interpret

C. compile

D. maintain


正确答案:C,D

第9题:

其中关于服务代码(SERVICE CODE)下面的描述是正确的?()

  • A、服务代码( Service code)可以帮助客户提取他/她的车辆在非营业时间
  • B、服务代码( Service code)是单独的维修项目
  • C、服务代码( Service code)经车间发出
  • D、服务代码( Service code)描述了保养工作的成本
  • E、服务代码( Service code)可通过仪表读出

正确答案:D,E

第10题:

public class foo {   public static void main (stringargs)   try {return;}   finally {system.out.printIn(“Finally”);}   }     What is the result?()  

  • A、 The program runs and prints nothing.
  • B、 The program runs and prints “Finally”
  • C、 The code compiles, but an exception is thrown at runtime.
  • D、 The code will not compile because the catch block is missing.

正确答案:B

更多相关问题