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

Assignment 1 Statement

This document provides instructions for Assignment #1 for the course Digital Logic & Design. It instructs students to [1] fill out a table converting numbers between different number bases, including base 2, base 3, base 8, and base 16, [2] perform sample conversions to check their work, and [3] convert additional numbers between bases, including a decimal fraction. It also provides details on how to write the assignment, including using the student's assigned number and name.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Assignment 1 Statement

This document provides instructions for Assignment #1 for the course Digital Logic & Design. It instructs students to [1] fill out a table converting numbers between different number bases, including base 2, base 3, base 8, and base 16, [2] perform sample conversions to check their work, and [3] convert additional numbers between bases, including a decimal fraction. It also provides details on how to write the assignment, including using the student's assigned number and name.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

DIGITAL LOGIC & DESIGN (EE-1005)

ASSIGNMENT #1

ID: __________ NAME: __________________ SECTION: ____

Read the Instructions Carefully

 Base 3, base 4, base 5, base 6 means the one you used in QUESTION 1
 Your assigned number is given to you in excel sheet provided with 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

FOR EXAMPLE: Name is HAMAZADAUD

 Use your name instead of HAMZA


 If your name starts with MUHAMMAD kindly use your second name
 Convert repeated character to small letter or to other symbols to make them unique (see example for A,
a & @)
SIXTH FIFTH FOURTH THIRD SECOND FIRST ZERO
CHARACTER CHARACTER CHARACTER CHARACTER CHARACTER CHARACTER CHARACTER
OF YOUR OF YOUR OF YOUR OF YOUR OF YOUR OF YOUR OF YOUR
NAME NAME NAME NAME NAME NAME NAME
Short for
C0 C1 C2 C3 C4 C5 C6
CHARACTER
YOUR
NAME
CHARACTER
BY
CHARACTER $ @ a Z M A H
1. Fill the table given below and Count in given base
NOTE: Use Assigned number & Your Name
Assigned Number: 1418 Name: Sahil
• Base 3 (Zero Digit is Assign0 (A0), First Digit is Assign1 (A1), Second Digit is Assign2 (A2))
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
• 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 16
DECIMAL BASE 3 BASE 4 BASE 5 BASE 6 HEXA
BINARY OCTAL
0 0 1 1 S S 0 0
1 1 4 4 A A 1 1

2 10 1 1 H H 2 2
3 11 41 8 I I 3 3

4 100 44 41 L L 4 4
5 101 41 44 AS @ 5 5

6 110 11 41 AA AS 6 6
7 111 14 48 AH AA 7 7

8 1000 11 11 AI AH 10 8
9 1001 411 14 AL AI 11 9

10 1010 414 11 HS AL 12 A

11 1011 411 18 HA A@ 13 B

12 1100 441 81 HH HS 14 C

13 1101 444 84 HI HA 15 D

14 1110 441 81 HL HH 16 E
15 1111 411 88 IS HI 17 F

16 10000 414 411 IA HL 20 10

17 10001 411 414 IH H@ 21 11

2
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
18 10010 111 411 II IS 22 12

19 10011 114 418 IL IA 23 13

20 10100 111 441 LS IH 24 14

BASE 2 BASE 8 BASE


BASE 10 BINARY BASE 3 BASE 4 BASE 5 BASE 6 OCTAL 16
HEXA
21 10101 141 444 LA II 25 15
22 10110 144 441 LH IL 26 16

23 10111 141 448 LI I@ 27 17


24 11000 111 411 LL LS 30 18

25 11001 114 414 ASS LA 31 19


26 11010 111 411 ASA LH 32 1A

27 11011 4111 418 ASH LI 33 1B


28 11100 4114 481 ASI LL 34 1C

29 11101 4111 484 ASL L@ 35 1D

30 11110 4141 481 AAS @S 36 1E

31 11111 4144 488 AAA @A 37 1F

32 100000 4141 111 AAH @H 40 20

33 100001 4111 114 AAI @I 41 21

34 100010 4114 111 AAL @L 42 22

35 100011 4111 118 AHS @@ 43 23

36 100100 4411 141 AHA ASS 44 24

