⏱00:00 0/5 answeredScore: 0
Sign up to save this score to the leaderboard.
📖 Read the passage, then answer the questions below

A sorting machine takes a line of unsorted words as input and sorts them into a single output line, one word at a time, over a series of steps. At each step, the machine finds the word, among those not yet placed, that has the fewest letters; if two or more remaining words are tied for fewest letters, it chooses whichever comes first alphabetically. It places that word in the next available position from the left. This continues, step by step, until every word has been placed, resulting in the words sorted first by length, from shortest to longest, and then alphabetically among words of the same length.

Question 1

Input: NURSE DOCTOR COOK MAID. Which word is placed first, in Step 1?

Question 2

Input: RIVER OCEAN POND LAKE. How many steps does the machine take to completely sort this input?

Question 3

Input: PENCIL CRAYON MARKER CHALK PEN. Which word is placed in Step 1?

Question 4

Input: CANDLE LANTERN TORCH LAMP BULB. Consider the following three statements: I. BULB is placed in Step 1. II. TORCH is placed in Step 3. III. LANTERN is placed in the final step. Which of the statements is/are true?

Question 5

Input: APPLE GRAPE MANGO PEACH PLUM LEMON. Which word is placed last, in the final step?

Sign up to save this score to the leaderboard.
📚 All Quizzes
Browse every category and see the full list of quizzes on BriskQuiz
→