Embedded systems memory management MCQ Quiz – Objective Question with Answer for Embedded systems memory management

161. What does DPL in the descriptor describe?

A. descriptor page level
B. descriptor privilege level
C. direct page level
D. direct page latch

Answer: B

The descriptor privilege level is used to restrict access to the segment which helps in the protection mechanism. It acquires two bits of the descriptor.

 

162. What does the “S” bit describe in a descriptor?

A. descriptor type
B. small type
C. page type
D. segmented type

Answer: A

The S bit determines whether it is a system segment or a normal segment. When the S bit is set, it might be a code segment or a data segment. If the S bit clears, it is a system segment.

 

163. How many regions are created by the memory range in the ARM architecture?

A. 4
B. 8
C. 16
D. 32

Answer: B

The memory protection unit in the ARM architecture divides the memory into eight separate regions. Each region can be small as well as big ranging from 4 Kbytes to 4 Gbytes.

 

164. How many bits does the memory region in the ARM memory protection unit have?

A. 1
B. 2
C. 3
D. 4

Answer: C

The memory region possesses three bits which are the cacheable bit, bufferable bit, and access permission bit.

 

165. Which of the following uses a priority level for permitting data?

A. ARM memory management unit
B. ARM protection memory management unit
C. Bus interface unit
D. Execution unit

Answer: B

In the ARM protection architecture, the memory is divided into some regions of sizes 4 Kbytes to 4 Gbytes. These regions possess bits called the cacheable bit, buffer bit, and access permitted bits. The regions are numbered as per priority level for which the permission bits take precedence if any of the regions get overlapped.

 

166. What type of bit in the ARM memory mimics that of the protection unit of the ARM management unit?

A. permission bit
B. buffer bit
C. cacheable bit
D. access permission bit

Answer: A

The ARM architecture memory protection unit divides the memory range into different regions of size ranging from 4 Kbytes to 4 Gbytes. Each region is associated with certain bits called the cacheable bit, buffer bit, and access permitted bit. These bits are similar to the permission bit in the ARM memory management unit architecture which is stored in the control register.

 

167. Which of the following bits are used to control the cache behavior?

A. cacheable bit
B. buffer bit
C. cacheable bit and buffer bit
D. cacheable bit, buffer bit, and permission access bit

Answer: C

The cacheable bit and the buffer bit are used to control the behavior of the cache. Depending on the cacheable bit and the buffer bit, the memory access will complete successfully.

 

168. Which of the following unit provides security to the processor?

A. bus interface unit
B. execution unit
C. peripheral unit
D. memory protection unit

Answer: D

The memory management unit and the memory protection unit provide security to the processor by trapping the invalid memory accesses before they corrupt other data.

 

169. Which of the following includes a tripped-down memory management unit?

A. memory protection unit
B. memory real mode
C. memory management unit
D. bus interface unit

Answer: A

The memory protection unit allows a tripped memory down memory management unit in which the memories are partitioned and protected without any address translation. This can remove the time consumption in the address translation thereby increasing the speed.

 

170. Which of the following can reduce the chip size?

A. memory management unit
B. execution unit
C. memory protection unit
D. bus interface unit

Answer: C

The memory protection unit has many advantages over the other units. It can reduce the chip size, cost, and power consumption.

 

171. How does the memory management unit provide protection?

A. disables the address translation
B. enables the address translation
C. wait for the address translation
D. remains unchanged

Answer: A

The memory management unit can be used as a protection unit by disabling the address translation that is, the physical address and the logical address are the same.

 

172. Which of the following is used to start a supervisor level?

A. error signal
B. default signal
C. wait for the signal
D. interrupt signal

Answer: A

If memory access from the software does not access the correct data, an error signal is generated which will start a supervisor-level software for the decision.

 

173. What happens when a task attempts to access memory outside its own address space?

A. paging fault
B. segmentation fault
C. wait
D. remains unchanged

Answer: B

Different tasks assign their own address space and whenever a task access memory outside its own address space, a segmentation fault result and which in turn results in the termination of the offending application.

Scroll to Top