37 100101 4414 144 AHH ASA 45 25

38 100110 4411 141 AHI ASH 46 26

39 100111 4441 148 AHL ASI 47 27

40 101000 4444 111 AIS ASL 50 28

41 101001 4441 114 AIA AS@ 51 29

3
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
42 101010 4411 111 AIH AAS 52 2A

43 101011 4414 118 AII AAA 53 2B

44 101100 4411 181 AIL AAH 54 2C

45 101101 4111 184 ALS AAI 55 2D

46 101110 4114 181 ALA AAL 56 2E

47 101111 4111 188 ALH AA@ 57 2F

48 110000 4141 811 ALI AHS 60 30

49 110001 4144 814 ALL AHA 61 31

50 110010 4141 811 HSS AHH 62 32

2. Perform the following conversion to check your counting in question 1

• (22) 10 = ( ? )3 Base 3 used in Question # 1

144

• (32) 10 = ( ? )4 Base 4 used in Question # 1

111

4
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
• (41) 10 = ( ? )5 Base 5 used in Question # 1

AIA

• (49) 10 = ( ? )6 Base 6 used in Question # 1

AHA

5
ASSIGNMENT # 1 [EE-1005] Assigned Number:
ID:__________

3. Convert Decimal (1418)10 to ( 4114441)3, ( 4411011)4, ( HAAII)5 and (ASIHH )6 check results by

recovering them to decimal

4. Convert Decimal fraction (0.


Last two digits of the Assigned Number )10 to ( .1044141101 )3, (
.10181 )4, ( .SLHHHHH )5 and

( .ASH@ALSH@AL )6 check results by reconverting them to decimal

5. Perform addition to result of Question 3 to base in Question 1 as follow

• (Assigned number)3 + ( question 1 number 46)3


• (Assigned number)4 + ( question 1 number 49)4
• (Assigned number)5 + ( question 1 number 35)5
• (Assigned number)6 + ( question 1 number 24)6
6. Perform subtraction to result of Question 3 from base in Question 1 as follow :
(Assigned number)3 - ( question 1 number 46)3
• (Assigned number)4 - ( question 1 number 49)4
• (Assigned number)5 - ( question 1 number 35)5
• (Assigned number)6 - ( question 1 number 50)6
7. Perform R ’s and (R-1)’s complement to the results of question 3 to generate negative number

• R ’s and (R-1)’s of (Assigned number)3 of results from Q3

• R ’s and (R-1)’s of (Assigned number)4 of results from Q3

• R ’s and (R-1)’s of (Assigned number)5 of results from Q3

• R ’s and (R-1)’s of (Assigned number)6 of results from Q3

6
ASSIGNMENT # 1 [EE-1005] Assigned Number:

ID:__________

8. Perform R-1 ’s complement subtraction using values from Question 7 and Question 1

• (question 1 number 15)3 - (R-1)’s of (Assigned number)3 results from Q7

• (question 1 number 25)4 - (R-1)’s of (Assigned number)4 results from Q7

• (question 1 number 33)5 - (R-1)’s of (Assigned number)5 results from Q7

• (question 1 number 37)6 - (R-1)’s of (Assigned number)6 results from Q7

9. Perform R ’s complement subtraction using values from Question 7 and Question 1

• (question 1 number 13)3 - (R)’s of (Assigned number)3 results from Q7

• (question 1 number 17)4 - (R)’s of (Assigned number)4 results from Q7

• (question 1 number 23)5 - (R)’s of (Assigned number)5 results from Q7

• (question 1 number 44 )6 - (R)’s of (Assigned number)6 results from Q7

10. Number Multiplication

• Multiply Last two digits of your assigned number(A2A3)10 with (17)10

• Multiply (15)3 x (5)3 =(?)3 Result should be in base 3 as well

• Convert assigned Number A3 to binary and multiply with given number (A3.011)2 with
(101.011)2
11. Number Division

• Divide First two digits of your assigned number(A0A1)10 with (3)10

• Convert assigned Number (A0A1)10 to binary and divide in given number (A0A1)2 with (11)2

7
ASSIGNMENT # 1 [EE-1005] Assigned Number:

You might also like