Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

1. Input What is the output based on the flowchart above? Pizza 1 Pizza 2 Shape1 = Square Shape2 = Circle Price1 = 10 Price2

image text in transcribed

1. Input What is the output based on the flowchart above?

Pizza 1

Pizza 2

Shape1 = Square

Shape2 = Circle

Price1 = 10

Price2 = 10

Size1 = 10

Size2 = 10

2. Create a flowchart that asks the user for two numbers. The flowchart should add those two numbers and display to the user that the sum is even or odd. The sum is odd. Or The sum is even.

3. Use PsuedoCode that asks the user for two numbers. The pseudocode should add those two numbers and display to the user that the sum as either even or odd. The sum is odd. Or The sum is even.

4. What are the advantages and disadvantages of using a flowchart?

5. What are the advantages and disadvantages of using pseudocode?

6. Create a flowchart for the following scenario.

There are four types of fruits: Apples, Oranges, Bananas and Grapes. Each student can pick up two fruits. There are some conditions which have to be used to pick up the fruits. Draw a flow chart which can take the name of the first fruit as input and print the names of second fruit or fruits that can be picked up. The conditions are:

If you pick an apples you can pick bananas.

If you pick oranges you can pick grapes.

If you pick grapes you can pick bananas.

Hint: There will be one input box to read the first fruit, three decision boxes and four output boxes in the flowchart.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions