0% found this document useful (0 votes)
20 views

CP Assignment 11

The document contains an assignment for a Computer Programming course. It includes 16 questions covering binary, octal, and hexadecimal number conversions as well as bitwise operations like addition, subtraction, multiplication, and division in binary. It also includes questions on finding 1's and 2's complements and developing an algorithm for determining the greatest of three numbers and checking if a number is even or odd.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

CP Assignment 11

The document contains an assignment for a Computer Programming course. It includes 16 questions covering binary, octal, and hexadecimal number conversions as well as bitwise operations like addition, subtraction, multiplication, and division in binary. It also includes questions on finding 1's and 2's complements and developing an algorithm for determining the greatest of three numbers and checking if a number is even or odd.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like