Embedded Systems Questions and Answers – Resource Protection

This set of Embedded Systems Multiple Choice Questions & Answers (MCQs) focuses on “Resource Protection”.

1. Which of the following unit protects the memory?
a) bus interface unit
b) execution unit
c) memory management unit
d) peripheral unit
View Answer

Answer: c
Explanation: The resources have to be protected in an embedded system and the most important resource to be protected is the memory which is protected by the memory management unit through different programming.

2. Which unit protects the hardware?
a) MMU
b) hardware unit
c) bus interface unit
d) execution unit
View Answer

Answer: a
Explanation: The hardware part is protected by the memory management unit. The memory part is also protected by the memory management unit. The hardware such as the input-output devices are protected and is prevented from the direct access.

3. Which mechanism can control the access?
a) in-situ
b) spin-lock
c) ex-situ
d) both in-situ and ex-situ
View Answer

Answer: b
Explanation: Both the memory and the hardware part are protected by the memory management unit and the hardware such as the input-output devices are protected, These are prevented from the direct access. These accesses are made through a device driver and this device driver can control the serial port. Such a mechanism is called spin-lock mechanism which provides the control access.
advertisement
advertisement

4. Which of the following is very resilient to the system crashes?
a) Windows 3.1
b) MS-DOS
c) Windows NT
d) kernel
View Answer

Answer: c
Explanation: The Windows NT is very resilient to the system crashes and the system will continue while the processes can crash. This is because of the user mode and the kernel mode which is coupled with the resource protection. This resilience is a big advantage over the MS-DOS and Windows 3.1.

5. Which of the following are coupled in the Windows NT for the resource protection?
a) kernel mode and user mode
b) user mode and protected mode
c) protected mode and real mode
d) virtual mode and kernel mode
View Answer

Answer: a
Explanation: The user mode and the kernel mode are coupled with the resource protection and this resilience in Windows NT is a big advantage over the MS-DOS and the Windows 3.1.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. Which of the following support multi-threaded software?
a) Windows NT
b) thread
c) process
d) task
View Answer

Answer: a
Explanation: The Windows NT supports multi-threaded software in which the processes can support several independent paths or threads.

7. Which provides a 4 Gbyte virtual address space?
a) Windows 3.1
b) MS-DOS
c) pSOS+
d) Windows NT
View Answer

Answer: d
Explanation: The virtual address spacing in the Windows NT is somewhat different from the MS-DOS and the Windows 3.1. The Windows NT provides 4 Gbytes virtual address space for each process and that is linearly addressed using 32-bit address values.
advertisement

8. Which applications can be used with the Windows NT?
a) WIN16
b) WIN32
c) WIN4
d) WIN24
View Answer

Answer: b
Explanation: The WIN32 is also known as 32-bit or even native. It is used for the Windows NT applications which uses the same instruction set as that of the Windows NT and therefore do not need to emulate a different architecture.

9. Which of the following has the same instruction set as that of the Windows NT?
a) WIN32
b) WIN4
c) WIN24
d) WIN16
View Answer

Answer: a
Explanation: WIN32 is used for the Windows NT applications and is also known as even native which uses the same instruction set as that of the Windows NT and therefore do not need to emulate a different architecture.
advertisement

10. Which can provide more memory than physical memory?
a) real memory
b) physical address
c) virtual memory
d) segmented address
View Answer

Answer: c
Explanation: The physical memory can provide more memory than the physical memory within the system. Such memories are divided into segments and pages.

Sanfoundry Global Education & Learning Series – Embedded System.

To practice all areas of Embedded System, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.