Practice30Create account

Input-Output — practice questions, page 4

Browse practice questions

A machine arranges words in dictionary order from the left; each step moves the…A word-arranging machine, in each step, moves the word that comes earliest in dictionary order…A number machine, in each step, moves the largest of the not-yet-placed numbers to the next…A number machine, in each step, moves the smallest of the not-yet-placed numbers to the next…A word machine, in each step, moves the word that comes last in dictionary order among the…A machine processes a line of words and numbers. In each step it moves the smallest number to the…A number machine, in each step, moves the largest of the not-yet-placed numbers to the right end…A machine moves the smallest remaining number to the left end in each step. Example — Input: 45 12…A machine moves the alphabetically first remaining word to the left end in each step. Example —…A machine moves the largest remaining number to the left end in each step. Example — Input: 23 56…A machine moves the shortest remaining word (fewest letters) to the left end in each step. Example…A machine moves the smallest remaining number to the left end in each step. Example — Input: 60 25…A machine moves the reverse-alphabetically first remaining word (nearest to Z) to the left end in…A number-arrangement machine rearranges an input in steps by moving the largest not-yet-placed…A number-arrangement machine rearranges an input in steps by moving the smallest not-yet-placed…A word-arrangement machine rearranges an input in steps by moving the alphabetically earliest…A machine rearranges an input by alternating rules: Step I moves the alphabetically earliest word…A word-arrangement machine rearranges an input in steps by moving the alphabetically latest…A number-arrangement machine rearranges an input in steps by moving the smallest not-yet-placed…A number-arranging machine moves the largest remaining number to the front at each step. Example —…A word-arranging machine moves words to the left in alphabetical order, one per step. Example —…A number-arranging machine moves the smallest remaining number to the right end at each step.…A word-arranging machine moves words to the left in reverse alphabetical order, one per step.…A machine works in alternating steps: on odd steps the largest unplaced number goes to the left…A number-arranging machine moves the largest remaining number to the front at each step until the…

· Page 4 of 15 ·

Back to Input-Output