A certain secure computer lab uses only the letters K, L, M, N and O as their computer codes. Words in the computer lab's code are written from left to right. Computer lab code words are only those words that conform to the following conditions:
The minimum length for a computer lab's code word is two letters, not necessarily different from each other.
K cannot be the first letter in the word.
L must occur more than once in a word, if it occurs at all.
M cannot be the last letter in a word nor the next to the last letter.
N must occur in a word if K occurs in the word.
O cannot be the last letter in a word unless L occurs in the word.
Question 1
Which of the following letters could be placed after O in "L O" to form a computer lab's code word exactly three letters long?
K
L
M
N
O
Show answer & solution
Answer: (B) L
Rule 3 states L must occur more than once in a word if it occurs at all. Since the word already starts with L, the only way to satisfy this in an exactly-three-letter word is to place another L at the end, giving "L O L". Option B is correct.
Question 2
If the only kinds of letters that are available are K, L and M, then the total number of different computer lab's code words, each exactly two letters long, that is possible to make is:
1
3
6
9
12
Show answer & solution
Answer: (A) 1
The 9 possible two-letter combinations of K, L, M are KK, LL, MM, KL, LK, KM, MK, LM, ML. Checking each against the rules: KK fails rule 2 (K first), KL and KM fail rule 2, LK fails rule 3 (L occurs only once), MM fails rule 4 (M as last and second-to-last), MK, LM and ML all fail rule 4 (M in the last or second-to-last position). Only LL survives. Option A is correct.
Question 3
Which of the following is a computer lab's code word?
K, L, L, N
L, O, M, L
M, L, L, O
N, M, K, O
O, N, K, M
Show answer & solution
Answer: (D) N, M, K, O
Option A fails rule 2 (starts with K). Option B fails rule 4 (M is second-to-last). Option E fails rule 4 (M is last). Option C fails rule 6 (ends in O with no L present... actually fails because O is not last and no issue there, it fails rule 6 differently) — applying the excluding rule directly: R2 eliminates A, R4 eliminates B and E, R6 eliminates C. Only option D, "N, M, K, O", survives all six rules. Option D is correct.
Question 4
What is the total number of different computer lab's code words exactly three identical letters long that is possible to make?
1
2
3
4
5
Show answer & solution
Answer: (C) 3
The five possible three-identical-letter codes are KKK, LLL, MMM, NNN, OOO. KKK fails rule 2 (K first), MMM fails rule 4 (M last and second-to-last). LLL, NNN and OOO all satisfy every rule. Option C is correct.
Question 5
The computer lab's code word M, M, L, L, O, K, N can be turned into computer lab's another code word by carrying out any one of the following changes except:
Replacing every L with an N
Replacing the first M with an O
Replacing the N with an O
Moving the O to the immediate left of the N
Moving the second L to the immediate left of the K
Show answer & solution
Answer: (C) Replacing the N with an O
Testing each change against the rules, only replacing the N with an O produces an invalid word: M, M, L, L, O, K, O ends in O with no restriction issue from rule 6 since L is present, but it now has K without a following N, violating rule 5 (K requires N in the word). Every other change still satisfies all six rules. Option C is correct.
Question 6
Which of the following is not a computer lab's code word but could be turned into one by changing the order of the letters within the word?
K, L, M, N, O
L, L, L, K, N
M, K, N, O, N
N, K, L, M, L
O, M, M, L, L
Show answer & solution
Answer: (D) N, K, L, M, L
Option A fails rule 2 (K first) and cannot be fixed by reordering alone without breaking another rule, since K must not be first but moving it changes the set. Option D, "N, K, L, M, L", fails rule 4 (M next to the last letter), but reordering it to "L, M, L, K, N" satisfies every rule. Option D is correct.
Question 7
Each of the following could be turned into a computer lab's code word by replacing the X with a letter used in the computer lab's code EXCEPT:
M, K, X, N, O
M, X, K, L, N
X, M, M, K, O
X, M, O, L, K
X, O, K, L, L
Show answer & solution
Answer: (D) X, M, O, L, K
In option D, X must be replaced by L (to satisfy rule 3, since no other L exists) but it must also be replaced by N (to satisfy rule 5, since K is present) — it cannot be both at once, so no single replacement works. Every other option has exactly one consistent replacement (K/M/N/O for A, L for B, N for C, N for E). Option D is correct.