0% found this document useful (0 votes)
19 views3 pages

Tutorial 2

The document is a tutorial for KEE1223 (Logic Design) focusing on number systems, operations, and codes. It includes exercises on decimal, binary, hexadecimal, and octal numbers, as well as conversions and arithmetic operations. The tutorial is structured into sections with specific tasks for students to complete.

Uploaded by

aqilmegat05
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)
19 views3 pages

Tutorial 2

The document is a tutorial for KEE1223 (Logic Design) focusing on number systems, operations, and codes. It includes exercises on decimal, binary, hexadecimal, and octal numbers, as well as conversions and arithmetic operations. The tutorial is structured into sections with specific tasks for students to complete.

Uploaded by

aqilmegat05
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/ 3

FACULTY OF ENGINEERING AND

BUILT ENVIRONMENT

KEE1223 (LOGIC DESIGN)

TUTORIAL 2

Semester 2

NAME ……………………………………………………………………
ID ……………………………………………………………………
Chapter 2: Number Systems, Operations and Codes

Section 2–1 Decimal Numbers


1. Give the value of each digit in the following decimal numbers:
(a) 263 (b) 5436 (c) 234543

Section 2–2 Binary Numbers


2. Convert the following binary numbers into decimal:
(a) 100001 (b) 100111 (c) 101010 (d) 111001
(e) 1100000 (f) 11111101 (g) 11110010 (h) 11111111

Section 2–3 Decimal-to-Binary Conversion


3. Convert each decimal number to binary by using the sum-of-weights method:
(a) 12 (b) 15 (c) 25 (d) 50 (e) 65 (f) 97
(g) 127 (h) 198

4. Convert each decimal fraction to binary using repeated multiplication by 2:


(a) 0.76 (b) 0.456 (c) 0.8732

Section 2–4 Binary Arithmetic


5. Add the binary numbers:
(a) 10 + 10 (b) 10 + 11 (c) 100 + 11 (d) 111 + 101
(e) 1111 + 111 (f) 1111 + 1111

Section 2–5 Complements of Binary Numbers


6. Determine the 1’s complement of each binary number:
(a) 100 (b) 111 (c) 1100 (d) 10111011 (e) 1001010 (f) 10101010

7. Determine the 2’s complement of each binary number using either method:
(a) 11 (b) 110 (c) 1010 (d) 1001 (e) 101010 (f) 11001
(g) 11001100 (h) 11000111

2
Section 2–6 Signed Numbers
8. Determine the decimal value of each signed binary number in the 2’s complement form:
(a) 10011001 (b) 01110100 (c) 10111111

Section 2–7 Arithmetic Operations with Signed Numbers


9. Convert each pair of decimal numbers to binary and add using the 2’s complement form:
(a) 33 and 15 (b) 56 and 27 (c) 46 and 25 (d) 110 and 84

Section 2–8 Hexadecimal Numbers


10. Convert each hexadecimal number to decimal:
(a) 4216 (b) 6416 (c) 2B16 (d) 4D16 (e) FF16 (f) BC16
(g) 6F116 (h) ABC16

Section 2-9 Octal Numbers


11.Convert each octal number to decimal:
(a) 148 (b) 538 (c) 678 (d) 1748 (e) 6358 (f) 2548
(g) 26738 (h) 77778

Section 2-10 Binary Coded Decimal (BCD)


12. Convert the following decimal numbers to BCD:
(a) 104 (b) 128 (c) 132 (d) 150 (e) 186 (f) 210
(g) 359 (h) 547 (i) 1051

You might also like