0% found this document useful (0 votes)
169 views7 pages

Electronics For Computing 1

This document is an assignment for Electronics for Computing 1 at Information and Communications University, due on September 12, 2024. It consists of 12 questions covering topics such as number base conversions, Boolean equations, logic circuits, and simplifications. Students are instructed to submit their solutions physically and can contact the course lecturer for any questions.

Uploaded by

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

Electronics For Computing 1

This document is an assignment for Electronics for Computing 1 at Information and Communications University, due on September 12, 2024. It consists of 12 questions covering topics such as number base conversions, Boolean equations, logic circuits, and simplifications. Students are instructed to submit their solutions physically and can contact the course lecturer for any questions.

Uploaded by

ndabaunmasked
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Information and Communications University

School of Engineering
Department of Electrical/Electronics
Assignment 1
Electronics for Computing 1
Due date 12th September 2024
Time 13:00
Submit physically
For any questions contact course lecturer 0969796822

INSTRUCTIONS
 They are 12 questions answer All.
 Write your solutions as clean as possible.
 Enjoy

1|Page
1. a. Convert the following decimal numbers to the indicated base,
i. 7562.45 to Octal
ii. 1918.25 to Hexadecimal
iii. 11517510 to Binary.
b. Convert the following binary numbers to decimal:
1001101. 1001 and 10101 11 0.1001.

c. What is the exact number of bits in a memory that contains


i. 48K bits ii. 354M bits: iii 8G bits?

d. Show the bit configuration that represent the decimal number 365 in
i. binary. ii. BCD. iii ASCII,

2. Convert the following numbers from the given base to the other three bases listed in
the table:

Decimal Binary Octal Hexadecimal


369.3125 ? ? ?
? 10111101.101 ? ?
? ? 326.5 ?
? ? ? F3C7.A

2|Page
3. Deduce the Boolean equation and write the truth table for each circuit given

4. Given the logic circuits below, use the kap-map technique to come up with the
equations and truth-table

3|Page
5. Prove by means of simplification that the left-hand side of the equation is equal to the
right-hand side
a. X’Y’ + X’Y + XY = X’ + Y
b. A’B + B’C’ + AB + B’C = 1
c. Y + X’Z + XY’ + = X + Y + Z
d. X’Y’ + Y’Z ‘ + XZ +XY + YZ’ = X’Y’ + XZ + YZ’

4|Page
6. a. Simplify the following Boolean equations

b. Implement the following optimized function into a logical circuit

c. Minimize the following SOP expression using a Karnaugh Map

X = A’BC’E’ + A’B’C’DE + AB’C’DE + ABC’D’E’ + A’BCDE’ + A’BCD’E +


A’B’C’D’E’ + A’B’CDE + ABC’DE’ + ABC’DE

7. a. With the aid of diagram explain the working of the following logic gates
(i) NOT
(ii) AND
(iii) OR
(iv) Ex-OR
(v) Ex-NOR
(vi) NAND

b (i) Add the number 11 + (-7) direct in decimals prove you answer in binary using

5|Page
two’s compliment.

8. (a) Derive the Boolean expression and construct a truth table for the switching circuit
shown in Fig below.

(b) simply and draw the logic circuit the given equations below.

9. In a chemical process, three of the transducers used are P, Q and R, giving output
signals of either 0 or 1. Devise a logic system to give a 1 output when:

(a) P and Q and R all have 0 outputs, or

when:

(b) P is 0 and (Q is 1 or R is 0)

10. Lift doors should close (Z) if:

(a) the master switch (A) is on and either

(b) a call (B) is received from any other floor,

or

(c) the doors (C) have been open for more than 10 seconds, or

6|Page
(d) the selector push within the lift (D) is pressed for another floor.

Devise a logic circuit to meet these requirements.

11. A water tank feeds three separate processes. When any two of the processes are in
operation at the same time, a signal is required to start a pump to maintain the head of
water in the tank.

Devise a logic circuit using nor-gates only to give the required signal.

12. A logic signal is required to give an indication

