Multiple choice technology testing

Difference between inputKeys("ENTER") and inputChars("ENTER")

  1. inputKeys("ENTER") -> ENTER is a key stroke ; inputChars("ENTER") -> characters ENTER are read

  2. inputKeys("ENTER") -> characters ENTER are read ; inputChars("ENTER") -> ENTER is a key stroke

  3. None

  4. Both 1 and 2

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The inputKeys function simulates physical key press events (such as pressing the Enter key on a keyboard), whereas inputChars enters literal character strings (typing out 'E-N-T-E-R' letter by letter). The distractor options either invert these definitions or incorrectly assert that they perform identical operations.