Hello,
I attached two files. the first one is the requirement for the assignment, the second is my assignment.
Note: please make sure and do not forget to do the extra credits part.
Note: if you have any question, let me know.
Thank you
CS 313 01
Program Assignment 02
Chapter 07
20 Points
Name ___________________________________
Due:
Wednesday, February 7, 2018
Write a program that reads a file consisting of students’ test scores in the range 0-200. It should then
determine the number of students having scores in each of the following ranges: 0-24, 25-49, 50-74, 7599, 100-124, 125-149, 150-174 and 175-200. Use labels to display the score ranges and the number of
students for each range. The data file, testscores.txt, is located in the I:\kopp\outbox\CS 313
01\Program Assignment folder.
REQUIRED: You must use an array to hold the scores that are read from the file.
Add the following comments to the beginning of the program.
Name:
Your Name
Class and Section:
CS 313 01
Assignment:
Program Assignment 02
Due Date:
See above
Date Turned in:
Program Description: You write a short description of what the program will do
When you complete the program, do the following.
1. Turn in a printout of the source code from Visual Studio with this sheet attached to the front
2. Create a folder with the following name: Program 02
3. Copy your project to this folder
4. Copy the folder to the following location: I:\kopp\inbox\CS 313 01\your name where your
name is a folder located in I:\kopp\inbox\CS 313 01.
Extra Credit 5 points:
Add a check box to the form. When the checkbox is selected, the program should display on the form
the class average.
CS Classes
Requirements for Programming Assignments
Comments
The following comments are required on all programming assignments
Name: Insert your name here
Class and Section: Insert your class and section here
Due Date: Insert the due date (shown at the top of the assignment sheet)
Date Submitted: Insert the date you turn in your program
Description: a short description of what the program will do
Descriptive Identifiers
All identifiers (ex. Variable names, constants, method and function names, class names) must be
descriptive. Names such as s1, label3, button4 are not acceptable.
Unnecessary Code Headings
In Visual programming classes (Visual Basic and Visual C#), avoid double-clicking on controls that
will not contain code. This leaves event handler headings with no code.
Code not discussed in class
Do not include code in your programs that has not been discussed in class. You need to learn
to write code from what you have been given. If you add code not covered in class, I don’t
know if you already knew that code or if you copied it off a Google site. Any programs
submitted with this type of coding will be drastically reduced in grade.
Correctly copy to Instructor Drive
This can be accomplished by following these steps:
Create a folder on your device (Z:, desktop or flash drive)
Copy your program, including all appropriate files to this folder. For C# students, copy
the entire program folder.
Copy this folder to the folder with your name that is located on the l: drive. Go to
kopp\inbox, find your class folder and then your name folder. Paste the folder from
your device into this folder.
Print from the IDE
In C#, print from Visual Studio (no screen shots or copying it to Notepad++ or other editor)
In Python, print from IDLE.