# Evaluate the expression (10 + 9) and print the result.
# Equivalent C+ statement:
cout < (10 + 9) < endl;
# Equivalent Java statement: System.out.println(10+9);
# There are four parts to this program.
Evaluate the ex
Fall 2001 COSC 20l Final Exam Name:
1) Dene 01 describe the following.
a) ve classical components of a computer
c) instruction set mhiledure Fall 200] (OSC 20] Final Exam Page 2 of 8
2) You have a program that takes Tseeonds to execute on a computer with
cosc 201 Fall. 1999 Final Exa'n Name
(12)]. Dcscnbc the implcmcmation oflhc CPU shown in diagram I. Damhc the phases of
execution for this architecture. What are the advantages and disadvantages of this
2. Consider the pipeline implcrncmaion
COSC 20] Fall 2005 Firs! Exam Name:
1. Dene or describe the following lenns.
a) lmuuclion Scl Architcaure
b) .xmmhly language
c) Machine Language
d) Pseudoinsmnclion COSC 20] Fall 2005 Firs! Exam Page 2 ol'9
2. Draw a diagram oflhe instruction format for
(OSC 20l: lixam I Sept. 28. 2000 Name:
1) Convert the following 16-bit 2s complement binary number to
2) A) Convert -l9 in decimal to l6-hit 2s complement
2) B) Convert the result from pan 2A) to 32-bit 2s complement. (OSC 20!: l
(OSC 20l Exam 2 Fall 2004 Page I ofl
l ) Arithmetic with two's complement integers.
a) Write the 8-bit twos complement representation for the number 67.
b) Write the 8-bit two's complement representation for the number 13.
e) Compute the 8-bit result of 6
COSC 20] Final Exam Fall 2002 Name:
I) What is an Instruction Set .-\rchileclurc?
2) Whit! are a cache hit and a cache miss? Explain how each is detected. COSC 201 Final Exam Fall 2002 Page 2 of 10
3) Conven the following number in binary two's compleme