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

Assignment 1 Statement

This document contains instructions for an assignment on digital logic and design. It instructs students to fill out a table converting numbers between different numeric bases, including base 2, base 3, base 4, base 5, base 6, base 8, base 10, and base 16. It also provides problems for students to perform arithmetic operations like addition, subtraction, and multiplication between numbers in different bases.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Assignment 1 Statement

This document contains instructions for an assignment on digital logic and design. It instructs students to fill out a table converting numbers between different numeric bases, including base 2, base 3, base 4, base 5, base 6, base 8, base 10, and base 16. It also provides problems for students to perform arithmetic operations like addition, subtraction, and multiplication between numbers in different bases.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

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
$ @ a Z M A H
CHARACTER

1. Fill the table given below and Count in given base


NOTE: Use Assigned number & Your Name

• 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)
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
• 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

10

11

12

13

14

15

16

17

18

19

20

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
21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45 -

46

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

48

49

50

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

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

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

• (41) 10 = ( ? )5 Base 5 used in Question # 1

4
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:
• (49) 10 = ( ? )6 Base 6 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 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
ID:__________ ASSIGNMENT # 1 [EE-1005] Assigned Number:

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

You might also like