The order of schema ?10?101? and ???0??1 are _______ and _______ respectively.
2019
The order of schema ?10?101? and ???0??1 are _______ and _______ respectively.
- A.
5,3
- B.
5,2
- C.
7,5
- D.
8,7
Attempted by 77 students.
Show answer & explanation
Correct answer: B
Key idea: the order of a schema is the number of fixed (non-'?') positions.
First schema '?10?101?': fixed (non-'?') positions are at indices 2, 3, 5, 6, 7 (bits 1, 0, 1, 0, 1) → order = 5.
Second schema '???0??1': fixed positions are at indices 4 and 7 (bits 0 and 1) → order = 2.
Answer: The orders are 5 and 2 respectively.