Docsity

Sample Questions for Final Exam - Digital Logic | ECE 240, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
COE/EE 243
Digital Logic Session 45; Page 1/5
Spring 2003
COE/EE 243 Sample Final Exam From Fall 98
Show your work. Do NOT use a calculator!
1. (9 pts) Complete the following table of equivalent values.
Binary Octal Decimal Hexadecimal
1011.0011 29.99
33.23
2. (12 pts) Calculate the following
a)
๎˜€
11001
๎˜
2plus
๎˜€
101
๎˜
2
b)
๎˜€
11010
๎˜
2minus
๎˜€
10101
๎˜
2using 1โ€™s complement representation
c)
๎˜€
1101
๎˜
2times
๎˜€
1001
๎˜
2
d)
๎˜€
101101
๎˜
2divided by
๎˜€
110
๎˜
2
3. (9 pts) Complete the following table of equivalent values. Use binary numbers with a sign bit and
5 bits for the value
Decimal Signed Magnitude Twoโ€™s Complement Oneโ€™s Complement
๎˜€
11 111101
100001
pf3
pf4
pf5

Partial preview of the text

Download Sample Questions for Final Exam - Digital Logic | ECE 240 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

Digital Logic Spring 2003

COE/EE 243 Sample Final Exam From Fall 98

Show your work. Do NOT use a calculator!

  1. (9 pts) Complete the following table of equivalent values.

Binary Octal Decimal Hexadecimal

  1. (12 pts) Calculate the following a) 11001  2 plus 101  (^2) b) 11010  2 minus 10101  2 using 1โ€™s complement representation c) 1101  2 times 1001  (^2) d) 101101  2 divided by 110  (^2)

  2. (9 pts) Complete the following table of equivalent values. Use binary numbers with a sign bit and 5 bits for the value

Decimal Signed Magnitude Twoโ€™s Complement Oneโ€™s Complement 11 111101 100001

Digital Logic Spring 2003

  1. (8 pts) Give the Characteristic equations and the Excitation tables for the SR and JK flip-flops.
  2. (10 pts) Explain the difference between a Moore machine and a Mealy machine.

What is the same about both kinds of state machines?

Draw a block diagram indicating the structure of a general state machine. Indicate on the diagram where one can find the present state and next state.

  1. (5 pts) Give a truth table and a standard sum of products expression that describes F  A  B  C

Digital Logic Spring 2003

  1. (6 pts) Find a minimum sum of products expresssion for F  abc ^  bc ^ d ^  cd  a ^ b
  2. (10 pts) Create a state diagram for a sequence detector that outputs a 1 when it detects the final bit in the serial data stream 1101.

Digital Logic Spring 2003

  1. (10 pts) Determine the D flip-flop excitation equations for the system represented with in the state- transition table below. Assign states: S 0  00, S 1  01, S 2  10 and S 3  11. Present Next State Output S X=0 X=1 Z S0 S1 S2 0 S1 S1 S2 1 S2 S2 S3 1 S3 S3 S0 0
  2. (5 pts) Give the output expression for the 8-to-1 MUX shown below.

  



      

 (^)