Placement AptitudeHardInfosys SP · TCS NQT Digital
A positive integer has exactly 10 digits when written in base 2. How many digits does it have in base 8?
- A. 3
- B. 3 or 4
- C. 5
- D. 4
Correct answer: D. 4
A 10-digit binary number lies between 2⁹ = 512 and 2¹⁰ − 1 = 1023. Since 8³ = 512 and 8⁴ = 4096, every such number has exactly 4 digits in base 8 (grouping 10 bits in threes gives 4 groups).
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- Vessel A contains milk and water in the ratio 8 : 5 and vessel B in the ratio 5 : 2. In what ratio must the contents of A and B be mixed…
- Pipe A can fill a tank in 10 hours and pipe B in 15 hours. Because of partial blockages, A works at only 2/3 of its capacity and B at 3/4…
- A tank has an inlet A that fills it in 8 hours, an outlet B at the bottom that empties it in 12 hours, and an outlet C fixed exactly…
- 4 men and 6 women can finish a job in 8 days, while 3 men and 7 women can finish it in 10 days. How long would 10 women take to finish it?
- A finishes 1/3 of a job in 5 days and B finishes 2/5 of it in 12 days. Working together, how long will they take to finish 3/4 of the job?
- When, for the first time after 1 o'clock, are the hour and minute hands of a clock exactly 3 minute-spaces apart?