Assignment 1
Assignment 1
ASSIGNMENT #1
ID: __________ NAME: __________________ SECTION: ____
❖ Base 3, base 4, base 5, base 6 means the one you used in QUESTION 1
❖ Your assigned number is given in csv file along with this assignment.
FOR EXAMPLE: Assigned Number if your assigned number is 7821
Assign Digit 0 Assign Digit 1 Assign Digit 2 Assign Digit 3
Short for Assigned Digit A0 A1 A2 A3
Write Assigned Number
Digit By Digit 7 8 2 1
• Base 3 (Zero Digit is Assign0 (A0), First Digit is Assign1 (A1), Second Digit is Assign2 (A2))
• Base 4 (Zero Digit is Assign0 (A0), First Digit is Assign1 (A1), Second Digit is Assign2 (A2), and Third Digit is
Assign3 (A3))
• Base 5 (Zero Digit is Character0 (C0) of your name, First Digit is Character1 (C1) of your name, Second
Digit is Character2 (C2) of your name, Third Digit is Character3 (C3) of your name, Four Digit is
Character04 (C4) of your name)
• Base 6 (Zero Digit is Character0 (C0) of your name, First Digit is Character1 (C1) of your name, Second
Digit is Character2 (C2) of your name, Third Digit is Character3 (C3) of your name, Four Digit is
Character04 (C4) of your name and Fifth Digit is Character05 (C5) of your name)
TABLE
BASE 10 BASE 2 BASE 8 BASE
DECIMAL BASE 3 BASE 4 BASE 5 BASE 6 16
BINARY OCTAL HEXA
0 0
1 1
10
11
12
13
14
15
16
2
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
BASE 2 BASE 8 BASE
BASE 10 BINARY BASE 3 BASE 4 BASE 5 BASE 6 OCTAL 16
HEXA
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
3
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
42
43
44
45 -
46
47
48
49
50
4
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
• (49) 10 = ( ? )5 Base 5 used in Question # 1
5
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
3. Convert Decimal (Assigned Number )10 to ( ? )3, ( ? )4, ( ? )5 and ( ? )6 check results by recovering
them to decimal
4. Convert Decimal fraction (0. Last two digits of the Assigned Number )10 to ( ? )3, ( ? )4, ( ? )5 and
6
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
8. Perform R-1 ’s complement subtraction using values from Question 7 and Question 1
• Convert assigned Number A2 to binary and multiply with given number (A2.101)2 with
(110.101)2
11. Number Division
• Convert assigned Number (A2A3)10 to binary and divide in given number (A2A3)2 with (9)2
13. Convert your assigned number to binary (base2) and covert that binary to gray code.