DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
YEAR : I
BRANCH : B.E., BIOMECH II
SEMESTER : 01
DATE : 26.08.2016
SUBJECT CODE / NAME : GE 6151 /COMPUTER PROGRAMMING
ASSIGNMENT I
1. Convert (6543)10 to Binary.
2. Convert (999)10 to Octal.
3. Convert (9999)10 to Hexadecimal.
4. Convert (10011000)2 to Octal.
5. Convert (674)8 to Binary.
6. Convert (100101011)2 to Hexadecimal.
7. Convert (24D)16 to Binary.
8. Convert (7033)8 to Decimal.
9. Convert (FFF1F)16 to Octal.
10. Convert (1001001)2 to Decimal.
11. ADD : 1001001.10 + 1010101.11
12. SUB : 1100110.11 0011010.01
13. MUL : 1110011 * 1101101
14. DIV : 1000110 / 1101
15. Find 1s and 2s complement for the following:
1. 100110
2. 0011010
16. Write algorithm, pseudocode and draw the flowchart for the following;
1. Greatest of three numbers.
2. Check whether the given number is even or odd.