聚合答案库

免费查题,不限次数,
扫描二维码立即使用。

了解更多
免费中国大学MOOC Embedded Software Design(Dalian University of Technology)1458265161 最新慕课答案-聚合答案库
作者:20782912023-03-04 00:00 点赞 收藏 热度:17

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

10. Interprocess communication

Objective questions

1、单选题:
​Which of the following is not IPC mode()‌
选项:
A: Semaphore
B: Signal
C: Shared memory
D: Message queue
答案: 【 Signal

2、单选题:
‎Which of the following is correct about the description of the pipe()‎
选项:
A: Pipe is full duplex work.
B: Pipe is simplex work.
C: Nameless pipes can communicate between unrelated processes.
D: A named pipe exists in the file system.
答案: 【 A named pipe exists in the file system.

3、单选题:
‍Which of the following is wrong about the description of the semaphore()‍
选项:
A: It is divided into binary semaphore and universal semaphore.
B: Semaphores can be replaced by ordinary variables.
C: Semaphores are used to protect critical areas.
D: Semaphores belong to interprocess communication.
答案: 【 Semaphores can be replaced by ordinary variables.

4、单选题:
‍Which of the following functions links the Shared memory to the process address space()​
选项:
A: shmat()
B: shmdt()
C: shmctl
D: shmget
答案: 【 shmat()

5、单选题:
‏Which of the following functions can delete the message queue()‍
选项:
A: msgget()
B: msgsnd()
C: msgrcv()
D: msgctl
答案: 【 msgctl

11. Sockets

Objective questions

1、单选题:
‌Which of the following is correct about the description of the socket()‏
选项:
A: Sockets belong to the inter-process communication mode.
B: Sockets are used in the same way as pipes.
C: Sockets can only be used between different machines on the network.
D: Sockets can only be used on UNIX/Linux hosts.
答案: 【 Sockets belong to the inter-process communication mode.

2、单选题:
‎Which of the following functions is not a server-side socket function()‏
选项:
A: bind()
B: listen()
C: accetp()
D: connect()
答案: 【 connect()

3、单选题:
‏Which of the following uniquely identifies a network socket()​
选项:
A: The file name
B: The IP address
C: The port number
D: IP address and port number
答案: 【 IP address and port number

4、单选题:
‌The IP address of the loopback network is()​
选项:
A: 192.168.0.0
B: 192.168.0.1
C: 127.0.0.0
D: 127.0.0.1
答案: 【 127.0.0.1

5、单选题:
‎On the accept() system call, the error is()‍
选项:
A: The server through it waits for the client to make a connection to the socket.
B: The accept function returns only when a client tries to connect to a socket specified by the socket argument, otherwise it will remain blocked.
C: The accept function creates a new socket to communicate with the customer.
D: Accept returns a descriptor for the new socket, which is of a different type than the server listening socket.
答案: 【 Accept returns a descriptor for the new socket, which is of a different type than the server listening socket.

12. Module and Driver and the Example of Driver

Section 12-1 Objective questions

1、单选题:
‎Which of the following is correct about the description of the kernel module()‏
选项:
A: A module is a program that can be executed independently.
B: Once a module is linked to the kernel, it is fully equivalent to the original code in the kernel.
C: Once a module is loaded into the kernel, it cannot be unloaded.
D: The module runs in user space.
答案: 【 Once a module is linked to the kernel, it is fully equivalent to the original code in the kernel.

2、单选题:
‏Which of the following commands inserts a module into the kernel()‌
选项:
A: insmod
B: lsmod
C: rmmod
D: depmod
答案: 【 insmod

3、单选题:
‍Which of the following is wrong about the description of the function of the module()‏
选项:
A: You can insert a module into the kernel with parameters.
B: Kernel functionality can be extended through modules.
C: Linux kernel modules must comply with the GPL license.
D: After the module is inserted into the kernel, symbols can be exported for use by other modules.
答案: 【 Linux kernel modules must comply with the GPL license.

4、单选题:
‏Which of the following is wrong about the description of Linux driver()​
选项:
A: The driver must be inserted into the system using dynamic module loading.
B: The driver belongs to the kernel code.
C: A driver is a collection of functions and data structures.
D: The driver is used to control the hardware device.
答案: 【 The driver must be inserted into the system using dynamic module loading.

5、单选题:
‍Linux devices do not include which of the following()‏
选项:
A: character de

欢迎您对本文章进行评论
文明留言,请勿恶意评论,包括但不限于纯数字、敏感内容、非法昵称等
暂无讨论,说说你的看法吧
学习通答案

学习通答案

学习通答案
职教云答案

职教云答案

Q&A

备案号:冀ICP备20010840号 2020-2099辉辉网络科技 All Rights Reserved