Sequence CS Thinking Example 2
Follow the full solution, then compare it with the other examples linked below.
Example 2
easyRearrange these steps into the correct sequence for logging into a website: (A) Click 'Login'. (B) Enter password. (C) Open browser. (D) Navigate to website. (E) Enter username.
Solution
- 1 Step 1: You must open the browser before navigating: C โ D.
- 2 Step 2: Enter credentials before clicking login: E โ B โ A.
- 3 Step 3: Full sequence: C โ D โ E โ B โ A.
Answer
C, D, E, B, A.
Sequencing requires understanding dependencies โ some steps must happen before others. Getting the order wrong causes errors, just like in a program.
About Sequence
Executing a series of instructions one after another in a fixed, specific order. In sequential execution, each instruction must complete before the next one begins, and the order in which statements appear determines the order in which they run.
Learn more about Sequence โ