How many bits are needed to uniquely encode `512` distinct operations (opcodes)?
`512` विभिन्न ऑपरेशंस (ऑपकोड्स) को यूनिक रूप से एनकोड करने के लिए न्यूनतम कितने बिट्स की आवश्यकता होती है?
Solution Breakdown:
-> With $n$ bits, you can represent $2^n$ distinct codes. Since $2^9 = 512$, exactly `9` bits are required.
-> Hence, Option (D) is the correct answer.
-> $n$ बिट्स से $2^n$ यूनिक कोड बनाए जा सकते हैं। चूंकि $2^9 = 512$, इसलिए `9` बिट्स की आवश्यकता होगी।
-> इसलिए विकल्प (D) बिल्कुल सही है।