Here I solved this in this way ..
Since the virtual address space is 32-bit long and the first 8 bit specifies the first-level index. Next is the Offset of the page which is 12 from the first line.
Coincidently, 20 bit are still left here and it turns out to be the answer. So I wanted to ask is this the right way to solve the problem? I just tried thinking lil’ out of the box and thought this might be the answer. For reference, the answer to the solution is given
Thanks in advance.
Is my approach wrong or correct?