What will happen when you run this program?

num = 10
while num > 0:
print (num)

a Syntax Error
b Logical fallicy
c Infinite loop
d Definite loop

Answers

Answer 1

Answer:

C. Infinite loop

Explanation:

num will be printed continuously since it will always be bigger than [tex]0[/tex] ([tex]10[/tex] is greater than [tex]0[/tex], satisfying the condition num > 0) making it an infinite loop since it will go on forever.

Hope this helps :)


Related Questions

music sites through schools wifi 2020 What is one thing a person should do to stay safe when exercising? 100 pts.!

Answers

Answer:

They should stay away from others (keep workout short or at home)

always do The exercise right-properly

Explanation:

Answer:

they should stay at home and do workouts or they can start a fitness program in a safe area.

Complete the following sentence.
Some manufactured dams produce BLANK power in addition to retaining water.

Answers

Answer:

Some dams produce renewable hydroelectric power  

Explanation:

hydroelectric is power from water

Answer:

hydroelectric

Explanation:

The correct answer is hydroelectric. Dams are structures created to serve as a barrier and to retain water. Some dams are also used to produce hydroelectric power.

What are like arms surrounding all the other code blocks?
A. chevrons
B. curly braces
C. square braces
D. parentheses

Answers

Answer:

Parenthesis

Explanation:

I code

Answer:

Its curly braces.

Your welcome!

WILL GIVE BRAINLIEST! 20 POINTS! PLZ HELP!

What does the following line of code do?

if (num2==50){

A. It creates a variable called num2 and sets it equal to 50.

B. It checks whether a variable called num2 is equal to 50.

C. It prints num2 == 50.

D. It requests user input if the variable num2 is equal to 50.

Answers

Answer:

B

Explanation:

== returns true if both the left side and right side are equal

Answer:

D

Explanation:

HELP PLZ AM TIMED!!!~~~

In which view of PowerPoint is the Annotation tools menu available?

Slide Show
Normal
Slide Sorter
Notes

Answers

Answer:

im pretty sure its slide show

Answer:

slide sorter notes

Explanation:

because you're giving a PowerPoint presentation you may want to make some notes on the slides such as circling a word or underlining a phrase or highlight a key concept

Which is an example,of an input devices? Choose the answer.

printer

speaker

microphone

monitor

Answers

Answer:

microphone

Explanation:

You have to plug in microphones, and if you plug it in, it is considered an input.

The pins on the temperature sensor are connected to;

Answers

A temperature sensor creates a changing voltage signal depending on the temperature it senses. It has three pins: one that connects to ground, another that connects to 5 volts, and a third that outputs a variable voltage to your Arduino, similar to the analog signal from a potentiometer.

When code is compiled it
A) is read directly from the program.
B)is made into a smaller version.
C) runs slower.
D) is converted into binary code.

Answers

Answer:

A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file). Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file. In short, it's A or D.

Answer:

D - is coverted to binary code

Explanation:

A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file). Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file.

The Danger zone around a robot is?

Answers

maybe a EMP. tell me if im right

Answer:

the area the robot can reach or the work envelope and where all the robots tasks takes place. ... OSHA, the system had an E-stop on it to shut down the robot if needed


Activity
You have learned about the graphical elements that you can add in a spreadsheet. Create your own spreadsheet using these elements.
Question 1
Create a chart using the sample data in the table below. Recollect the steps on how to create a chart, and explain the necessary steps based on
the data in the table. Mention what the x- and the y-axes state and your interpretation of the data represented in the chart.
Year Percentage Increase in Expenses
2005
25.3
2007
30
2009
35
2011
35.8
2014
40

please help

Answers

Answer:

its a

Explanation:

the answer is a i am right

Answer:

Here are the steps I followed to create the chart on the Microsoft Excel spreadsheet.

I clicked the Insert option from the top toolbar.

I clicked the Chart option.

I clicked Chart Type, and selected the type of chart I wanted. The table above provides data on the increase in percentage of expenses over the years. I chose the Column chart to display this data graphically. The column chart is the best form of chart that can show variation between items.

I selected the Data Range. I specified the start and end values of the data set that I wanted to plot in the chart.

Under Chart Elements, I specified the title and legend for the chart. A legend makes it easy for a viewer to understand a titled graph.

The x-axis represents the year in my column chart, and the y-axis shows the percentage increase in expenses per year. With the help of this chart, I could see that every year the percentage in expenses has increased steadily, and reached the highest value in 2014.

Explanation:

This is really close to the sample answer, so I would be careful...

WILL GIVE BRAINLIEST!!! 15 POINTS!! HELPPPP!!

Tonya wants to add a button to a webpage. Which language should be used?

A. Python

B. HTML

C. JavaScript

D. CSS

Answers

Answer:

B and C both will be right answers

Answer:

B and C are both correct answers

Explanation:

