You are on page 1of 2

TECHNOLOGICAL INSTITUTE OF THE PHILIPPINES

938 Aurora Boulevard, Cubao, Quezon City 1109

COURSE CODE: CPE 004


DESCRIPTIVE TITLE: Logic Circuits and Switching Theory
SECTION: EE31S1

Mid-term Homework/ Assignment No. 1

Question1.
A. Convert the following binary numbers to decimal:
101110; 1110101; and 110110100.
B. Convert the following decimal numbers to binary:
1231; 673.23; 10; and 1998.
C. Convert the following numbers from the given base to the other three bases indicated.
(a) Decimal 225 to binary, octal, and hexadecimal.
(b) Binary 1010111 to decimal, octal, and hexadecimal.
(c) Octal 623 to decimal, binary, and hexadecimal.
(d) Hexadecimal 2AC5 to decimal, octal, and binary.

Question 2.
Find the 1's and 2's complements of the following 8-digit binary numbers:
10101110; 10000001; 10000000; 00111001; and 00101000.

Question 3.
A. Perform the arithmetic operations (+42) + (-13) and (-42) + (-13) in binary using the
signed-2's-complement representation for negative numbers.
B. The binary numbers listed have a sign in the leftmost position. Perform the
arithmetic operations indicated and verify the answers.
(a) 101011 + 111000
(b) 001110 + 110010
(c) 111001 - 001010
(d) 10101 1 - 100110
Question 4. Fill in the black box with the correct symbol of the gate and find the output.

Question 5. Express the switching circuit shown in the figure in binary logic notation.

You might also like