University of Toronto Mississauga. Flip to the back cover and write down your name and student number.

Similar documents
Student Number: UTORid: Question 0. [1 mark] Read and follow all instructions on this page, and fill in all fields.

University of Toronto Mississauga. Flip to the back cover and write down your name and student number.

Last Name Student Number. Last Name Student Number

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

11/22/1999 7pm - 9pm. Name: Login Name: Preceptor Name: Precept Number:

EE 109L Review. Name: Solutions

Code No: R Set No. 1

EPC6055 Digital Integrated Circuits EXAM 1 Fall Semester 2013

Final Examination (Open Katz, asynchronous & test notes only, Calculators OK, 3 hours)

Final Exam Solution Sunday, December 15, 10:05-12:05 PM

Question Total Possible Test Score Total 100

Written exam for IE1204/5 Digital Design Thursday 29/

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

Philadelphia University Student Name: Student Number:

EECS 270 Midterm Exam

EECS150, Fall 2004, Midterm 1, Prof. Culler. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function.

Code No: 07A3EC03 Set No. 1

McGill University Faculty of Engineering FINAL EXAMINATION Fall 2007 (DEC 2007)

ECE 341 Midterm Exam

EE 109L Final Review

Recitation Session 6

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AN:p ENGINEERING. ECE241F - Digital Syst~ms Final Examination

Code No: R Set No. 1

Midterm spring. CSC228H University of Toronto

ECE 2030D Computer Engineering Spring problems, 5 pages Exam Two 8 March 2012

END-TERM EXAMINATION

MIDTERM EXAM March 28, 2018

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

Code No: R Set No. 1

CS 151 Midterm. (Last Name) (First Name)

Digital Logic Design Exercises. Assignment 1

DIGITAL ELECTRONICS. P41l 3 HOURS

ECE 2030B 1:00pm Computer Engineering Spring problems, 5 pages Exam Two 10 March 2010

NATIONAL UNIVERSITY OF SINGAPORE CS2100 COMPUTER ORGANISATION

EECS 373 Practice Midterm / Homework #3 Fall 2014

problem maximum score 1 10pts 2 8pts 3 10pts 4 12pts 5 7pts 6 7pts 7 7pts 8 17pts 9 22pts total 100pts

10EC33: DIGITAL ELECTRONICS QUESTION BANK

11.1. Unit 11. Adders & Arithmetic Circuits

Reference Sheet for C112 Hardware

HANSABA COLLEGE OF ENGINEERING & TECHNOLOGY (098) SUBJECT: DIGITAL ELECTRONICS ( ) Assignment

R10. II B. Tech I Semester, Supplementary Examinations, May

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0

QUESTION BANK FOR TEST

FPGA Design Challenge :Techkriti 14 Digital Design using Verilog Part 1

KING FAHD UNIVERSITY OF PETROLEUM & MINERALS COMPUTER ENGINEERING DEPARTMENT

ENCM 369 Winter 2019 Lab 6 for the Week of February 25

R a) Simplify the logic functions from binary to seven segment display code converter (8M) b) Simplify the following using Tabular method

CS 2630 Computer Organization. Meeting 13: Faster arithmetic and more operations Brandon Myers University of Iowa

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME: EC 1312 DIGITAL LOGIC CIRCUITS UNIT I

ECE 341 Midterm Exam

Digital logic fundamentals. Question Bank. Unit I

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. Spring 2010 May 10, 2010

CSE 140 Homework Three

Injntu.com Injntu.com Injntu.com R16

C A R L E T O N U N I V E R S I T Y. FINAL EXAMINATION April Duration: 3 Hours No. of Students: 108

EXPERIMENT #8: BINARY ARITHMETIC OPERATIONS

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON. Instructor: Rahul Nayar TAs: Annie Lin, Mohit Verma

ELCT 501: Digital System Design

One and a half hours. Section A is COMPULSORY UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE

Written Re-exam with solutions for IE1204/5 Digital Design Friday 10/

Specifying logic functions

1. Boolean algebra. [6] 2. Constructing a circuit. [4] 3. Number representation [4] 4. Adders [4] 5. ALU [2] 6. Software [4]

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

1. Mark the correct statement(s)

Cpr E 281 FINAL PROJECT ELECTRICAL AND COMPUTER ENGINEERING IOWA STATE UNIVERSITY. FINAL Project. Objectives. Project Selection

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK NAME OF THE SUBJECT: EE 2255 DIGITAL LOGIC CIRCUITS

University of Toronto Faculty of Applied Science and Engineering Department of Electrical and Computer Engineering Final Examination

EECS 150 Homework 7 Solutions Fall (a) 4.3 The functions for the 7 segment display decoder given in Section 4.3 are:

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON

CS/COE 0447 Example Problems for Exam 2 Spring 2011

Format. 10 multiple choice 8 points each. 1 short answer 20 points. Same basic principals as the midterm

Systems Programming. Lecture 2 Review of Computer Architecture I

ENEL 353: Digital Circuits Midterm Examination

The LC3's micro-coded controller ("useq") is nothing more than a finite-state machine (FSM). It has these inputs:

EECS150 Homework 2 Solutions Fall ) CLD2 problem 2.2. Page 1 of 15

Chapter 10 Binary Arithmetics

Parallel logic circuits

1 /10 2 /12 3 /16 4 /30 5 /12 6 /20

VHDL Examples Mohamed Zaky

NODIA AND COMPANY. GATE SOLVED PAPER Computer Science Engineering Digital Logic. Copyright By NODIA & COMPANY

LABORATORY MANUAL VLSI DESIGN LAB EE-330-F

Recommended Design Techniques for ECE241 Project Franjo Plavec Department of Electrical and Computer Engineering University of Toronto

