1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
tensa zangetsu [6.8K]
4 years ago
11

Write the execution steps if the input is a lion.

Computers and Technology
1 answer:
balandron [24]4 years ago
7 0

Explanation:

Execution step:

1. Starting the program

2. It will get the animal name

3. Check whether the animal eats only plants. Then it prints "Herbivore". If the condition is false, it prints "carnivore".

4. Stop the program

To identify input, output and decision:

Start and Stop (oval): These are neither input nor output

Does it eat only plants?: Decision making statement ("d")

Read the names of the animals(Parallelogram): Input ("i")

Print Herbivore, Print Carnivore: Output "o"

Scenario 1: Input is lion

1. Start

2. Reads the input as "lion"

3. Check if lion eats only plants. So here it is false

4. Print "Carnivore"

5. Stop

Scenario 1: Input is Elephant

1. Start

2. Reads the input as "Elephant"

3. Check if lion eats only plants. So here it is true

4. Print "Herbivore"

5. Stop

You might be interested in
Which of the following is the ribbon path to the cell styles button? (home tab | styles group) (styles tab | home group) (home t
Alekssandra [29.7K]
I guess you talk about Excel. I'm pretty sure that that the path to the cell styles button looks like this <span>home tab | styles group. It's the most common pass. But in other cases, it depends on the software you use.</span>
5 0
3 years ago
You suspect that a bad video driver is causing a user's system to randomly crash and reboot. Where would you go to identify and
lord [1]

The area of the system that you need to go to identify and confirm your suspicions is Dump files.

<h3>What is a dump file?</h3>

Memory Dump Files  is known as .dmp files. They are called the  the quick shots of a specific memory  of a program that is often taken at a particular point in time, such as in a crash.

Note that Dump files are also called special type of files that saves information regarding your computer such as the video crash. So the right place to check is the dump files.

Learn more about video driver from

brainly.com/question/13835124

3 0
2 years ago
What is force tell me please​
sladkih [1.3K]

Explanation:

the push or pull that tends to change a body from motion to rest or rest to motion is force

5 0
3 years ago
I need help with this
Mila [183]

Either Styles or Formula


5 0
3 years ago
Read 2 more answers
How are computers connected to one another?
sergeinik [125]

Answer:

They are connected through networks

Explanation:

N/A

7 0
3 years ago
Read 2 more answers
Other questions:
  • Please answer the following will mark brainiest except the first 3 rest all
    10·1 answer
  • What are the 7 basic components found in a computer tower
    5·2 answers
  • Something the user knows (ID and password); something the user has (such as a smart card, which is a credit card device storing
    12·1 answer
  • How to engage more underrepresented and under resourced students in stem programs?
    10·1 answer
  • What should you remember when using the thesaurus to replace words?
    8·2 answers
  • Suppose for the worst case, given input size n: Algorithm 1 performs f(n) = n2 + n/2 steps Algorithm 2 performs f(n) = 12n + 500
    6·1 answer
  • Which of te following ranges of cells is correctly named
    12·1 answer
  • Match each of the following steps of SDLC development to its position in the development process.
    15·1 answer
  • Can anyone help me with these assignments??? Hands On Assignments- Insertion of Symbols, Special Characters, and Images.... and
    9·1 answer
  • Question:
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!