0% found this document useful (0 votes)
25 views9 pages

HW-1, LOGICd

asdsad

Uploaded by

Osama Alyasi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views9 pages

HW-1, LOGICd

asdsad

Uploaded by

Osama Alyasi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

KINGDOM OF SAUDI ARABIA

Ministry of Education
KING ABDULAZIZ UNIVERSITY

Faculty of Engineering at Rabigh ‫ﻛﻠﻴﺔ ﺍﳍﻨﺪﺳﺔ ﺑﺮﺍﺑﻎ‬


Electrical Engineering Department
‫ﻗﺴﻢ ﺍﳍﻨﺪﺳﺔ ﺍﻟﻜﻬﺮﺑﺎﺋﻴﺔ‬

Assignment 1 Spring 2024


Course Name Digital Logic Design
Date : 29/01/2024
Course Code EEN 212 Deadline

Name:
Abdullah Saeed Abdullah Alsubhi

ID No:
2236085

For official use only

Points

50

With my best wishes

Dr. Farid Shawki Al-Hosarey


QUESTIONS AND PROBLEMS
1.1 Convert the following unsigned binary numbers into their decimal equivalents:
(a) 011101012 (b) 11011012 (c) 10001112 (d) 1011011.11012

1.2 Convert the following numbers into binary:


(a) 152l0 (b) 343l0 (c) 463.56411110

1.3 Convert the following numbers into octal:


(a) 184310 (b) 176610 (c) 35F2A16

1.4 Convert the following numbers into hexadecimal


(a) 198710 (b) 307210 (c) 357238

1.5 Convert the following binary numbers into octal and hexadecimal numbers:
(a) 1101011100101 (b) 11000011100110000011

1.6 Using 8 bits, represent the integers -48 and 52 in


(a) signed magnitude form
(b) ones complement form
(c) twos complement form

1.7 Identify the following unsigned binary numbers as odd or even without
converting them to decimal:
110011002; 001001002; 011110012.

1.8 Convert 532210 into its binary equivalent.

1.9 Convert the following hex numbers to binary:


15FD16; 26EA16; A46D.5B
1.10 Provide the BCD8421 bit encodings for the following decimal numbers:
(a) 11264 (b) 8192
1.11 Represent the following numbers in BCD2421:
(a)678 (b)32874
2
1.12 Represent the following numbers in BCD8421:
(a)61440 (b) 2874

1.13 What is the excess-3 equivalent of octal 1543?

1.14 Represent the following binary numbers in BCD:


(a) 0001 1001 0101 0001
(b) 0110 0001 0100 0100 0000

1.15 Express the following binary numbers into excess-3:


(a) 010110010111
(b) 0110 1001 0000

1.16 Perform the indicated arithmetic operations in binary. Assume that the numbers
are in decimal and represented using 8 bits. Express the results in decimal. Use
the2’s complement approach for carrying out all subtractions.
(a) 14 (c) 32
+17 -14

(b) 34 (d) 34
+28 -42

1.17 Using 2’s complement, perform the following subtraction: 3AFA16 - 2F1E16.
Include the answer in hex.

1.18 Using 9's and 10's complement arithmetic, perform the following arithmetic
operations:
(a) 25410-13210 (b) 78310-80710
1.19 Perform the following arithmetic operations in binary using 6 bits. Assume that
all numbers are signed decimal. Use twos complement arithmetic. Indicate if
there is any overflow.
(a) 14 (b) 7 (c) 27
+8 +(-7) +(-19)
3
(d) (-24) (e) 19 (f) (-17)
+(-19) -(-12) -(-16)

1.20 Obtain the bit encodings of the following numbers and then perform the
indicated arithmetic operations using BCD:
(a) 54 (b) 782 (c) 82
+48 +219 -58

1.21 Find the odd parity bit for the following binary message to be transmitted:
10110000.
1.22 If a transmitting computer sends the 8-bit binary message 11000111 using an
even parity bit. Write the 9-bit data with the parity bit in the most significant bit.
If the receiving computer receives the 9-bit data as 110000111, is the 8-bit
message received correctly? Comment.

You might also like