Bird
Raised Fist0
Intro to Computingfundamentals~20 mins

Input devices (keyboard, mouse, touchscreen) in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Challenge - 5 Problems
🎖️
Input Device Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How does a keyboard send input to a computer?

Imagine typing on a keyboard. What happens inside the computer when you press a key?

AThe keyboard stores the characters and sends them all at once when you press Enter.
BThe keyboard sends images of the keys pressed to the computer for processing.
CThe keyboard sends sound waves to the computer, which converts them into text.
DThe keyboard sends electrical signals to the computer, which the computer translates into characters.
Attempts:
2 left
💡 Hint

Think about how pressing a key can be understood by the computer instantly.

trace
intermediate
2:00remaining
Trace the input flow from mouse click to action

When you click a mouse button, what is the correct sequence of events inside the computer?

A1,2,3,4
B2,1,3,4
C1,3,2,4
D3,2,1,4
Attempts:
2 left
💡 Hint

Think about what happens first and how the signal flows.

identification
advanced
2:00remaining
Identify the input device from its description

Which input device uses a grid of sensors to detect the position and pressure of your finger?

AKeyboard
BTouchscreen
CMouse
DMicrophone
Attempts:
2 left
💡 Hint

It lets you tap or swipe directly on the display.

Comparison
advanced
2:00remaining
Compare how mouse and touchscreen detect input

Which statement correctly compares how a mouse and a touchscreen detect user input?

ABoth mouse and touchscreen detect input by sending sound waves to the computer.
BA mouse detects input by sensing finger position on the screen; a touchscreen detects movement by tracking a ball.
CA mouse detects movement by tracking a ball or sensor movement; a touchscreen detects input by sensing finger position on the screen.
DA mouse and touchscreen both use keyboards to detect input.
Attempts:
2 left
💡 Hint

Think about how you move a mouse versus how you touch a screen.

🚀 Application
expert
2:00remaining
Determine the output when combining input devices

Consider a computer program that accepts input from both a keyboard and a touchscreen. The program waits for a key press or a screen tap. If the user taps the screen at position (150, 300), and then presses the 'Enter' key, what will the program receive in order?

AFirst the coordinates (150, 300), then the 'Enter' key signal.
BFirst the 'Enter' key signal, then the coordinates (150, 300).
COnly the 'Enter' key signal, because touchscreen input is ignored.
DOnly the coordinates (150, 300), because keyboard input is ignored.
Attempts:
2 left
💡 Hint

Think about the order of user actions and how input devices send signals.

Practice

(1/5)
1. Which of the following is an input device that allows you to type letters and numbers into a computer?
easy
A. Monitor
B. Keyboard
C. Printer
D. Speaker

Solution

  1. Step 1: Understand the function of a keyboard

    A keyboard lets you enter letters, numbers, and symbols by pressing keys.
  2. Step 2: Identify other devices' roles

    A monitor displays output, a printer prints documents, and a speaker plays sound, so they are not input devices.
  3. Final Answer:

    Keyboard -> Option B
  4. Quick Check:

    Typing device = Keyboard [OK]
Hint: Keyboard = device for typing letters and numbers [OK]
Common Mistakes:
  • Confusing keyboard with monitor
  • Thinking printer inputs data
  • Mixing speaker with input device
2. Which of the following is the correct way to describe a mouse in computing?
easy
A. An input device used to point and click
B. An output device that shows images
C. A device that prints documents
D. A device that plays audio

Solution

  1. Step 1: Define the mouse's role

    A mouse is used to move a pointer on the screen and click to select items, so it is an input device.
  2. Step 2: Eliminate other options

    Showing images is done by a monitor (output), printing by a printer, and playing audio by speakers, so these are incorrect.
  3. Final Answer:

    An input device used to point and click -> Option A
  4. Quick Check:

    Mouse = input pointer device [OK]
Hint: Mouse lets you point and click on screen [OK]
Common Mistakes:
  • Thinking mouse shows images
  • Confusing mouse with printer
  • Mixing mouse with speaker
3. Look at this simple flowchart for a touchscreen input: Start -> User touches screen -> Screen detects touch location -> System processes input -> End What is the main role of the touchscreen in this flowchart?
medium
A. To detect where the user touches
B. To print the user's input
C. To display images to the user
D. To play sounds when touched

Solution

  1. Step 1: Analyze the flowchart steps

    The flowchart shows the user touching the screen and the screen detecting the touch location, which means the touchscreen senses input.
  2. Step 2: Understand touchscreen function

    Touchscreens detect where the user touches to send that information to the system; they do not print or play sounds.
  3. Final Answer:

    To detect where the user touches -> Option A
  4. Quick Check:

    Touchscreen = detects touch location [OK]
Hint: Touchscreen senses where you touch it [OK]
Common Mistakes:
  • Thinking touchscreen prints input
  • Confusing touchscreen with speaker
  • Assuming touchscreen only displays images
4. A user complains that their mouse is not working. Which of the following is the most likely cause based on input device knowledge?
medium
A. The printer is out of ink.
B. The monitor is turned off.
C. The keyboard keys are stuck.
D. The mouse is not connected properly to the computer.

Solution

  1. Step 1: Identify the problem with the mouse

    If the mouse is not working, a common cause is it not being connected properly (wired or wireless).
  2. Step 2: Eliminate unrelated options

    Monitor off affects display, keyboard keys stuck affect typing, and printer ink affects printing, none relate to mouse function.
  3. Final Answer:

    The mouse is not connected properly to the computer. -> Option D
  4. Quick Check:

    Mouse issue = connection problem [OK]
Hint: Check mouse connection first if it stops working [OK]
Common Mistakes:
  • Blaming monitor for mouse issues
  • Confusing keyboard problems with mouse
  • Thinking printer affects mouse
5. A new tablet device uses a touchscreen and a virtual keyboard on the screen. Which of the following best explains how these input devices work together?
hard
A. The virtual keyboard prints letters, and the touchscreen plays sounds.
B. The touchscreen prints documents, and the virtual keyboard controls the mouse.
C. The touchscreen detects finger taps, and the virtual keyboard shows keys on the screen for typing.
D. The virtual keyboard is a physical device connected to the tablet.

Solution

  1. Step 1: Understand touchscreen and virtual keyboard roles

    The touchscreen senses finger taps anywhere on the screen, including taps on the virtual keyboard displayed on the screen.
  2. Step 2: Explain how they work together

    The virtual keyboard is a software display of keys on the touchscreen; tapping these keys sends input to the system for typing.
  3. Step 3: Eliminate incorrect options

    Virtual keyboard does not print letters physically, touchscreen does not print or play sounds, and virtual keyboard is not a physical device here.
  4. Final Answer:

    The touchscreen detects finger taps, and the virtual keyboard shows keys on the screen for typing. -> Option C
  5. Quick Check:

    Touchscreen + virtual keyboard = tap keys on screen [OK]
Hint: Virtual keyboard is on touchscreen; taps register as typing [OK]
Common Mistakes:
  • Thinking virtual keyboard is physical
  • Confusing touchscreen with printer
  • Assuming virtual keyboard prints letters