Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
341 views
in General by (108k points)
closed by
A computer with 32 bit word size uses 2s compliment to represent numbers. The range of integers that can be represented by this computer is
1. –232  to 232
2. –231 to 232 –1
3. –231 to 231 –1
4. –231 –1 to 232 –1

1 Answer

0 votes
by (101k points)
selected by
 
Best answer
Correct Answer - Option 3 : –231 to 231 –1

Data:

number of bits = n = 32

Formula:

Range of 2's compliment number with n bits is (–2n-1 ) to +(2n-1 – 1)

Smallest integer = –2n-1

largest integer = 2n-1 – 1

Calculation:

Smallest integer = –232-1 = –231

Largest integer = 232-1 – 1 =  231 – 1

Range is –231 to 231 –1

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...