Mandy is writing a paragraph about her favorite basketball team. She wants to explain that the team is so successful because the players work together. What would be the best type of evidence to illustrate Mandy’s proposed topic? a few examples of how the players successfully scored points a brief history of the game of basketball a quotation from the coach about the players a comparison of current players with past successful members of the team

Answers

Answer:

A ) a few examples of how the players successfully scored points

edge 2021 :)

Answer: (A)

Explanation: Just got it right.

need help asap plzz can you take advantage of the information on social media sites related to careers you are interested in

Answers

Answer:

(The social media site which lets you earn money) lets you post any contents as long as it follow the rules. The advantage information about (The socia media mentioned earlier)is that you can earn money, for making what you want.

Explanation:

fill in the blanks


Staying at home and working using computers and telecommunications equipment is called

Answers

Answer:

telecommuting

Explanation:

12r3393938

What is not a way to lower your risk of drowsy driving?

Answers

Answer:

Taking a night time medicince (such as benedryl), or drinking alcohol beofre drviving.

Explanation:

Brainliest please :)

Where would you go to access frequently used icons?

File explorer
File manager
Toolbar
Web browser

Answers

Answer:

b

Explanation:

Answer:

C.) Toolbar

Explanation:

The toolbar is a strip of icons that are frequently used.

What is the process to correct a single spelling mistake that has been indicated by the spelling checker in PowerPoint Online?


Select the word, then double click.

Select the word, then left select.

Select the word, then right select.

Select the word, then single click.


YOU WILL GET BRAINLIEST FIRST PERSON IF RIGHT

Answers

I’m not to sure what this is asking, if by selecting word- it means the word is already left-click selected, so it would be option 3. If not, then it would be option 2 I believe

Answer:

C!

Mark me as brainliest!!

What is the definition of bug?​

Answers

In what way is it used?
Other Questions
ASAP IMAGE IS ATTACHED THIS IS NOT DIFFICULT There are only 4 types of nucleotides in mRNA and 20 types of amino acids in proteins. This figure shows how 4 types of nucleotides can provide a unique code for each of the 20 types of amino acids.6a. The mRNA code for each type of amino acid is asequence of _______ nucleotides, called a codon. (2 / 3 / 4)6b. In the figure, which mRNA codon codes for the amino acid Phe? can someone help me with this please Imagine youre a teacher and your classroom is really cluttered. If george drives at a steady rate of 65 miles per hour, how many miles will he travel in 1.5 hours if a person can live life without being kept in a hospital of other institution, he or she is said to be:A. NormalB. FunctionalC. ResponsiveD. Symptom-Free Perform the indicated operation: NEED HELP PLEASE Can someone help please. I will give brainliest :) A survey of 100 doctors revealed that 2 put of every 5 doctors recommended Brand M deodorant. Based on the results, how many doctors did NOT recommend Brand M.A.20B.60C.140D.40 How has disease increased the rise of civilization? "The very idea of a Frenchman attempting to bribe officials of our young nation is insulting!" To what event is the above hypothetical quotation referring? Take notes while you listen to the audio. Then answer the following questionQu es la Semana Santa?Es una celebracin catlica en la cual se recuerda la muerte y resurreccin de JesucristoO Es una semana de celebracin en la cual se celebra el nacimiento de Jesucristo.Es algo similar a "Spring Break."O Es algo similar a las vacaciones de la Navidad -7(x-4)....................... On a coordinate plane, 2 triangles are shown. Triangle 1 has points at A (negative 3, 4), B (negative 2, 1), C (negative 4, 1). Triangle 2 has points at A prime (4, negative 2), B prime (3, negative 5), C prime (5, negative 5).Which rule represents the translation from the pre-image, ABC, to the image, A'B'C'?(x, y) (x + 7, y + 6)(x, y) (x + 7, y 6)(x, y) (x 6, y + 7)(x, y) (x + 6, y + 7) The volleyball team needs new uniforms. The students plan to sell plush toy bears (the school mascot) for $5 each. The students find three companies on-line that sell stuffed mascots. Company A sells 16 bears for $44.96. Company B sells 18 bears for $50.94. Company C charges $34.08 for 12 bears. Which company has the best buy What is the meaning of gcf in math terms Which source of stress at school would most likely cause a student to lose focus and motivation?O taking a difficut courseO getting a part in a playO having a fight with a friendO trying out for the basketball team what is the slope of the line shown? Which of the following was the most likely cause of widespread famine in India in the late 1800s?AIndians were never considered equals by their British rulers.B.The British encouraged Indian farmers to switch from growing food to growing cotton.C.The British constructed a large railroad system across the country.DBritish missionaries encouraged Indians to convert to Christianity. The system of linear equations y = 2 x minus 1 and y = negative 4 x minus 1 is graphed below. On a coordinate plane, 2 lines intersect at (0, negative 1). What is the solution to the system of equations? (0, 1) (1, 0) (0, 1) (1, 0) Find the value of x when 64x=6x8x+8.