COAR chap 2
5 Questions
7 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Binary equivalent of 37 is ________.

  • (110100)2
  • (100101)2 (correct)
  • (100101.001)2
  • (010100)2
  • Two's compliment of (10110100)2 is ________.

  • (01001011)2
  • (01001022)2
  • (01001100)2 (correct)
  • None of the above
  • A floating-point number in binary form is given as follows:

    0 10000101 011000010000000000000000 Y G B

    What do the bits in the colour boxes imply?

  • Yellow: Sign Green: Exponent Blue: Mantissa (correct)
  • Yellow: Sign Green: Mantissa Blue: Exponent
  • Yellow: Exponent Green: Sign Blue: Mantissa
  • Yellow: Mantissa Green: Exponent Blue: Sign
  • What is the decimal equivalent of a floating-point number given in binary form as (01000000 00110000 10000000 00000000)2?

    <p>2.75</p> Signup and view all the answers

    How many bits are used to represent a character in ASCII?

    <p>8 bits</p> Signup and view all the answers

    Study Notes

    Binary Representation

    • The binary equivalent of 37 is 100101.

    Two's Complement

    • The two's complement of (10110100)2 is found by inverting the bits and then adding 1 to the result.

    Floating-Point Representation

    • In the given binary floating-point representation, Y denotes the sign bit, G denotes the exponent, and B denotes the mantissa.
    • The bits in the color boxes (Y, G, and B) imply the sign, exponent, and mantissa of a floating-point number.

    Decimal Equivalent

    • The decimal equivalent of a floating-point number given in binary form as (01000000 00110000 10000000 00000000)2 can be calculated by separating the bits into sign, exponent, and mantissa, and then converting each part accordingly.

    ASCII Character Representation

    • In ASCII, a character is represented using 8 bits.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    More Like This

    Use Quizgecko on...
    Browser
    Browser