when:

(a) the supply to an oven is on, and

(b) the temperature of the oven exceeds 210◦C, or

(c) the temperature of the oven is less than 190◦C.

Devise a logic circuit using nand-gates only to meet these requirements.

End of examination

7|Page

Common questions

Powered by AI

The logic circuit requires the lift door to close (Z) if: (a) the master switch (A) is on and (b) a call (B) is received from another floor, (c) doors (C) have been open more than 10 seconds, (d) or the selector push (D) is pressed. This can be represented by the logic equation Z = A AND (B OR C OR D). The circuit can be implemented using basic AND and OR gates with A input to AND gate, which receives input from OR gate combining B, C, and D .

For condition (a), where P, Q, and R are all 0 for output 1, the expression is P'Q'R'. For condition (b), where P=0 and (Q=1 or R=0), the expression is P'(Q+R'). Combining both, the overall logic is P'Q'R' + P'(Q + R').

In binary, 365 is 101101101. In BCD (Binary-Coded Decimal), it is 0011 0110 0101 (each decimal digit represented as a separate binary number). In ASCII, 365 is represented as the characters '3', '6', '5', which correspond to ASCII binary 00110011 (51), 00110110 (54), and 00110101 (53) respectively .

The lift door system integrates safety by ensuring closure only via valid conditions: A ensures critical system authorization (master switch), while B, C, and D ensure operational efficiency by responding to call signals, delay, and demand, respectively, which showcases vital logic integration in real-world operations .

Design the logic with inputs A (supply on), B (temperature > 210°C), and C (temperature < 190°C). Requirement: A AND (B OR C'). In NAND-terms: A’ NAND B’ NAND (C’ NAND C’), translating to negation and OR conditions configured with NAND-gates, utilizing De Morgan’s Laws and structure to impose NOT constraints .

Using De Morgan's Theorems, a logic circuit with NOR-gates can achieve the function for starting a pump when any two processes are active. If processes are denoted as X, Y, and Z, the condition is (XY or YZ or XZ). This can be reinterpreted using NOR as (X NOR Y) NOR (Y NOR Z) NOR (Z NOR X). Implement this with three levels of NOR gates: first level creating NOT of each process, second creating the pairwise OR conditions, and third ensuring NOT for combined conditions .

Organize the SOP X = A’BC’E’ + A’B’C’DE + ... in a Karnaugh map to visually group and simplify to fewer products by identifying large contiguous boxes (grouping like 1s). The minimized result indicates fewer gates and simpler structure (implementation specifics depend on laws and simplification path).

The expression X’Y’ + X’Y + XY can be simplified to X’ + Y by applying Boolean algebra laws. The original equation can be split into: X’(Y’ + Y) + XY. Since (Y’ + Y) equals 1, it reduces to X’ + XY. Further simplification using the consensus theorem (XZ + YZ + X'Y = XZ + Y) results in X’ + Y, proving the equation .

To convert the decimal number 7562.45 to octal, first convert the whole number part and then the fractional part. Whole number: Divide 7562 by 8 repeatedly and collect remainders: 7562 ÷ 8 = 945 remainder 2, 945 ÷ 8 = 118 remainder 1, 118 ÷ 8 = 14 remainder 6, 14 ÷ 8 = 1 remainder 6, 1 ÷ 8 = 0 remainder 1, giving us 16612 in octal. Fractional part: Multiply 0.45 by 8 until the fractional repeats or ends (up to desired precision): 0.45 * 8 = 3.6 (integer part 3), 0.6 * 8 = 4.8 (integer part 4), so .45 in octal is approximately .34. Therefore, 7562.45 in decimal is approximately 16612.34 in octal .

To convert 10111101.101 to decimal: separate into integer 10111101 (189 in decimal) and fraction 0.101 (.625 in decimal), thus the number is 189.625. To convert to octal: group into 3 bits from binary point resulting in 275.5 in octal. For hexadecimal: group into 4 bits resulting in BD.A in hexadecimal .

You might also like