Question
Programming Logic and Design #4 Modules, Case structures, and Logical Operators. Submit steps #1(Problem, variable list, & data file) (and #3-Psuedocode only The Problem: An
Programming Logic and Design #4
Modules, Case structures, and Logical Operators.
Submit steps
#1(Problem, variable list, & data file)
(and #3-Psuedocode only
The Problem:
An applicant is applying for a job at Trackdata Computing Company. The company requires that all applicants must be a U.S. citizen, 21 years of age or older, pass a drug test, and have a BS degree in Computer Science, Network Security, or Mangement of Information Systems.
Your program should check for these existing conditions and output an appropriate message(s) if anyone of those conditions are not met. If the applicant passes all requirements, output a message indicating that the applicant is hired.
Programming Logic and Design, Comprehensive
Program Life Cycle (Industry way) 1. Analyzing the problem 2. Design the Flowchart logic 3. Write the Code 4. Test and debug the program Using step #1 & #2 of the PDLC, design the logic for a program that calculates the service charge customers owe for writing a bad check. The main program should contain three modules.
The service charge is computed as $20 basic fee plus 2 percent of the check amount. Displays the total charge the user will pay for writing a bad check.
DO NOT use IF's or Loop's.
Use syntax that goes inside an I/Osymbol.
Good attention to declaring variables, prompting the user for inputting data, as well as displaying output.
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 # Develop the Pseudocode
Thank you.
start catchDogStartwaterC) while dog runs away Turn off water catchDogStartwaterO endwhile Get dog wet and apply shampoo while dog runs away Turn off water catchDogStartwater) endwhile Rinse dog stop catchDogStartwaterO Catch dog while dog runs away Catch dog endwhile Turn on water returnStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started