0% found this document useful (0 votes)
11 views2 pages

Number System Conversion Solutions

The document provides solutions to 15 problems involving binary, octal, hexadecimal, and decimal number conversions and arithmetic. Multiple step by step workings are shown for problems involving successive division, multiplication, and binary conversions of decimal numbers. Concepts like 1's complement, 2's complement, signed and unsigned numbers are also demonstrated.

Uploaded by

greeshma n
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Number System Conversion Solutions

The document provides solutions to 15 problems involving binary, octal, hexadecimal, and decimal number conversions and arithmetic. Multiple step by step workings are shown for problems involving successive division, multiplication, and binary conversions of decimal numbers. Concepts like 1's complement, 2's complement, signed and unsigned numbers are also demonstrated.

Uploaded by

greeshma n
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Solutions 

1. 1 × 33 + 2 × 32 + 2 × 3 + 1 = 27 + 18 + 6 + 1 = 52 
2. (6E)16  = (01101110)2 
(C5)16  = (11000101)2 
(01101110)2 + (11000101)2 = (100110011)2 = (133)16 
3. 2598/16 = Q = 162, R = 6 = (6)16 
162/16 = Q = 10, R = 2 = (2)16 
10/16 = Q = 0, R = 10 = (A)16 
 
0.675 × 16 = 10.8 
0.8 × 16 = 12.8 
0.8 × 16 = 12.8 
0.8 × 16 = 12.8 
 
10 = A, 12 = C 
  
(2598.675)10  = ([Link])16 
 
4. (1101010)2  
MSB is sign bit 
(101010)2 = 32 + 8 + 2 = 42 
 
5. Human voice is a analog signal 
6. Binary equivalent of (105.15)10  
Follow the earlier hint.  
Successive Division of 105 by 2 
Successive Multiplication of 0.15 by 2 
7. (2x)9 = (3y)7 
18 + x = 21 + y 
x – y = 3 
 
In three of the options (i.e. a,b,c) x‐y = 3 
But x cannot be 9 in a number system with base = 9 
So both options a and b are correct 
Presently, only option b has been configured as correct. 
However, marks will be given if option a is ticked. The marks will be 
updated in the end of the course 
8.  (225.4375)10 in base 4 number system 
Follow the earlier hint. 
Successive Division of 225 by 4 
Successive Multiplication of 0.4375 by 4 
 
9. (2x)5 = (3y)6 
10 + x = 18 + y 
x‐y = 8 
 
In all three cases, x – y = 8 
But in all the cases the values are more than the base of the number system. 
For example, the value of x cannot be 9 in base 5 number system. 
So none of the options are correct. 
 
10. (225.4375)10 in Hex number system 
Follow earlier hint. 
11. The decimal equivalent would be (1×0.50)+ (1×0.51) = ¾ (OPTION C) 
12. At first, split the decimal number to non‐fractional part and the fractional part 
27.1875 = 27 (non‐fraction) + 0.1875(fraction) 
Binary equivalent of 27 = 11011 
To convert the fraction 
0.1875 × 2 = 0.375 
0.375  × 2 = 0.75 
0.75× 2 = 1.5 
0.5× 2 = 1.0 
Thus (0.1875)10 = (0.0011)2   
Combining we have 27.1875 = 11011.0011 (OPTION B) 
13. An octal to binary conversion can be accomplished by simply replacing each octal digit by its  3‐
bit  binary equivalent. (OPTION B) 
14. The range of values for n‐bit number in 2’s complement system is given as ‐2n‐1 , (2n‐1 – 1) . 
Putting n = 16, we get the range as ‐32767, +32768. (OPTION D) 
15. A = 001010 (1’s complement) = +10 
B = 111010(signed) = ‐26 
X = 10‐26 = ‐16 
2’s complement of ‐16 in 6‐bit binary number system = 110000 (OPTION A) 
 

 
 

Common questions

Powered by AI

Converting an octal number to binary is straightforward, as each octal digit corresponds directly to a unique 3-bit binary value due to octal's base 8 being a power of 2. For a decimal number, conversion requires dividing the integer part by 2 and multiplying the fractional part by 2, accounting for carries that are non-straightforward. Hence, converting from decimal to binary involves more steps since the bases (10 and 2) are not related as powers .

2's complement simplifies arithmetic operations by allowing both positive and negative numbers in the same binary structure, employing the most significant bit as the sign indicator. Its calculation provides ease in computer processors, as subtraction and addition share the same hardware. However, its utility limits lie in range equivalences where, for n-bit numbers like 16-bit, range spans -32768 to +32767, bounding significant negative quantities, a potential limitation if broader ranges are required .

In a positional number system, a digit must be less than the base. For example, in base 5, the digits can only be 0, 1, 2, 3, or 4. Assigning a digit like 9 is invalid because it exceeds the base. This constraint inherently limits expression in any fixed base system unless base conversions are applied. In problem-solving, this impacts the interpretation of equations, such as (2x)5 compared to (3y)6, where the values of variables like 'x' cannot exceed the base .

Defining both complements provides robust mechanisms for signed integer arithmetic. The 1's complement inverts all bits and is useful for certain bitwise operations. The 2's complement extends this by adding one, making addition and subtraction seamless without extra steps to handle carries across sign bits, as transitioning to 2's complement simplifies negative binary arithmetic, minimizing errors through its unified approach for handling negatives, unlike 1’s complement which requires manual sign considerations .

The equation (2x)9 = (3y)7 follows arithmetic based on equivalent values in different bases, requiring both expressions to resolve to the same base 10 numeral. The relation x-y=3 must hold when reinvesting these values since both expressions, despite different bases, symbolize the same quantity. Constraints like x not equaling 9 in base 9 stem from the fundamental principle that numeric representation cannot exceed the respective base threshold .

Successive division by 2 for converting a decimal integer to binary directly leverages the base 2 system's properties. Each division's remainder represents a binary digit, starting from the least significant. The method reflects the binary system's property of powers of two, with each step reducing the number by a binary magnitude. This iterative approach encapsulates the binary essence, where only 0s and 1s constitute numerals .

The conversion involves separately handling the integer and fractional parts of the decimal number. First, the integer part 2598 is repeatedly divided by 16, yielding remainders which contribute to the hex digits 'A26'. The fractional part 0.675 is multiplied by 16 repeatedly to extract digits, resulting in 'A. CCC'. Combining these results, (2598.675)10 converts to (A26.ACCC)16 .

To convert a decimal floating-point number to hexadecimal, divide the integer part by 16 to find hex digits sequentially by remainders, and handle the fractional part by multiplying by 16 and extracting the floor of the product for each hex digit. The process iterates, revealing how fractional representations often repeat, leading to results like the decimal 0.675 converting to the repeating hex fractional 'A.CCC'. This demonstrates the occurrence of recurring sequences in fractional conversions beyond certain precision .

To convert a hexadecimal number to binary, each hexadecimal digit is replaced with its 4-bit binary equivalent. This is because each hex digit can represent values from 0 to 15, which is exactly the range a 4-bit binary number can cover. For instance, the hexadecimal (6E)16 is converted to binary as (01101110)2, with each hex digit being converted individually: '6' becomes '0110' and 'E' becomes '1110' .

Human voice is analog because it is a continuous wave that varies in frequency and amplitude over time, reflecting natural speech's smooth progression. In contrast, digital signals, like binary (with values of 0 and 1), are discrete and have distinct high and low states. Where analog captures a spectrum of nuances such as loudness and pitch in real-time, digital signals are quantized into precise segments, which can be processed digitally for tasks like storage and computation .

You might also like