Midterm II Review
[Return to Math 10 Homepage]
General Review Questions for Midterm II
Based on questions used on Midterm II, Fall 1997.
- Can you answer simple true and false statements about Fortran-90,
C++, or theoretical issues, such as, how bubblesort or selection sort
works?
- Do you know the default variable types in Fortran?
- Can you translate a simple DO-loop from Fortran into a
for loop in C++?
- Can you name equivalent structures/features in C++ and Fortran?
- Can you define a simple C++ class?
- Can you "play computer" and interpret simple Fortran code,
reading in data from an input file by means of READ and
FORMAT statements?
- With regard to the ways that parameters are passed between a
calling (sub)program and a function(subroutines),
do you understand the difference between C++ value parameters,
C++ variable parameters (which are the same as Fortran call by address),
and Fortran call-by-value-result parameters?
- Can you interpret a section of Fortran code and output data
correctly, following the information in a FORMAT statements (and
carefully interpreting the carriage control column information)?
- Do you understand the theory behind a C++ class? Do
you know the differences between a struct and a class?
- Can you play computer and interpret code, for in Fortran and
in C++, which contains a function? Can you do this correctly given
the different ways that Fortran and C++ use parameter passing
schemes?
Test Statistics: High score 85 (out of 100), Low score 42, median (middle)
score 67, mode 69 (x3), mean (average) 67.259, total number of tests 27.
This page is maintained by Dennis C. Smolarski, S.J.
dsmolarski@ricci.scu.edu
© Copyright 1998 Dennis C. Smolarski, SJ, All rights reserved.
Last changed: 16 August 1998.