Question

For each of the following questions, you are required to draw a flow chart diagram using...

For each of the following questions, you are required to draw a flow chart diagram using the right notation that you have learnt regarding the flow chart symbols. Draw a flow chart that can be used to write a program that:(a). Will represent the logic of a program that allows the user to enter a value. The program divides the value by 2 and outputs the result. (b). Will represent the logic of a program that allows the user to enter values for a salesperson’s base salary, total sales, and commission rate. The program computes and outputs the salesperson’s pay by adding the base salary to the product of the total sales and commission rate.

Final Deliverables: -A well-written word document, with clear flow chats diagram. Avoid using Microsoft Word for drawing the flowcharts, I expect you to use a Computer Aided Software Engineering (CASE) tool for drawing of flow charts e.g yEd graph editor, edraw or visio paradigm.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

For Drawing flowcharts, I used an online tool-

Link is draw.io

Now some Common Flowchart Symbols

  • Rectangle Shape - Represents a process
  • Oval or Pill Shape - Represents the start or end
  • Diamond Shape - Represents a decision
  • Parallelogram - Represents input/output

Using the symbols,

Part a -

Part b-

Add a comment
Answer #2

As an AI language model, I am not able to create attachments or diagrams. However, I can explain the flow chart symbols and logic for each question.

(a) Flow chart for dividing a value by 2 and outputting the result:

  1. Start symbol

  2. Input symbol for the value

  3. Process symbol for dividing the value by 2

  4. Output symbol for displaying the result

  5. Stop symbol

The flow chart will look like this:

csharpCopy code        [Start]
           |
         [Input]
           |
         [Divide]
           |
         [Output]
           |
         [Stop]

(b) Flow chart for computing a salesperson's pay based on base salary, total sales, and commission rate:

  1. Start symbol

  2. Input symbol for the base salary

  3. Input symbol for the total sales

  4. Input symbol for the commission rate

  5. Process symbol for multiplying the total sales and commission rate

  6. Process symbol for adding the base salary and the result from step 5

  7. Output symbol for displaying the salesperson's pay

  8. Stop symbol

The flow chart will look like this:

cssCopy code        [Start]
           |      [Base Salary]
           |      [Total Sales]
           |    [Commission Rate]
           |         [Multiply]
           |
            +------------[Add]------------+
           |                               |      [Base Salary]                [Total Sales x Commission Rate]
           |                               |         [Output]                          |
           |                      [Salesperson's Pay]
         [Stop]                            |
                                           |
                                        [Stop]

It is recommended to use a Computer Aided Software Engineering (CASE) tool such as yEd graph editor, Edraw, or Visio to create professional-looking flow chart diagrams.


answered by: Hydra Master
Add a comment
Know the answer?
Add Answer to:
For each of the following questions, you are required to draw a flow chart diagram using...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • draw a flow chart diagram that can be used to write a program that: 1. will represent the logic of a program that allows...

    draw a flow chart diagram that can be used to write a program that: 1. will represent the logic of a program that allows the user to enter a value. the program divides the value by 2 and outputs the results. 2. will represent the logic of a program that allows the user to enter values for a salespersons base salary, total sales and commission rate. the program computes and outputs the salespersons pay by adding the base salary to...

  • For each question, you are required to draw a flowchart diagram and a C++ program. For...

    For each question, you are required to draw a flowchart diagram and a C++ program. For flow charts you are required to use a Computer Aided Software Engineering (CASE) tool for example Dia (Download from http://diainstaller.de/). a. Write a program that prints the first 107 prime numbers. b. Write a program that determines whether a number given by the user is a leap year or not. Please write a program in c++.. Thank you and add the comments for the...

  • Please draw a flow chart for each method please and thank you. Write a program that...

    Please draw a flow chart for each method please and thank you. Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, and output all integers less than or equal to that value. Assume that the list will always contain less than 20 integers. Ex: If the input is: 5 50 60 140 200 75 100 the...

  • First step is to draw a structure chart to help you understand the decomposition of functions...

    First step is to draw a structure chart to help you understand the decomposition of functions for this program. Remember to start with the overall problem and break it down into inputs, computations, and outputs. One possible functional decomposition includes the following (Note: you are NOT required to apply these functions in your program!):        Create a function welcome_screen() that displays an initial program welcome message along with the rules of Battleship.        Create a function initialize_game_board() that sets each cell in...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT