In a certain code language, the word 'BASKET' is written as '5 $ 3 % # 1' and 'TRIED' is written as '1 4 * # 2'. How is the word 'SKIRT' written in that identical code language?
- A3 % * 4 1
- B3 * % 4 1
- C3 % # 4 1
- D3 # 4 % 1
Solution & Step-by-step Explanation
Let us extract the direct letter-to-symbol assignment pattern from the given words:
From BASKET:
*
* \text{A} \rightarrow \ \text{S} \rightarrow 3 \text{K} \rightarrow \% \text{E} \rightarrow \# \text{T} \rightarrow 1 \text{T} \rightarrow 1 \text{R} \rightarrow 4 \text{I} \rightarrow * \text{E} \rightarrow \# \text{D} \rightarrow 2 \text{S} \rightarrow 3 \text{K} \rightarrow \% \text{I} \rightarrow * \text{R} \rightarrow 4 \text{T} \rightarrow 1$
Combining them gives the string: *3 % 4 1**.
From BASKET:
*
* \text{A} \rightarrow \ \text{S} \rightarrow 3 \text{K} \rightarrow \% \text{E} \rightarrow \# \text{T} \rightarrow 1 \text{T} \rightarrow 1 \text{R} \rightarrow 4 \text{I} \rightarrow * \text{E} \rightarrow \# \text{D} \rightarrow 2 \text{S} \rightarrow 3 \text{K} \rightarrow \% \text{I} \rightarrow * \text{R} \rightarrow 4 \text{T} \rightarrow 1$
Combining them gives the string: *3 % 4 1**.