Review for test #2

The test will be an open-book, hands-on test. You will be expected to write procedure methods and function methods in C#.

1-D Arrays:

       Declare

       Pass as a parameter

       Read data from a file into

       Step through

2-D arrays:

       Declare

       Pass as a parameter

       Read data from a file into

       Step through entire array

       Process a single column

       Process a single row

 

Nested Loops:

       Be able to read and write nested loops, especially 2-D array algorithms

Structures:

       Declare a structure

       Manipulate the individual fields

       Reference an array within a structure

       Reference an array of structures

 

Strings:

       Be able to extract fields from a string

       Convert those extracted characters into integers or floats

       Use the Substring method.

 

Files (input streams):

       How to open

       How to read from

       Use the peek function to determine end of file

       Write a while loop

       Use the ReadLine statement

       Close.

Procedures and functions:

       Be able to write procedures (void functions) and functions (that return a value)

       Pass parameters

       Return values