Homework 1
MATH 2418
Due: 09/02/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Your 3rd quiz will cover sections 4.1-4.3
a) cfw_HHH,HTT,THT,TTH,THH,HTH,HHT,TTT
cfw_0,1,2,3
b) cfw_1/8,3/8,3/8,1/8
d) P(x=2 or x=3)= P(x=2)+P(x=3)=3/8+1/8=1/2
Thinking Challenge
A couple plans to have children until they get a girl,
but they agree that

CS 3340 Computer Architecture
Instructor: Mazidi
Analyzing IEEE 754 Single-Precision Number Representations
Example 2
In IEEE 754, single precision uses 8 bits for the exponent, 23 for the fraction.
Example: -123.45581
Look at the representation in MARS

CS 3340 Computer Architecture
Instructor: Mazidi
Analyzing IEEE 754 Single-Precision Number Representations
In IEEE 754, single precision uses 8 bits for the exponent, 23 for the fraction.
Example: 34.078125
Look at the representation in MARS or on this s

Chapter 1-3 Review
Chapter 1: Computer Abstractions and Technology
Chapter 2: Instructions: Language of the Computer
Chapter 3: Arithmetic for Computers (through 3.5 FP representation)
Filtering down to the essential
content:
Chapters 1-3
Review 1-3
Pract

CURRENT, RESISTANCE, AND ELECTROMOTIVE FORCE
25.1.
25.2.
25
IDENTIFY: I Q / t .
SET UP:1.0 h 3600 s
EXECUTE: Q It (3.6 A)(3.0)(3600 s) 3.89 10 4 C.
EVALUATE:Compared to typical charges of objects in electrostatics, this is a huge amount of charge.
IDENTIF

Outline Part 2
Random processes
Probability and chance
Discovering a regular pattern in random processes:
1
Random Phenomenon
1.
2.
3.
Toss a fair coin, sometimes you get heads sometimes you get tails.
Roll a die: the die can land on any of the 6 faces

CS 3340.003 Computer Architecture Homework 1
Assigned: Wednesday August 31
Due: Wednesday September 7
In this homework, you will demonstrate that you have MARS running on your
computer and get practice with load, store and add instructions.
Program descri

CS 3340 Computer Architecure Fall 2016 Instructor: Mazidi - Practice Exam 1b
Chapter 2 Questions
1. Write the following C code in MIPS assembler:
x = x + y + z - q;
Assume that x, y, z, q are stored in registers $s1-$s4.
2. Describe the difference between

Homework 10
MATH 2418
Due: 11/4/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Homework 2
MATH 2418
Due: 09/09/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Homework 3
MATH 2418
Due: 09/16/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Homework 5
MATH 2418
Due: 09/30/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Homework 4
MATH 2418
Due: 09/23/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Homework 6
MATH 2418
Due: 10/07/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Homework 7
MATH 2418
Due: 10/14/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Homework 8
MATH 2418
Due: 10/21/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Homework 9
MATH 2418
Due: 10/28/2015
Instructions:
Print out this document and write up your solutions in the provided space.
Turn in your work to your TA during the problem session on the due date.
Write your solutions clearly and legibly; no credit w

Reference Sheet
Description
CPU execution time formula 1
CPU execution time formula 2
CPI (clocks per instruction)
Relative performance
Formula
CPU time=I CPI clock cycle time
CPU time=I CPI clock rat e
CPI=clock rate CPU time I
Execution time Y
n=
Execut