Search Header Logo

Embedded Systems I/O Programming Quiz

Authored by DJ CHEN

Engineering

University

Used 2+ times

Embedded Systems I/O Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Are all devices on an embedded computer other than the CPU classified as I/O devices? Why or why not?

Yes, all devices except the CPU are I/O devices.

No, devices like memory, DMA controllers, and timers are not considered I/O devices.

Yes, I/O devices include memory and internal devices like DMA controllers.

No, only devices directly connected to the CPU are I/O devices.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Why are some registers only readable while others are both readable and writable?

Writable registers are more efficient than read-only registers.

Writable registers are used for debugging only.

Read-only registers prevent accidental modification of critical information.

Writable registers serve no practical purpose.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the key difference between busy-wait I/O and interrupt-driven I/O?

Interrupt-driven I/O requires polling, while busy-wait does not.

Busy-wait I/O blocks the CPU, while interrupt-driven I/O allows the CPU to perform other tasks.

Interrupt-driven I/O is slower than busy-wait I/O.

Busy-wait I/O is more power-efficient than interrupt-driven I/O.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a parity check, and why is it important in communication systems?

A method to compress data for faster transmission.

A technique to encrypt data for security.

A simple error-detection method to ensure data integrity.

A way to prioritize communication channels.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How does memory-mapped I/O enable communication between the CPU and peripherals?

By using dedicated instructions for I/O operations.

By mapping device registers into the CPU’s main memory space for standard load/store instructions.

By polling the peripherals continuously.

By using interrupts for every data transaction.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Why is debugging interrupt handlers more challenging than debugging regular routines?

Interrupt handlers run slower than regular routines.

Interrupts execute synchronously, making timing issues easy to identify.

The asynchronous and unpredictable timing of interrupts complicates debugging.

Interrupt handlers require dedicated debugging hardware.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What triggers the DMA controller for data transfer?

A software signal from the CPU.

A clock pulse from the system timer.

An I/O device request or a CPU configuration signal.

A signal from the memory bus.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?