Name _________________________

CSC001- Major Assignment 3
I/O and Arithmetic (Programming)

ublkline620.GIF (83 bytes)

D. Joseph
Fall 1998

Due: Friday, October 23
Total Points: 30


This is NOT a group assignment!


I. Problem Statement

Professor Algorithm, one of your professors at Sac State just asked you to write a QBASIC program that will print out a report that will include the student's test scores for the semester and the average of those test scores. He has four exams planned for the semester.

This is what he wants the QBASIC program to do:

  1. The program will prompt the user for

  • the student's last name

  • the student's first name

  • the current semester

  • the course name

  • the four test scores

  1. The program will then print the following:

  • student's first and last name

  • the current semester

  • the course name

  • the four test scores

  • the average of the test scores

  1. This is an example of what your professor wants the final output to look like: (Output alignment is important for this assignment. Make sure that the test scores are aligned properly in four columns).

    Jane Doe Fall
    1998 Computer Science 44 ____________________________________________________________

     
    Test 1        Test 2         Test 3         Test 4
    ------        ------         ------         ------
    92            97             96             100

    ____________________________________________________________

    Average: 96.25

 

II. Test Data

Do not use the data shown in the sample above. You should test your program with the following data:

Susan
McCormick
Fall 1998
Assembly Language
57 89 93 78

 

III. Requirements

  • The program should include plenty of appropriate remark statements that describe the purpose of the program and what is happening at various stages in the program.

  • You are required to turn in a listing of your source code (program), a hardcopy of your output for the test data, and a personal assessment statement (see below).

    See this
    assignment submited by a former student for an example of A+ work on a Major Assignment.

 

III. Personal Assessment

On a separate sheet of paper, write a paragraph about your programming experience or any comments you'd like to make about this assignment. (For example: Did you experience any difficulties writing this program? What helped or would have helped you? What steps did you take in writing this program?)

Good Luck!

 

ublkline620.GIF (83 bytes)

Return to:  CSUS | Computer Science

October 8, 1998
Comments to:  josephd@csus.edu