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
While troubleshooting a network connection problem for a coworker, you discover the computer is querying a nonexistent DNS serve
tatuchka [14]

Answer:

nslookup ifconfig.

Explanation:

The nslookup is used a number of times by network admins to troubleshoot DNS related problems. In addition, this command finds IP addresses and name servers of hosts. This utility command queries the DNS database tables from every host in a network. It then determines the host name and issues an IP. It sort of converts your domain name into an IP addresses. This command combined with ifconfig finds the correct DNS servers and assigns the correct DNS server IP.

6 0
3 years ago
This OS was basically an upgrade to Windows 98 that was designed for home users.
matrenka [14]

<u>Answer:</u>

<em>Windows ME</em>

<u>Explanation:</u>

In the word Windows Me, Me stands for Milleneum. It is GUI based OS developed by Microsoft Corporation. <em>This is the first Home computer OS and it had IE 5.5, WMP version 7, etc. </em>

But this was not that much successful and this was the last OS released for Windows 9X series. Though its GUI based, it still looks like DOS OS only.

<em>The successor of this is Windows XP which became very popular and it was used by many computer users and it included windows NT Kernel.</em>

5 0
3 years ago
Make this a meme please
oksian1 [2.3K]
Dog dog dog dog food
4 0
3 years ago
Read 2 more answers
Why is the lack of a sense of humor a serious limitation for AI?
sergejj [24]

Answer:

they arent made to Express emotion? can you be a little more specific with the question?

3 0
3 years ago
Łatwiej pokonać każdą trudność, gdy dąży się do swojego wymarzonego celu. Czy zgadzasz się z tym poglądem? W uzasadnieniu odwoła
Anna [14]

Answer:

Yes.

Explanation:

Your question is not clear. However, I inferred you need the clearer rendering of the question. It reads;

It is easier to overcome any difficulty when pursuing your dream goal. Do you agree with this view? In the justification, refer to compulsory reading and to another literary work.

6 0
3 years ago
Other questions:
  • Which is an example of appropiate online behavior?
    6·1 answer
  • A firewall, when properly implemented, can prevent most attacks on your system.
    12·2 answers
  • How to revive a computer if it functions in an unexpected manner?
    9·1 answer
  • Nonverbal communication includes _____.
    9·2 answers
  • Can someone translate this? (it's morse code btw)
    5·2 answers
  • Who invented the system of logarithm in 1614 AD​
    13·2 answers
  • Which computer can perform the single dedicated task? a. Which commuter can perform the function of both analog and digital devi
    6·1 answer
  • Please help!! i need this asap &lt;3 <br> (the boxes have the same answer choices in both)
    7·2 answers
  • E lvl:
    12·1 answer
  • 12. Fill in the blanks: In a ____________, the root of the tree is labeled _______________, children of the root are the names o
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!