CSE/EEE 230 Spring 2015
Assignment 4
Due March 1 3PM
20 points
This assignment consists of two questions. The first question has multiple parts. Create
a single file with your answers to the questions and submit your work using the link on
Blackboard.
1.
4/; (_ i)
CSE/EEE 230 Spring 2016 PIN ,L/
Exercise 1
Name
1. Assume that the registers have the initial values below. Show the register values as 8
hexadecimal numbers (such as 0x00000000).
$t0 = 0x00000001
Stl = 0x00000003
$t2 = 0x00000004
:3: :51): :
CSE/EEE230 Exam 1 overview
The exam will be held on Friday February 5.
Be in your assigned seat and ready to start at 1:30.
The exam is closed books / closed notes. You will be provided the MIPS reference card.
Only the exam and your pen/pencil may be on
Addressing mode instr form
How to access data instructions
1.
2.
3.
4.
5.
Immediate
Register
Base
PC-relative
Pseudo direct
Andi $t0, $t1,0
Immediate
I TYPE
v
Read register
Extend number
Operation
Store in register
Register
R TYPE
Add $t0, $t1, $t2
Read r
.data
val1: .word 1
val2: .word 2
val3: .word 3
name: .asciiz "Zahir Ahmed "
prompt: .asciiz "Enter a number: "
nline: .asciiz "\n"
.globl main
.text
main:
# Step 1: initialize s0 to 23
addi
$s0, $0, 23
# Step 1: Prompt user to enter a number and store to
CSE/EEE 230 Exercise 2
Name _
1. Give the contents of the registers after the code segment is executed. Give all answers as 8
hexadecimal digits. Each segment is independent.
a.
b. .
c. .
d.
e.
addi
sll
slr
$s0, $0, 4
$s0, $s0, 5
$s1, $s0, 2
$s0 0x0000008
EEE 202 Circuits I, Spring 2014
EXAM 1
Name: 5 E;/o7/04/ 56 points total
ID#:
Exam is closed book, closed notes except for one 8.5x11 sheet; Show all work on the pages
provided. No extra pages (use back if necessary). Show all your work!
1) (10 pts) a) (8
Base case
Calls to itself tolosve a smaller problem
pritnNamee(itn num) cfw_
if(num >0) cfw_
cout<num!
printNums(num-1);
printNums(5);
num = 3
PrintNums(2)
num = 3
printNums(1)
num = 1
printNums(0)
num = 0
Jal printNums is at 0x00400000
printNums:
addi
Exam
Name_
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
1) The input combination that drives the output of a NOR gate S-R flip flop to Q = 1 and
= 0 is
_.
A) S = 0, R = 0
B) S = 0, R = 1
C) S = 1,
Name_
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
1) Which logic function accomplishes Boolean (logical) addition? 1) _
A) NAND
B) invert
C) AND
D) OR
2) Which logic function accomplishes Boolean
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
1) A parallel-in, serial-out shift register is loaded initially with 1100. What will the register contain
after two clock pulses if the serial input is
Electrical Fundamentals and Basic Logic Gates
Practice Problems
MULTIPLE CHOICES. Choose the one alternative that best completes the statement or answers the question.
1) Most digital circuits represent binary values using _. 1) _
A) 0 V and +5 V B) -5 V
Name_
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
1) The binary addition of 0 + 1 = 1) _
A) sum = 0
carry = 1
B) sum = 1
carry = 0
C) sum = 1
carry = 1
D) sum = 0
carry = 0
2) The binary addition
CSC/EEE 120 Midterm Study Guide
Your preparation for the midterm examination should include a review of all the lecture notes we
have covered up through mulitplexers.
You can bring one 8.5"x11" cheat sheet (you can use both sides, of course). If the answe
Exam
Name_
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
1) Which Boolean equation results from this Karnaugh map?
1) _
A) (
) + (A ) + (B )
C) ( B) + (
B) (A ) + ( B) + (
) + ( C)
D)
+
C+B
2) Which
Math 231
Quiz 1.1
Names:
Neeley, M
Score:
May be taken home. Assistance is allowed.
Consider this region, R, bounded
above by y = x, below by y = 1 and to the right by x = 4. In
each part, assume that R is being rotated around the named axis
of revolution
EEE 335 Fall 2015
HW #4
Due October 29, 2015, at the beginning of the lecture
SHOW YOUR WORK YOU WILL NOT RECEIVE CREDIT WITHOUT
SHOWING YOUR WORK.
The problem sets are selected from the textbook A.S. Sedra and K.C. Smith, Microelectronic
Circuits, 6th Ed
EEE 335 Fall 2015
HW #3
Due October 01, 2015, at the beginning of the lecture
SHOW YOUR WORK YOU WILL NOT RECEIVE CREDIT WITHOUT
SHOWING YOUR WORK.
The problem sets are selected from the textbook A.S. Sedra and K.C. Smith, Microelectronic
Circuits, 6th Ed
EEE 335 Fall 2015
HW #2
Due September 22, 2015, at the beginning of the lecture
SHOW YOUR WORK YOU WILL NOT RECEIVE CREDIT WITHOUT
SHOWING YOUR WORK.
The problem sets are selected from the textbook A.S. Sedra and K.C. Smith, Microelectronic
Circuits, 6th
EEE 335 Fall 2015
HW #1
Due September 8, 2015, at the beginning of the lecture
The problem sets are selected from the textbook A.S. Sedra and K.C. Smith, Microelectronic
Circuits, 6th Edition, Oxford University Press.
1. 15pts (5pts for each question)
2.
Nodal and Loop Analysis
EEE 202
Chapter 3
Nodal Analysis
NODAL AND LOOP ANALYSIS TECHNIQUES
LEARNING GOALS
NODAL ANALYSIS
LOOP ANALYSIS
Develop systematic techniques to determine all the voltages and currents in a circuit
2
Nodal Analysis
One of the syste
AC Steady-State Analysis
EEE 202
Chapter 8
AC Steady-State Analysis
LEARNING GOALS
SINUSOIDS
Review basic facts about sinusoidal signals
SINUSOIDAL AND COMPLEX FORCING FUNCTIONS
Behavior of circuits with sinusoidal independent sources
and modeling of sinu
Resistive Circuits
EEE 202
Chapter 2
Learning Goals
Here we introduce the basic concepts and laws that are fundamental to circuit analysis
OHMS LAW - DEFINES THE SIMPLEST PASSIVE ELEMENT: THE RESISTOR
KIRCHHOFFS LAWS - THE FUNDAMENTAL CIRCUIT CONSERVATI
Application of the LaPlace
Transformation to Circuit Analysis
EEE 202
Chapter 14
Application of the LaPlace Transformation to Circuit Analysis
LEARNING GOALS
Laplace circuit solutions
Showing the usefulness of the Laplace transform
Circuit Element Models
Laplace Transformation
EEE 202
Chapter 13
Laplace Transformation
LEARNING GOALS
Definition: The transform maps a function of time into a function of a complex variable
Two important singularity functions: The unit step and the unit impulse
Transform pairs
Variable Frequency
EEE 202
Chapter 12
Variable Frequency Network Performance
LEARNING GOALS
Variable-Frequency Response Analysis
Network performance as function of frequency.
Transfer function
Sinusoidal Frequency Analysis
Bode plots to display frequency
Steady-State Power Analysis
EEE 202
Chapter 9
Steady-State Power Analysis
LEARNING GOALS
Instantaneous Power - For the special case of steady state sinusoidal signals
Average Power - Power absorbed or supplied during one cycle
Maximum Average Power Transf
Operational Amps
EEE 202
Chapter 4
Operational Amps
Why do we study them at this point?
1. OpAmps are very useful electronic components
2. We have already the tools to analyze practical circuits
using OpAmps
3. The linear models for OpAmps include depende