Assgniment

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

JU, JIT, FACULTY OF COMPUTING

Department of Economics

Introduction to computer Assignment

Guideline

 Part one is common for all.


 From part two select question which is similar to first digit of your ID number. For
Example if your ID is 4437/07 take do question number 7. If it is 0 do 10 th digit.
Example if your ID is 4430/07 you will do question number 3.
 For part three use 10th digit of your ID number.

Part I: Number System General Question

1. Convert the last two digit of your id number into base two for example if your id
number is RU6799/08, then convert (99)10 to base (____)2
2. Convert the last two digit of your id number into base eight for example if your id
number is RU6799/08, then convert (99)10 to base (____)8
3. Encode your name using 6-bit BCD
4. Encode your ID number using ASCII-8 (ASCII System)

Part II: The Following characters are encoded by using ASCII-7 coding methods
decode and find out the correct encoded character or number.

1. 10010101101001110110111011011100001
2. 101010111011101101001111011011001011110010111001111010011110100
1111001
3. 10000101110101111001111010011101110110010111100111110011
4. 100000110011101000100
5. 100010111000111101111110111011011111101101110100111000111110011
6. 1000110110000111000111110101110110011101001111001
7. 100100110000111010100
8. 100001111011111110101111001011100111100101
9. 100000111100111110011110100111001111101110110110111001011101110
1110100

Part III: Base conversion

A. From base 10 to base 2


1. Convert (24.625)10 to (____________)2
2. Convert (56.5)10 to (____________)2
3. Convert (56.125)10 to (____________)2
4. Convert (24.125)10 to (____________)2
5. Convert (90.5)10 to (____________)2
6. Convert (120 )10 to (____________)2
7. Convert (67.625)10 to ( ____________ )2
8. Convert (33.625)10 to (____________)2
9. Convert (124.5)10 to (____________)2

B. From base 10 to base 8


1. Convert (24.625)10 to (____________)8
2. Convert (56.5)10 to (____________)8
3. Convert (56.125)10 to (____________)8
4. Convert (24.125)10 to (____________)8
5. Convert (90.5)10 to (____________)8
6. Convert (120 )10 to (____________)8
7. Convert (67.625)10 to (_____________)8
8. Convert (33.625)10 to (_____________)8
9. Convert (124.5)10 to (_____________)8
c. From base 2 to base 10
1. Convert ( 1111100.1 )2 to ( ____________ )10
2. Convert ( 1000011.101)2 to ( ____________ )10
3. Convert ( 1011010 )2 to ( ____________ )10
4. Convert ( 111000.001)2 to ( ____________ )10
5. Convert ( 11000.101 )2 to ( ____________ )10
6. Convert ( 111000.1)2 to ( ____________ )10
7. Convert (11000.001)2 to ( ____________ )10
8. Convert (1111000)2 to ( ____________ )10
9. Convert (100001.101)2 to ( ____________ )10
d. From base 8 to base 10
1. Convert (10.5)8 to ( ____________ )10
2. Convert (110.4)8 to ( ____________ )10
3. Convert (111.5)8 to ( ____________ )10
4. Convert (55.4)8 to ( ____________ )10
5. Convert (510.5)8 to ( ____________ )10
6. Convert (67.1)8 to ( ____________ )10
7. Convert (34.1)8 to ( ____________ )10
8. Convert (65.5)8 to ( ____________ )10
9. Convert (700.4)8 to ( ____________ )10
e. From Base 2 to base 8
1. Convert (1111001) to ( ____________ )10
2. Convert (1100111) to ( ____________ )10
3. Convert (1101010) to ( ____________ )10
4. Convert (1101110) to ( ____________ )10
5. Convert (1000101) to ( ____________ )10
6. Convert (1000110) to ( ____________ )10
7. Convert (1000111) to ( ____________ )10
8. Convert (1000001) to ( ____________ )10
9. Convert (1111.110) to ( ____________ )10

You might also like