Math 190 Midterm Review
Lectures 1-5. 20 minutes closed book,
For the closed book exam, do not turn in scratch paper; put your
answers and all work you wish to show on the exam paper.
60 minutes open book, no laptops, may use USB drive.
FUNCTIONS YOU MAY
190 Lecture 8 allocation, formatting
We cover the chapters of your Fortran text listed in the syllabus two at
a time: 7&8, 9&10, 11&12, 13&14, 15&16, 17&18, 19&22, 23.
Reading assignment: chapters. 9, 10, 11, 22. Open SciTE, Lecture 8
EXAMPLE matrix_total
190
190 Lecture 10 files, strings
Reading assignment: 13, 14
Open SciTE, Lecture 10.
Lecture 9s num_lines(file_num)reads a previously
opened file with file number file_num. It counts the number
of lines in the file. eof records the status of file reads. I
190 Lecture 11 searching sorting
Reading assignment: 17. Open SciTE, Lecture 11.
CLASSWORK 11.1(2) tail.f95 Together. New, save.
Write a subroutine tail (sent) which, on a sentence sent
(of length < 200) of words (of length < 12) separated by one or
more
190 Lecture 13 probability
Reading assignment: none. Open SciTE, Lecture 13.
This is the last lecture. The remaining class periods are for
those who need help with uncompleted homework.
Mathematical modeling and simulation.
rand() is used to simulate rand
190 Lecture 12
DO LOOP CONTROLS
return exits a subroutine.
exit leaves a do-loop.
cycle jumps to the next iteration of the loop (skipping the
remaining do-loop lines).
CLASSWORK 12.1(1) isprime.f95 New, save.
Without using the num_divisors function, write
190 Lecture 7 conversion, recursion,
vectors subroutines
We cover these chapters of your Fortran text:
7&8, 9&10, 11&12, 13&14, 15&16, 17&18, 19&22, 23.
Reading assignment: chapters 8, 15, 16. Open SciTE, Lect. 7
Recall: programs are graded all or nothing
Lecture 2 vectors and matrices
Sit in your assigned seat. Late arrivals, wait in the back.
Open Lecture 2 on Math 190 website: www.math.hawaii.edu/190.
See Chapter 2 of text for detailed explanations.
Vectors are sequences of numbers.
ROW VECTORS Enter th
190 Lecture 6 Fortran arithmetic
No more quizzes. No problem-identifying template lines.
But the final has twice as many the points as the midterm.
Open Lecture 6. Open SciTE (black death star) not Scilab
We cover these chapters of your Fortran text:
7&8,
190 Lecture 4 Statistics Midterm in 2 weeks
Open Lecture 4. Open Scilab. See text Chapter 4.
BAR CHARTS
We often graph statistical data with a bar chart or
histogram.
We ask 10 students how many years they have been at UH.
If the list of answers y =
[1,2,
190 Lecture 5 Programming
Midterm in next week. Lectures 1-5. 20 minutes closed book, 60 min. open book.
No laptops, no internet access. May use notes for open book exam. May bring
USB drive with your homework problems.
HOMEWORK 5 DUE BEFORE 48 HOURS BEFO
Lecture 1 arithmetic and functions
MATH 190 WEBSITE: www.math.hawaii.edu/190 Open
MATH 190 in a web browser. Your must read and accept the
Terms of Acceptable Lab Use. Open Lecture 1.
PREREQUISITE: You must have taken or be taking Calculus I
concurrently.
190 Lecture 3 graphs, least squares
Open MATH 190 in a browser; select Lecture 3.
Double-click the SciLab icon. See Chapter 3, 10 of text for details.
EXTRA CREDIT
You get extra credit for being the first to find an error in the
online lectures, quizzes o
190 Lecture 7 Fortran arithmetic
We cover these chapters of your Fortran text:
7&8, 9&10, 11&12, 13&14, 15&16, 17&18, 19&22, 23.
Reading assignment: read chapters 7, 8, 16.
No partial credit for programs which dont work.
If you submit a program which does