11.8k views
4 votes
Move the cursor 10 characters to the right, then 5 lines down using only 5 key strokes

a) ← ← ← ↓ ↓
b) → → → ↓ ↓
c) → → → ↓ ←
d) → → ↓ ↓ ↓

User Zach Young
by
7.9k points

1 Answer

3 votes

Final answer:

None of the given options correctly move the cursor 10 characters to the right and 5 lines down in exactly 5 keystrokes. Each arrow to the right moves one character and each down arrow one line, so 10 presses to the right and 5 down are needed without restrictions.

Step-by-step explanation:

The question asks to move the cursor 10 characters to the right, then 5 lines down using only 5 keystrokes. Considering the standard keyboard commands, the right arrow key moves the cursor one character to the right, and the down arrow key moves the cursor one line down. Therefore, to move the cursor correctly according to the required actions:

  1. Press the right arrow key three times (→ → →) to move the cursor three characters to the right.
  2. Press the down arrow key twice (↓ ↓) to move the cursor five lines down.

However, this sequence only covers 3 characters to the right, not the 10 required. None of the given options accomplish the task in exactly 5 keystrokes, so there may be a typo in the options provided. The proper sequence without a restriction on the number of keystrokes would be 10 presses of the right arrow key followed by 5 presses of the down arrow key.

User Anztrax
by
7.9k points