10 Questions
1 Views
3.4 Stars

Number System Conversion Basics

Test your knowledge about the basics of number systems, including decimal, binary, octal, and hexadecimal. Understand the purpose of learning these systems in the context of computer programming and data representation.

Created by
@StainlessEpiphany
Quiz Team

Access to a Library of 520,000+ Quizzes & Flashcards

Explore diverse subjects like math, history, science, literature and more in our expanding catalog.

Questions and Answers

Decimal to binary 125 to binary 2 125 ⇒ ______

1011101

Binary to decimal ==> 1 * 2^0 + 0 * 2^1 + 1 * 2^2 + 1 * 2^3 + 1 * 2^4 + 12^5 + 12^6 + 0 *2^7 ==> ______

125

Decimal to octal 212 to octal ===> ______

324

Decimal to hexadecimal 472 to hexadecimal ==> ______

<p>1D8</p> Signup and view all the answers

Hexadecimal to binary : The maximum value of hexa is F which is 15, so to represent 15 4 bits are required. Therefore whenever hexa is to be converted to binary then each digit should be converted to 4bit binary value like below: ______

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

Binary (Base 2, ______)

<p>0 and 1</p> Signup and view all the answers

Octal (Base 8, ______)

<p>0 to 7</p> Signup and view all the answers

Hexadecimal (Base 16, ______)

<p>0 to 16</p> Signup and view all the answers

number = 125, then binary will be Decimal to binary 125 to binary 2 125 ⇒

<p>$1011101$</p> Signup and view all the answers

Binary to decimal ==\gt; 1 * 2^0 + 0 * 2^1 + 1 * 2^2 + 1 * 2^3 + 1 * 2^4 + 12^5 + 12^6 + 0 *2^7 ==\gt;

<p>$1 + 0 + 4 + 8 + 16 + 32 + 64 + 0 ==\gt; 125$</p> Signup and view all the answers

Studying That Suits You

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

Quiz Team

More Quizzes Like This

Use Quizgecko on...
Browser
Browser