CS429: Computer Organization and Architecture

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 09 MULTIPLEXERS

60-265: Winter ANSWERS Exercise 4 Combinational Circuit Design

EECS 151/251A: SRPING 2017 MIDTERM 1

CS 151 Final. (Last Name) (First Name)

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Digital Fundamentals. Lab 6 2 s Complement / Digital Calculator

ECE20B, Spring Final Exam lab questions.

EECS 373 Midterm 2 Fall 2018

CSE303 Logic Design II Laboratory 01

CDS130 Mid-term exam: Sample

Digital Circuit Design and Language. Datapath Design. Chang, Ik Joon Kyunghee University

Department of Electrical and Computer Engineering The University of Texas at Austin

How a Digital Binary Adder Operates

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015

Finite-State Machine (FSM) Design

Transcription:

University of Toronto Mississauga Midterm Test Course: CSC258H5 Winter 2016 Instructor: Larry Zhang Duration: 50 minutes Aids allowed: None Last Name: Given Name: Flip to the back cover and write down your name and student number. This midterm consists of a total of 50 marks, for 4 questions on 10 pages (including this one). When you receive the signal to start, please make sure that your copy is complete. Each question is labelled with the suggested amount of time that you should spend on it. You may use it as reference to better manage your time. Precise answers will be given higher marks than vague ones. Concise answers will be given higher marks than lengthy ones. Illegible answers will not be given marks. If you write any answer on the pages for rough works, indicate clearly what you want marked. If you need extra scratch paper, raise your hand, and the instructor will bring you a few sheets. Trust yourself, you know more than you think you do. Page 1 of 10

blank page for rough work which will not be marked Page 2 of 10

Question 1: Short Answers [2x10=20 marks] [10 minutes] For multiple choices questions, marks will be deducted for both missing choices and wrong choices. 1. What are the free charge carriers of a P type semiconductor? Circle your answer. a. electrons b. holes c. protons d. gravitational waves 2. When a high voltage is applied to the P side of a PN junction, what happens to the depletion layer? a. becomes wider b. becomes narrower c. neither of above 3. Assuming 4 inputs A, B, C and D. Which of the following is maxterm A + B + C + D. a. M 3 b. M 6 c. M 9 d. none of above 4. Which of the following logic expressions are equivalent to (A+B ) A? Circle all that apply. a. (A +B ) A b. (A+B) c. (A + B) B d. none of above 5. Suppose we use 2 to 1 muxes to implement a 258 to 1 mux. How many 2 to 1 muxes are needed at least? Write down the number in the space below. 6. What is the decimal value of the signed 8 bit binary number 10111100? 7. How many bits are there in the mode & operation select input of the ALU? 8. A finite state machine has 42 states. How many flip flops are needed at least to build this FSM? 9. What is the output Q of a clocked SR latch when S = 1, R = 0 and C = 0? 10. Write down the logic expression of a half adder s output S (sum bit), in terms of input X and Y. S = Page 3 of 10

blank page for rough work which will not be marked Page 4 of 10

Question 2: Slightly Longer Answers [20 marks] [20 minutes] 1. Assuming A and B are inputs and Y is the output. What logic gates are implemented in the following two diagrams? Write your answers in the boxes below. [4 marks] 2. Given the Product of Maxterms: (A + B + C)(A + B + C)(A + B + C )(A + B + C ), please write down below the equivalent Sum of Minterms. [4 marks] 3. Given the following Karnaugh map, draw the boxes on it so that the logic is the most reduced, and write down the reduced logic expression. [4 marks] CD C D C D CD A B 1 x 0 x A B 0 1 0 0 AB 0 0 x 0 Reduced Logic Expression: AB x 1 0 1 Page 5 of 10

4. Draw below the diagram of a 3 to 1 mux only using the 2 to 1 mux symbol on the right. The pins for the inputs (A, B, C), the select inputs (S1 and S0) and the output (Y) are already drawn for you. [4 marks] 5. Write down the two numbers that are printed out by the following C program. [4 marks] #include <stdio.h> Output: int main() { /* char is 8 bit integer */ unsigned char a = 250; unsigned char b = 200; unsigned char s = a + b; /* print the decimal value of s */ printf("%d\n", s); signed char c = 70; signed char d = 80; signed char t = c + d; /* print the decimal value of t */ printf("%d\n", t); } return 0; Page 6 of 10

Question 3: Finite State Machine Analysis [5 marks] [8 minutes] You ll get 1 out of 5 marks for leaving this question completely blank. Consider the flip flop circuit below and the incomplete state diagram on the right. Given the circuit, complete the transitions of the state diagram, making sure to label each transition with the value of input X. You may assume that the two digits in each state are the values for flip flops F 1 and F 0, respectively. Note: the two gates in the circuit diagram are XOR gates. Page 7 of 10

Question 4: Counter Design [5 marks] [6 minutes] You ll get 1 out of 5 marks for leaving this question completely blank. Consider the 4 bit synchronous up counter symbol on the right. In the space below, design a diagram of an 8 bit up counter that is constructed out of two 4 bit up counter symbols. You re only allowed to use the pins that is shown in the symbol, i.e., don t add other pins to the symbol. You may use other gates in your design, but for full marks you should use only one or two gates. You are allowed to use logic gates (AND, OR, XOR, etc.) with more than two input pins. The resulting input and output pins of the 8 bit counter are: Input : Clk Output : Q 0, Q 1, Q 2, Q 3, Q 4, Q 5, Q 6, Q 7 Make sure to label the input and output pins of your design. Page 8 of 10

blank page for rough work which will not be marked Page 9 of 10

Last Name: Given Name: Student Number: Q1: /20 Q2: /20 Q3: / 5 Q4: / 5 TOTAL: /50 END OF TEST Page 10 of 10