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
IRINA_888 [86]
3 years ago
6

In the following nested loop structure, which loop does the program EXIT first?

Computers and Technology
1 answer:
seropon [69]3 years ago
7 0

Answer:

The loops are nested, and the program ends when loop 1 is completed. Since loop 4 is the innermost one, that one is completed first.

You might be interested in
I need Help!!<br> 4. Explain the importance of including negative space as part of a design.
vova2212 [387]
Negative space is the space between, within and surrounding an object in an image. The positive space is the focus of the image, the object itself, but the negative space is just as important. It shares edges with the positive space, defining the outline of the object and creating proportion
5 0
3 years ago
This assignment is to code a simple hangman game. The game should choose a random word out of a list of words that are coded int
pshichka [43]

Answer:

Programming language not stated.

I'll use python for this question

Explanation:

import random

# library that we use in order to choose

# on random words from a list of words

words = ['rain, 'computer', 'science', 'program, 'python', 'mathematics', 'player', 'condition','reverse', 'water', 'board', 'geeks','learn','school','days','scholar','collar','flood','house','flies']

# Function will choose one random word from this list of words

word = random.choice(words)

print("Guess the word")

guesses = ''"

# 5 turns

turns = 5

while turns > 0:

# counts the number of times a user fails

failed = 0

# all characters from the input word taking one at a time.

for char in word:

# comparing that character with the character in guesses

if char in guesses:

print(char)

else:

print("_")

# for every failure 1 will be incremented in failure

failed += 1

if failed == 0:

# user will win the game if failure is 0 and 'You Win' will be given as output

print("You Win")

# this print the correct word

print("The word is: ", word)

break

# if user has input the wrong alphabet then it will ask user to enter another alphabet

guess = input("guess a character:")

# every input character will be stored in guesses

guesses += guess

# check input with the character in word

if guess not in word:

turns -= 1

# if the character doesn’t match the word then “Wrong” will be given as output

print("Wrong")

# this will print the number of turns left for the user

print("You have", + turns, 'more guesses')

if turns == 0:

print("You Loose")

7 0
3 years ago
________ are devices in a computer that are in either the on or off state
Vanyuwa [196]
The appropriate response is Electrical Switches. These are electromechanical gadgets that are utilized as a part of electrical circuits to control, recognize when frameworks are outside their working reaches, flag controllers of the whereabouts of machine individuals and work pieces, give a way to manual control of machine and process capacities, control lighting, et cetera.
6 0
4 years ago
Alright, so I have a wireless mouse that uses a dongle (it's not Bluetooth nor wired). But recently I realized that none of the
serg [7]

Answer:Mouse is not working because you haven't changed your battery for months.

Remember that, most of wireless mouses use AA 1.5V battery for it's power on. If you've let your computer and mouse set on, then the battery can only run around 5-6 months. If you turn off your mouse everytime you're not using then the battery life might get longer. So, all you have to do is buy new batteries and replace it. Follow steps of replacing battery in this video.

(Consider buying dry battery for using longer)

No.2: Loose battery in the tray

This is quite common as well. We understand that the mouse made materials can have its own changing. Sometimes, you might drop your mouse, then after that, the loosen battery just happening around. A loosen battery might get your wireless mouse not working well. It works then stop at the middle. Follow the easy steps to fix this state of mouse is not working.

No. 3: Bad Pairing.

Due to some reasons, bad pairing can happen and get your mouse stuck on laptop screen. Bad pairing might be from overworking or overloading tasks on your PC. Easy quick fix for bad pairing is disconnect your USB receiver for a while and re-plug in later on.

No.4: On/Off Switch or Power button on the mouse just drop or loosen in

Many people might have problems with their mouse on/off switch button. Don't worry, this can be fixed as well. You can open the mouse (just look under the battery, there is a single screw). Open the mouse from this screw, and disassembly it carefully. You can see the on/off switch is just around the corner. Now, you can, reattach the button and close the mouse correctly.

No. 5 : Buy a new mouse

I've suggested a way to search for a new wireless mouse with USB Unifying Receiver. For a wireless mouse that allows Unifiying receiver, then you don't worry when your current usb receiver get lost (because, you can always buy a new usb receiver).

Explanation:

6 0
3 years ago
Please help! I don’t know the answer to it :( it’s Fashion marketing
Oxana [17]

Answer:

I believe the answer should be C)

Sorry if it’s wrong,but hope it helps

8 0
3 years ago
Other questions:
  • Endnotes into a document are automatically positioned at the bottom of the page where the endnote reference is inserted.
    5·1 answer
  • Which of the following are characteristics of a good webmail message select all that apply
    14·1 answer
  • What is technology addiction​
    14·1 answer
  • What processes are needed to transform a c++ program to a machine language program that is ready for execution?
    14·1 answer
  • What is the full form of com​
    9·1 answer
  • A ___ is an organized collection of data in digital format that helps users to keep
    5·1 answer
  • In Windows Vista, which button is used to create a new folder?
    7·1 answer
  • Eugene wants to indent a paragraph, but the ruler is not present. Which tabs could Eugene use in order to accomplish his goal?
    14·1 answer
  • Which line of code will find the first occurrence of a three in an array?
    5·2 answers
  • Which statement about analog and digital images is true?.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!