This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: MAE-10 Midterm Examination II Fall 2007 History State the most important contribution of each of the following persons to the history of computing, electrical engineering, or mathematics. Please write your answers on this sheet of paper. (2 pts each) • Charles Babbage • John Atanasoff • Joseph Marie Jacquard • Ada Augusta • John Nash Problem 1 State what is the EXACT output that will be produced by each of the following program sections. In order to get full credit indicate blank spaces using an underscore symbol. (4 points each) The following code applies to all the questions of this section PROGRAM FORM REAL A, B INTEGER I, J CHARACTER*4 N1, N2 A = 1234.5678 B = 9.8765432 N1 = ’James’ N2 = ’Bond’ I = 007 J = 2007 C PROBLEM 1 WRITE(*,10) A, N1, B, N2 10 FORMAT(F8.2,3X,A4) 1 C PROBLEM 2 WRITE(*,20) A, N1, B, N2 20 FORMAT(E8.2,/,A5) C PROBLEM 3 WRITE(*,30) A, I, B, J 30 FORMAT(F7.2,I3) C PROBLEM 4 WRITE(*,40) N2, I 40 FORMAT( ’*** ’,A,’ 00’,I1,’ ***’) C PROBLEM 5 WRITE(*,50) N1, A WRITE(*,50) N2, B...
View Full Document
- Spring '08
- Subroutine, Control flow, Charles Babbage, Joseph Marie Jacquard, following program sections