PIC Microcontroller Programming: Computer Architectures and Numbering Systems
16 Questions
0 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

What is the base of the binary system?

  • 8
  • 2 (correct)
  • 16
  • 10
  • Which numbering system has 16 digits?

  • Octal
  • Binary
  • Hexadecimal (correct)
  • Decimal
  • What is the binary representation of the decimal number 12?

  • 1001
  • 1110
  • 1010
  • 1100 (correct)
  • What is the octal equivalent of the binary number (101001)2?

    <p>(55)8</p> Signup and view all the answers

    How do you convert the decimal number 25 to binary?

    <p>Divide by 2 repeatedly until quotient becomes zero</p> Signup and view all the answers

    What is the binary representation of the decimal number 7.5?

    <p>(111.01)2</p> Signup and view all the answers

    What is the decimal equivalent of (110101)2?

    <p>(53)10</p> Signup and view all the answers

    How would you represent the binary number 100111110101 in hexadecimal?

    <p>(9F5)16</p> Signup and view all the answers

    How would you convert the decimal number (45)10 to hexadecimal directly?

    <p>(2D)16</p> Signup and view all the answers

    What is the binary representation of the hexadecimal number (6B2)16?

    <p>(0110 1011 0010)2</p> Signup and view all the answers

    What would be the result of adding the unsigned binary numbers (1010100)2 + (1100100)2?

    <p>(184)10</p> Signup and view all the answers

    What is the result of subtracting the unsigned numbers (1100100 – 1010000)?

    <p>(20)10</p> Signup and view all the answers

    If (315)10 is given, what is the weight of the last digit?

    <p>$10^0$</p> Signup and view all the answers

    When converting from binary to hex, how many bits are grouped together at a time?

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

    In the conversion from decimal to binary, what is used to represent fractional values?

    <p>$2^{-n}$</p> Signup and view all the answers

    When converting from hex to decimal, what approach involves summing the weight of all digits directly?

    <p>&quot;Convert directly by summing the weight of all digits&quot;</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser