Computer Programming
We will cover following topics
PYQs
Number Systems
1) Given the number 59.625 in decimal system. Write its binary equivalent.
[2006, 6M]
2) If , then find , and .
[2004, 6M]
3) In a 4-bit representation, what is the value of 1111 in signed integer form, unsigned integer form, signed 1’s complement form and signed 2’s complement form?
[2004, 6M]
4) Find the multiplication of the following binary numbers: 11001.1 and 101.1
[2003, 6M]
5) Convert the following binary number into octal and hexadecimal system:
.
[2003, 6M]
6) Convert into its binary equivalent.
[2002, 4M]
7) Multiply the binary numbers and and check with its decimal equivalent.
[2002, 8M]
8) Express the area of the triangle having sides of lengths , 12, units in binary number system.
[2001, 6M]
Conversion from one Number System to Other
1) Find the equivalent numbers given in a specified number to the system mentioned against them:
(i) Integer 524 in binary system.
(ii) 101010110101.101101011 to octal system.
(iii) Decimal number 5280 to hexadecimal system
(iv) Find the unknown number to .
[2019, 15M]
2) Find the equivalent of numbers given in a specified number system to the system mentioned against them.
(i) to decimal system
(ii) to hexadecimal system
(iii) to decimal system
(iv) to binary system
[2018, 15M]
3) Convert the following decimal numbers to univalent binary and hexadecimal numbers:
(i) 4096, (ii) 0.4375, (iii) 2048.0625
[2016, 10M]
4) Compute to the base 8.
[2011, 6M]
5) Find the hexadecimal equivalent of the decimal number .
[2010, 5M]
6) Find the decimal equivalent of .
[2009, 6M]
7) Convert:
(i) 46655 given to be in the decimal system into one in base 6.
(ii) into a number in the decimal system.
[2007, 12M]
8) Given the number 3898 in decimal system. Write its equivalent in system base 8.
[2006, 6M]
9) Find the hexadecimal equivalent of and decimal equivalent of .
[2005, 12M]