2020 Embedded Software Design(Dalian University of Technology) 最新满分章节测试答案
- 1. Overview Objective questions
- 2. Overview of Embedded C Programming Objective questions
- 3. ARM C Program Optimization Objective questions
- 4. The Linux Operating System Objective questions
- 5. Linux C Programming Toolchain and Makefile Section 5-1 Objective questions
- 5. Linux C Programming Toolchain and Makefile Section 5-2 Objective questions
- 6. Construction of Embedded Software Platform Objective questions
- 7. File Directory and Memory Objective questions
- 8. Processes and Threads Objective questions
- 9. Signals Objective questions
- 10. Interprocess communication Objective questions
- 11. Sockets Objective questions
- 12. Module and Driver and the Example of Driver Section 12-1 Objective questions
- 12. Module and Driver and the Example of Driver Section 12-2 Objective questions
本答案对应课程为:点我自动跳转查看
本课程起止时间为:2020-09-14到2021-02-02
本篇答案更新状态:已完结
1. Overview Objective questions
1、 问题:Which of the following is wrong about the description of embedded system ()
选项:
A:It can solve certain problems.
B:It is no different from general-purpose computers in the nature of technology.
C:It has more powerful functions than general-purpose computers.
D:It has strict requirements on volume, power consumption, reliability and cost.
答案: 【It has more powerful functions than general-purpose computers.】
2、 问题:Which of the following is not an inherent part of an embedded system ()
选项:
A:Processor
B:Peripheral circuit
C:Embedded operating system
D:Embedded application software
答案: 【Embedded operating system】
3、 问题:Which of the following programming languages has the highest execution efficiency()
选项:
A:Assembly language
B:C language
C:C++ language
D:JAVA language
答案: 【Assembly language】
4、 问题:Which is the advantage of using embedded operating system()
选项:
A:The system runs faster
B:The system has higher execution efficiency
C:Application softwares run faster
D:Programmers can focus on problems
答案: 【Programmers can focus on problems】
5、 问题:Directly for hardware programming, can’t ()
选项:
A:Access processor’s registers
B:Control the working mode and process of the hardware
C:Using the scheduling mechanism of operating system
D:Read-write memory
答案: 【Using the scheduling mechanism of operating system】
2. Overview of Embedded C Programming Objective questions
1、 问题:Which of the following is wrong about the description of the module ()
选项:
A:The module division should conform to the principle of high cohesion and low coupling.
B:In C language, the source file and the corresponding header file form a module.
C:Global variables shared by several modules can be defined in the header files shared by these files.
D:In the embedded system, each hardware device corresponds to a module.
答案: 【Global variables shared by several modules can be defined in the header files shared by these files.】
2、 问题:Which of the following is wrong about the description of the interrupt service routine()
选项:
A:It can return the computed result to the main function.
B:It should be as short as possible to enhance the real-time of the system.
C:It should not include complex operations.
D:It cannot pass arguments.
答案: 【It can return the computed result to the main function.】
3、 问题:Which of the following is correct about the description of the interrupt model of embedded system without operating system()
选项:
A:Complete the corresponding transaction in the interrupt program.
B:Only interrupts are registered in an interrupt program.
C:When an interrupt occurs, the interrupt service routine registers the interrupt type in the stack.
D:The main function executes the actual interrupt task through infinite loop, and does not distinguish the interrupt priority.
答案: 【Only interrupts are registered in an interrupt program.】
4、 问题:When using C language to simulate object-oriented features, the correct description is ()
选项:
A:Its structure is exactly the same as the function of the class.
B:Function pointers are used to implement attribute members of a class.
C:Inheritance is implemented through struct inclusion.
D:A structure can contain member functions.
答案: 【Inheritance is implemented through struct inclusion.】
5、 问题:Which of the following is wrong about the description of the use of C language for "object-oriented programming"()
选项:
A:It can implement better program structure.
B:It can effectively organize the display of Chinese characters.
C:It can implement the function of some ‘class’.
D:It is less efficient in menu design.
答案: 【It is less efficient in menu design.】
3. ARM C Program Optimization Objective questions
1、 问题:Which of the following is wrong about the description of the program optimization of ARM C()
选项:
A:It can analyze the running time of the program.
B:It can guide assembly program design.
C:It can analyze whether the program is efficient.
D:It can guide C programming design.
答案: 【It can guide assembly program design.】
2、 问题:Which of the following is correct about the description of the data type is ()
选项:
A:Shorter data types save more storage space.
B:Try to use character variables when passing parameters.
C:It is most efficient to use integer variables.
D:Try to use a short data type in the loop to speed up execution.
答案: 【It is most efficient to use integer variables.】
3、 问题:Which of the following is correct about the description of loop optimization is ()
选项:
A:Change the loop variable by using the plus count.
B:Change the loop variable by using the minus count.
C:’while’ should be used when the number of loops is uncertain.
D:Loop unrolling can improve the quality of program.
答案: 【Change the loop variable by using the minus count.】
4、 问题:Which of the following is wrong about the description of pointer aliasing()
选项:
A:Try to avoid using pointers.
B:Using Pointers may reduce program efficiency.
C:The compiler cannot recognize the pointer aliasing.
D:When using bit fields, we should pay attention to pointer aliasing.
答案: 【Try to avoid using pointers.】
5、 问题:Which of the following is wrong about the description of the struct()
选项:
A:In a struct, short members are defined first and long members are defined later.
B:Struct members should be boundary aligned as much as possible.
C:Array elements should be placed at the end of the struct.
D:__packet keyword can improve the access speed of the struct.
答案: 【__packet keyword can improve the access speed of the struct.】
4. The Linux Operating System Objective questions
1、 问题:The characteristics of Linux do not include()
选项:
A:Micro kernel.
B:Meet the POSIX standard.
C:It can run on the server.
D:It can run on embedded devices.
答案: 【Micro kernel.】
2、 问题:Which of the following is not a feature of ‘shell’ ()
选项:
A:It’s a low-level interface to the operating system.
B:You can type shell commands from the console.
C:You can write shell scripts.
D:Linux supports multiple ‘shell’.
答案: 【It’s a low-level interface to the operating system.】
3、 问题:Which of the following ‘shell’ environment variables identifies the system executable file path ()
选项:
A:HOME
B:PATH
C:TERM
D:PWD
答案: 【PATH】
4、 问题:Which of the following paths holds all the device files of the system ()
选项:
A:bin
B:dev
C:lib
D:root
答案: 【dev】
5、 问题:Which of the following commands is used to view the current process of the system ()
选项:
A:rm
B:touch
C:mkdir
D:ps
答案: 【ps】
6、 问题:Which of the following commands is used to configure the IP address of network card()
选项:
A:ping
B:telnet
C:ifconfig
D:ftp
答案: 【ifconfig】
5. Linux C Programming Toolchain and Makefile Section 5-1 Objective questions
1、 问题:What are the features of the cross compiler()
选项:
A:The compiler runs on the host machine, and compiler results also run on the host machine.
B:The compiler runs on the target machine, and compiler results also run on the target machine.
C:The compiler runs on the host machine, and compiler results run on the target machine.
D:The compiler runs on the target machine, and compiler results run on the host machine.
本文章不含期末不含主观题!!
本文章不含期末不含主观题!!
支付后可长期查看
有疑问请添加客服QQ 2356025045反馈
如遇卡顿看不了请换个浏览器即可打开
请看清楚了再购买哦,电子资源购买后不支持退款哦