Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem #1: How much should I study outside of class? Issue: Your fellow students need help. This is their first year in college and they

Problem #1: How much should I study outside of class?

Issue:

Your fellow students need help. This is their first year in college and they need to determine how many hours they need to study to get good grades.

Study Hours Per Week Per Class Grade

15 A

12 B

9 C

6 D

0 F

Project Specifications:

  1. The user enters their full name and the number of credits they are taking.
  2. The user will then enter the grade they want, assume the same grade for all classes.
  3. The program determines the number of hours they have to study, assume they will study the same number of hours for each class.
  4. The program displays for each student: students name, number of credits, total number of weekly study hours, and grade they should expect to receive. In the following format

Name: FirstName LastName

Credits: 12

Study Hours: 60

Grade: A

  1. At the end of the program, the program displays the total number of students who used the program, the average credits taken, and the average study hours. In the following format

Total Students: 3

Average Credits: 9

Average Study Hours: 20

All Project Requirements:

  1. Use Project #1 design template provided in Canvas
  2. The Word, Visio, and Python file names must start with your last name followed by first initial and then a descriptive name for the project. For example, the name for this project would be PayneWStudyHours.docx and PayneWStudyHours.py.
  3. Use compound conditions
  4. All variables and constants names must be descriptive
  5. All data must be validated!!!
    1. Make sure the datatype is correct
    2. The user can enter either upper or lower case for their name, and grades
    3. Make sure the data is within the proper range. For example, users shouldnt be allowed to enter an X for the letter grade.
  6. Follow Programming Standard Guidelines

The design/programming standards for COP1000 vary from the book. All standards outlined supersede what is in the textbook. If you have any questions on these standards, please contact your professor.

  • Program designs must contain internal documentation
  • Program designs must begin with a description of the program, your name, and date last modified.
  • Program designs must contain a Welcome Screen, which describes the program, and developer name.
  • Variables must be in camel or Pascal case, for example TotalPrice or totalPrice.
    • variable names must be descriptive single letter variables are not permitted
    • variable cannot contain an underscore
  • All User prompts must contain information on how the user should enter the data. Example Please enter the amount of the item in numerical format without the dollar sign. For example, enter 10.50 for an item that costs ten dollars and fifty cents.
  • Program design formatting
    1. Indent the body of loops
    2. Indent the body of decision statements

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago