Home
SELF STUDY
BrowsePracticeTestsPlaylistDoubts & solutionsFree live classesOther courses

Number Systems

Quick practice

Question 1 of 5

The total number of bits required to store a number which can have values from 0 to N is

A

\lfloor \log_2{N} \rfloor

B

\lceil \log_{2}{(N+1) \rceil}

C

\lceil \log_{2}{(N)} + 1 \rceil

D

\lfloor \log_{2}{(N+1)} + 1 \rfloor

Get unlimited practice with Competitive Programming subscription

pick

Boost your performance with adaptive practice tests

pick

Practice every concept in the syllabus

pick

Compare your speed and accuracy with your peers

pick

Download the app and practice on the go