Wisdom Stacks focuses on providing clear and practical solutions for BIT exam questions, along with real-world insights and tutorials on the CodeIgniter framework. Explore tips, techniques, and experiences related to web development, programming, and emerging trends in information technology. A blog for learners, coders, and tech enthusiasts seeking reliable, experience-based guidance.
Convert into binary
Get link
Facebook
X
Pinterest
Email
Other Apps
What is/are the binary representation(s) of the decimal number 113?
1110011
1011001
1110000
1110001
0110001
Solution
Let’s convert 113 (decimal) into binary step by step:
Division by 2
What is the correct translation of the decimal number 23 into binary and hexadecimal representations, respectively?
\(10111_2\) and 0x18
\(11101_2\) and 0x17
\(10111_2\) and 0x17
\(10101_2\) and 0x18
\(11101_2\) and 0x18
Solution
Step 1: Decimal → Binary
Step 2: Decimal → Hexadecimal
Let's devide \(23_{10} \) from 16
So 23 = ox17 in hexadecimal
Correct Option: (c) 10111₂ and 0x17
Why is there 0x?
The 0x at the start is just a prefix that programmers use to show,
"Hey, the number after this is in hexadecimal, not decimal."
For example:
23 → decimal
0x17 → hexadecimal (which is still 23 in decimal)
0b10111 → binary (same value, different representation)
It’s not part of the number itself — it’s like a label so humans and computers know the base:
Prefix
Meaning
Example
0x
Hexadecimal (base 16)
0x17 = 23 decimal
0b
Binary (base 2)
0b10111 = 23 decimal
none
Decimal (base 10)
23 = 23 decimal
Without 0x, a computer or reader might confuse 17 as decimal instead of hex.
What is the binary value of the decimal number 11/64?
0.010111
0.001101
0.001110
0.001011
0.000111
Solution
for fractions where the denominator is a power of 2, you can skip decimal conversion entirely and go straight to binary.
Here’s the trick for 11/64:
Recognize the denominator
\(64 = 2^6\)→ so the binary will have 6 places after the point.
Write the numerator in binary
11 in binary = 1011
Place it over 6 fractional bits
Since denominator is \(2^6\), write numerator in binary with 6 bits after the point:
$$ \frac{11}{64} = 0.001011_2 $$
Binary works exactly the same way — except the “base” is 2 instead of 10.
Why it works
In binary,$$\frac{\text{numerator}}{2^n}=0.(\text{numerator in n bits})$$
for example: $$\frac{11}{2^6}= 0.001011_2$$
No decimal math needed.
Why it works: In binary
In decimal, you know this rule: $$\frac{\text{integer}}{10^n} = 0.(\text{integer in n decimal digits})$$
Binary works exactly the same way — except the “base” is 2 instead of 10.
If the denominator is \(2^n\), then:
You take the numerator in binary
You place the binary point so that n bits come after it
That’s because dividing by \(2^n\) in binary is simply shifting the binary point n places to the left.
Step-by-step logic
Binary place values (after the point) are:
So if your denominator is $$\frac{1}{2},\frac{1}{4},\frac{1}{8},\frac{1}{16},\frac{1}{32}, \frac{1}{64}...$$
Writing the numerator in binary and padding it to n bits means you’re directly representing it in those fractional place values.
Another way of solving the same problem
Let's convert fraction into decimal form
Then, convert fractional part to binary
multiply repeatedly by 2, keeping track of the integer parts:
Combine
Reading the integer parts in order: \(0.001011_2\)
Convert the decimal number 151.75 to binary?
10000111.11
11010011.11
00111100.11
10010111.11
10011101.11
Let’s convert 151.75 into binary step-by-step.
Step 1: Convert the integer part (151)
Read from bottom to top:
\(151 = 10010111_2\)
Step 2: Convert the fractional part (0.75)
So \( 0.75 = 0.11_2\)
Step 3: Combine $$151.75_{10}=10010111.11_2$$
Correct answer: (d) 10010111.11
When using the repeated division by 2 method of converting from decimal to binary, one must write the first remainder as the
Most Significant Bit (MSB)
MSB, provided the following sequence of remainders is written in descending order until the final remainder is achieved.
Least Significant Bit (LSB)
LSB, provided the final remainder is used to replace the original LSB, which is then moved to the MSB position.
Sign Bit, provided the following sequence of remainders is written in descending order until the final remainder is achieved.(a) Most Significant Bit (MSB)
Solution
When we use the repeated division by 2 method:
We divide the decimal number by 2 repeatedly.
The first remainder we get is actually the Least Significant Bit (LSB) of the binary number.
The last remainder we get (when the quotient becomes 0) is the Most Significant Bit (MSB).
That’s why we always write the remainders in reverse order from how they are calculated.
Correct answer: (c) Least Significant Bit (LSB)
Which of the following binary numbers is equivalent to the hexadecimal number 7FF5?
Who amongst the following is regarded as the creator of the first digital electronic computer? George Boole Alan Turing John V Atanasoff Frederic Calland Williams John von Neumann Solution John Vincent Atanasoff is widely recognized as the creator of the first digital electronic computer. In the late 1930s, along with his graduate student Clifford Berry, he developed the Atanasoff–Berry Computer (ABC) at Iowa State College (now Iowa State University). This machine was completed around 1939–1942. Why the ABC was important: It was the first computing machine to use binary digits (bits) to represent all data. It used electronic vacuum tubes for arithmetic calculations, which made it much faster than mechanical computers. It could solve systems of linear equations, a critical need in engineering and physics. Although the ABC was never fully operational or commercialized like lat...
2020-02 Which of the following is/are TRUE regarding the Von Neumann architecture? Single Instruction, Multiple Data (SIMD) Single Program, Multiple Data (SPMD) Single Instruction Stream, Single Data Stream (SISD) Multiple Instruction, Multiple Data (MIMD) Multiple Instruction, Single Data (MISD) Solution The correct option regarding the Von Neumann architecture is (c) Single Instruction Stream, Single Data Stream (SISD) . The Von Neumann architecture is a foundational computer architecture where both data and instructions are stored in the same memory space. This architecture is characterized by a single processing unit that executes instructions sequentially, one at a time, and processes data from a single stream. This aligns with the definition of SISD (Single Instruction, Single Data) in Flynn's Taxonomy, which categorizes computer architectures based on their instruction and data strea...