CS 1073 Exercises
[Home]
[Assignments]
[Slides]
[syllabus].
These are some exercises that can help you learn programming.
-
Exercises given on 09/29/09, covering loops and continuing series.
- every3.f90
- sumloop.f90
- series.f90
-
Exercises given on 10/08/09, covering I/O and continuing series.
- printline.f90
- series3.f90
-
Exercise done in class on 10/29/09 right after Exam #2.
- prod4.f90
-
Set of exercises involving arrays.
- arrayasg.f90
- arraysum.f90
- arrayprod.f90
- arraymin.f90
- arraymax.f90 (using logical loop)
- series_arr.f90
- vecgen.f90 (write randomly generated
1-D matrix to file)
- vecsort.f90 (sort vector from file)
- vecthresh.f90 (copy between arrays
if below threshhold)
A set of exercises involving subroutines and functions.
- func2f.f90
- Array intrinsics as 1-D vector functions:
- funsum.f90
- ,
-
Read/Write vector to files using functions
and subroutines
- Sort a vector from/to files using a
subroutine to sort
- Sort and copy a vector using a
subroutine
- copy 2-D array using a subroutine
[Home]
[Assignments]
[Slides]
[syllabus].