IST 153 Course Guide
Read the
following:
Tools for Structured Design: Arrays pg. 231 pg. 255
This chapter introduces you to processing an array. The students will learn how load values into a table, search a table and use a program switch.
- Problem 1:
Construct a program flowchart and corresponding pseudocode to solve the following problem. Assume there are ten records, each containing two temperature values. The first temperature value on each record represents a high temperature from a weather station, and the second temperature on each record represents a low temperature from a weather station. Input these value into two one-dimensional arrays with the high temperatures in an array called HIGH and the low temperatures in an array called LOW. After reading all the temperatures, find and output the average high temperature and the average low temperature for the weather stations. Be sure to plan a well-structured, modular program.
- Problem #2
Page 253 Problem #11
- Problem #3
A data file contains 20 numbers. You are to read the first 10 numbers into an array called FIRST, the second 10 numbers into an array called SECOND. A third array, THIRD, is to contain the larger of the 2 corresponding elements of FIRST and SECOND. (For example, THIRD(1) is to be the larger of FIRST(1) and SECOND(1)) If the corresponding elements of FIRST and SECOND are equal, store either value into the array THIRD. After all processing is complete, output the values in the arrays FIRST(1), SECOND(1) and THIRD(1). Be sure to plan a well-structured, modular program.
- Problem #4
Read 15 numbers from a file. Print the numbers, the average of the numbers and all the numbers that are greater than the average. Be sure to plan a well-structured, modular program.
- Problem #5
Read in an unknown amount of numbers from a file. Print the numbers, the average of the numbers and all the numbers that are greater than the average. Be sure to plan a well-structured, modular program.
DIRECTIONS FOR SUBMITTING YOUR EXERCISES:
Submit the pseudocode or flowchart solutions to the above exercises. You may use either a DOUNTIL or a DOWHILE loop to solve the problems.
You should email your pseudocode solutions to PWORTHINGTON@nvcc.edu
In the subject section, type IST 153 Chapter 10 and your name.
Send the solutions as an attachment.
Use either your personal email account or your college email account. For information on using your college email account you can access the web site by typing http://novaonline.nvcc.edu/eli/ist117/email.htm
Remember to keep a copy of everything you send. Wait one week before calling to see if I received your assignment.
You can either fax or mail your flowchart solutions to me.
BY FAX
Fax your solutions to 703-323-3392 or 703-323-3015.
In the TO: section of the fax information, insert my name, Paula Worthington, and the course, IST 153.
Include a fax number I can use to send you feedback.
BY MAIL
If you mail your solutions, attach a cover sheet to your assignment with the following information:
Your name
Student number (Social Security Number)
ATTN: IST 153
Home Campus
Chapter 10 AssignmentMail your assignment to ELI along with a self-addressed envelope, so that responses can be sent to you more quickly. Use this address:
NOTE: Remember to keep a copy of everything you send. Also, wait at least 1 week before calling to see if your assignment has been received.Extended Learning Institute
ATTN: IST 153
Northern Virginia Community College
8333 Little River Turnpike
Annandale, VA 22003-3796Since the topics in this chapter build on the topics in the next chapter, you should not continue to the next chapter until you receive feedback from this chapter.
The exercises will count towards the 20% for all homework assignments.
GRADING
CRITERIA:
You will receive full credit for submitting the exercises if they are correct. The total number of points you can receive for the assignment is 100.