Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Logic and Design, Comprehensive #5 The Problem: Design a program for the Hollywood Movie Rating Guide Company that employ the usage of modules, accumulator,

Programming Logic and Design, Comprehensive #5

The Problem:

Design a program for the Hollywood Movie Rating Guide Company that employ the usage of modules, accumulator, counter variable, loop(s), and data validation concepts.

The user should be able to enter a value from 1 to 4 to indicate the number of stars they are awarding to the Guide's featured movie of the week.

Use a sential value to indicate when the program will stop by allowing the user to use a negative number to quit. Also, calculate the average of the ratings.

Display appropriate messages so the user clearly understands how to input the information and what was the rating average.

Do the following steps for the problem below:

Program Life Cycle (Industry way) 1. Analyzing the problem 2. Design the Flowchart logic 3. Write the Code 4. Test and debug the program

DO NOT use IF's or Loop's.

Use syntax that goes inside an I/Osymbol.

Example of a problem and listing your variables:

The problem:

Design a logic to compute the average of Mr. Doe final grade after taking three exams. Use the four PDLC steps which the instructor has indicated.

studname ....... studname means the name of the student

smj ....... smj means the student major

fgrade ....... fgrade means the final grade. The fgrade is

calculated as (test1 + test2 + test3) / 3

test1 ....... test number 1

test2 ....... test number 2

test3 ....... test number 3

Develop your data file (if needed).

A. Go down each variable listed and ask yourself Does someone input variable value or Do I have to calculate/determine it?

a) If they provide it to you, then show it in the data file.

a. if you have to calculate it, then do not show it in the data file.

A. Draw a data file: Beginning in Chapter 1 through Chapter 3, the data file must goes across

Example of a data file: Date File

studname smj test1 test2 test3 Ted doe Computer Sci 75.00 80.00 90.00

Example of a problem and listing your variables:

The problem:

Design a logic to compute the average of Mr. Doe final grade after taking three exams. Use the four PDLC steps which the instructor has indicated.

studname ....... studname means the name of the student

smj ....... smj means the student major

fgrade ....... fgrade means the final grade. The fgrade is

calculated as (test1 + test2 + test3) / 3

test1 ....... test number 1

test2 ....... test number 2

test3 ....... test number 3

Develop your data file (if needed).

A. Go down each variable listed and ask yourself Does someone input variable value or Do I have to calculate/determine it?

a) If they provide it to you, then show it in the data file.

a. if you have to calculate it, then do not show it in the data file.

A. Draw a data file: Beginning in Chapter 1 through Chapter 3, the data file must goes across

Example of a data file: Date File

studname smj test1 test2 test3 Ted doe Computer Sci 75.00 80.00 90.00

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

Databases Illuminated

Authors: Catherine M Ricardo, Susan D Urban

3rd Edition

1284056945, 9781284056945

More Books

Students also viewed these Databases questions