Find minimum two’s-complement value with three ones

Quick Overview

This question evaluates understanding of two's-complement representation and bit-level reasoning, specifically how constrained bit counts affect signed 8-bit integer values.

Find minimum two’s-complement value with three ones

Company: Bitkernel

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Online Assessment

An 8-bit signed integer uses two's complement representation and has exactly three `1` bits and five `0` bits. What is the smallest (most negative) value that can be represented under these constraints? Options: - A. `-127` - B. `-32` - C. `-125` - D. `-3`

Quick Answer: This question evaluates understanding of two's-complement representation and bit-level reasoning, specifically how constrained bit counts affect signed 8-bit integer values.

|Home/Software Engineering Fundamentals/Bitkernel
Bitkernel logo
Bitkernel
Oct 24, 2025
mediumSoftware EngineerOnline AssessmentSoftware Engineering Fundamentals
3
0

An 8-bit signed integer uses two's complement representation and has exactly three 1 bits and five 0 bits.

What is the smallest (most negative) value that can be represented under these constraints?

Options:

  • A. -127
  • B. -32
  • C. -125
  • D. -3
Loading comments...