midterm2_W2009

midterm2_W2009 - MAE-10 Midterm Examination II Winter 2009...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
MAE-10 Midterm Examination II Winter 2009 Short answers Give short answers to the following questions. (2 pts each) Express the octal number 777 in binary. Express the hexadecimal number FFF in decimal. In what city and country is the supercomputer Mare Nostrum located? What is the smallest number that can be printed with the format F3.0? What is the most significant advantage of the FORTRAN language compared to Java? History Give short answers to the following questions. (2 pts each) 1. Who was the father of the Difference Engine? 2. What was the main contribution of Augusta Ada King, Countess of Lovelace to the field of computing? 3. Which technology is considered superior: vacuum tubes or raw transistors? Why? UNIX Clearly state exactly what each of following UNIX commands accomplish. (2 pts each) 1. a.out > cat 2. a.out >> cat
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
State what is the exact output that will be produced by each of the following code segments. Use underscores to denote spaces when output format is specified. (5 points each) 1. PROGRAM ONE REAL X,Y,Z,RESULT,D,NAME X = 7. Y = 8. D = 123. Z = F(X,Y) RESULT = NAME(X,Y,RESULT,Z) 10 WRITE(*,*) X,Y,Z,RESULT,D END REAL FUNCTION F(X,Y) REAL X, Y F = X + Y RETURN END REAL FUNCTION NAME(X,Y,Z,D) REAL X,Y,Z PRINT *, D D = 456. Z = X + Y
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/10/2009 for the course MAE 10 taught by Professor Dabdub during the Spring '09 term at UC Irvine.

Page1 / 6

midterm2_W2009 - MAE-10 Midterm Examination II Winter 2009...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online