Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 482871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T01:08:23+00:00 2026-05-13T01:08:23+00:00

For an example, assume an initial value of: 0100 0011 What is this in

  • 0

For an example, assume an initial value of:

0100 0011

What is this in hex and what is it in decimal if using two’s complement?

Similarly, what is it in hex and decimal if using one’s complement?

More generally, how do you work out the hex and decimal values of both forms of binary representation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T01:08:24+00:00Added an answer on May 13, 2026 at 1:08 am

    Hex is easy. Simply separate into 4 bit groups and convert each group to decimal. Then, obviously, replace 10 with A, 11 with B, 12 with C, 13 with D, 14 with E and 15 with F. Hex representations usually don’t care about one or two’s complement and simply reflect the bits exactly.

    As to converting into decimal: depending on being one or two’s complement, work out what the sign and absolute values would be. If the first bit is 0, it’s positive, if it’s 1 it’s negative.

    Positive values require no further modification. The absolute value of a negative value depends on it being one’s or two’s complement. One’s complement is simply the negated bits (0 becomes 1, 1 becomes 0). For two’s complement subtract 1 and then negate the bits.

    Then sum the values of the bits set to 1 in the absolute value. The values of each bit are successive powers of two of increasing exponent, starting with 2^0 (=1) for the rightmost bit and increasing to the left.

    Here are some wikipedia references:

    • One’s complement
    • Two’s complement
    • Binary
    • Hexadecimal
    • Signed number representations
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Java states that the ordinal of the initial value is 0. Can I assume
Assume methods M1 and M2 have strongly related responsibilities First example: If • M1
For example. Assume I do: dev.new(width=5, height=4) plot(1:20) And now I wish to do
Assume that I want to listen to a non-common port (9090 for example) 24/7
Assume a .NET class library code that, for example, writes to the Windows registry
Let's assume an aspx page gets multiple querystrings, for example books.aspx?author=Arthor&level=4&year=2004 . I'd like
Example: print max(chain_length(i) for i in xrange(1,10001)) This returns the maximum/biggest chain_length (an arbitrary
This a conceptual question on how one would implement the following in Lisp (assuming
Here is a simple example: Assume I have a customer table that has a
I know in Java arrays are covariant. So for example: Assume Dog is a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.