Computer AwarenessHardSBI PO · IBPS Clerk · SSC CGL
What is the minimum number of bits needed to give a unique binary code to 1000 different items?
- A. 10
- B. 9
- C. 11
- D. 1000
Correct answer: A. 10
2⁹ = 512 is too small and 2¹⁰ = 1024 is enough, so 10 bits are needed.
हिंदी में
1000 भिन्न वस्तुओं को अद्वितीय बाइनरी कोड देने के लिए न्यूनतम कितने बिट चाहिए?
- A. 10
- B. 9
- C. 11
- D. 1000
उत्तर: A. 2⁹ = 512 बहुत कम है और 2¹⁰ = 1024 पर्याप्त है, इसलिए 10 बिट चाहिए।
More Computer Awareness questions
- The range of integers that can be stored in 8 bits using two's complement is:
- By De Morgan's theorem, the complement of (A + B) is equal to:
- In which situation does an operating system suffer from 'thrashing'?
- In a class C network with subnet mask 255.255.255.0, how many usable host addresses are available?
- Which program combines several object files and library routines into a single executable file?
- TCP and UDP are protocols of which OSI layer, and which of them guarantees ordered, reliable delivery?