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

Im boing exam help please In a category-based course grading system, teachers weigh a student's performance in all courses. all categories equally. some categories more heavily than others. extra credit as a bonus.

Answers

Answer:

some categories more heavily than others.

Explanation:

A category-based course grading system is a form of a grading system that involves an examiner to set up different categories of the overall assessment and at the same time placed different weight or marks over each category.

Therefore, the examiners weigh a student's performance in " some categories more heavily than others." For example, an examiner placed different weight over different categories in the overall assessment

1. Homework category: 30%

2. Classwork category: 20%

3. Quiz category: 20%

4. Final exam category: 30%

Answer:

B

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.

plz I really need this
Select the correct answer.

The following diagram shows resistors connected with a voltage of 19 V across them. Which statement is true?



A. Each resistor experiences a potential difference of 19 V.
B. The equivalent resistance is 10 Ω.
C. The current flowing through all the resistors is 1 A.
D. Each resistor experiences a part of the current, the sum of which is 1 A.
E. The equivalent resistance is less than 4 Ω.

Answers

Answer: it has to be c

Explanation: Most circuits have more than one component, called a resistor that limits the flow of charge in the circuit. A measure of this limit on charge flow is called resistance.The simplest combinations of resistors are the series and parallel connections illustrated in Figure 1.The total resistance of a combination of resistors depends on both their individual values and how they are connected.

It’s C, you’re welcome my children

The function below returns the sum of the two variables n1 and n2. Write a function CALL that displays the return value on the screen

def sum(n1, n2):
n = n1+n2
return n

Answers

Answer:

print(sum(n1, n2))

Explanation:

The print statement displays the function call sum() with n1 and n2 as the variables to be used by the function.

Hope this helps :)

BRAINLIEST!!! 20 PNTS!!!! HELPP!!!

In JavaScript, what symbols needs to surround the condition when you write a conditional statement?

A. parentheses

B. curly braces

C. the greater than and less than signs

D. hashtags

Answers

Answer:

A) Parentheses

Explanation:

Conditional statements control behavior in JavaScript and determine whether or not pieces of code can run.

There are multiple different types of conditionals in JavaScript including:

If” statements: where if a condition is true it is used to specify execution for a block of code.

“Else” statements: where if the same condition is false it specifies the execution for a block of code.

“Else if” statements: this specifies a new test if the first condition is false.

Now that you have the basic JavaScript conditional statement definitions, let’s show you examples of each.

If Statement Example

As the most common type of conditional, the if statement only runs if the condition enclosed in parentheses () is truthy.

EXAMPLE

if (10 > 5) {

     var outcome = "if block";

}

​outcome;

OUTPUT

"if block"

Here’s what’s happening in the example above:

   The keyword if tells JavaScript to start the conditional statement.

   (10 > 5) is the condition to test, which in this case is true — 10 is greater than 5.

   The part contained inside curly braces {} is the block of code to run.

   Because the condition passes, the variable outcome is assigned the value "if block".

Select all the correct answers.

Which two statements about resistors are true?

1. Series resistors produce a lower resistance than the same parallel resistors.
2. Resistors impede the current flowing through a circuit.
3. Resistors increase the voltage through a circuit.
4. Series resistors produce a higher resistance than the same parallel resistors.
5. Parallel resistors allow more current to pass through than no resistors.

Answers

Explanation: 2 and 5

Answer:

resistors reduce current flow and divide voltages, so 2 & 3!

A dog sits 1.50m from the center of the merry-go-around and revolves at a tangential speed of 1.80m\s. If the dog’s mass is 18.5kg, what is the magnitude of the centripetal force on the dog?


A) 25.53n
B) 32.51n
C) 39.96n
D) 42.55n

Answers

Answer:

39.96 N

Further explanation:

Given

radius=R=1.5 m

Tangential speed =v=1.80m\s

mass of the dog=18.5 kg

Required

The magnitude of the centripetal force

Analysis

Use Centripetal force formula :

[tex]]\large{\boxed{\bold{F= \frac{mv^2}{R}}}[/tex]

F = centripetal force , N  

m = mass , Kg  

v = linear velocity/tangential  , m/s  

r = radius , m  

Solution

[tex]\tt F=\dfrac{18.5\times 1.8^2}{1.5}\\\\F=39.96~N[/tex]

Paraphrase

The magnitude of the centripetal force on the dog : 39.96 N

I NEED HELP!! What is the portrait mode?

Answers

Answer:

A its achromatically save your file

The correct answer is E. It applies vertical dimensions to your document.

Explanation:

The portrait mode is a function in programs such as Microsoft Word that allow users to change the orientation of pages. Indeed, by selecting "portrait mode" the pages of the document will be vertical. This is the opposite of "landscape mode" that makes the pages in a document to be horizontally orientated. Additionally, these two functions are relevant for the user because it allows him/her to decide the orientation of pages and therefore the distribution of text, images, graphs, etc. According to this, the portrait mode is the function that "applies vertical dimensions to your document".

Which of these is a URL shortening service? O A. Twitter O B. TXTMob OC. TinyURL OD Tumblr​

Answers

TinyURL is a url shortener

Answer:

tiny  url

Explanation:

Which statement best describes the purpose of SmartArt graphics in PowerPoint presentations?

They are used to create different-sized text fonts.
They are a simplified way to create bar and line graphs.
They are an easy mechanism for combining text and graphics.
They are a method used to find infographics online.

Answers

Answer:

They are an easy mechanism for combining text and graphics.

Explanation:

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.

how was the background for the revolution of 2007 prepared​

Answers

Answer:

Answer is in the attachment.

Hope this helps..

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

When first designing an app, all of the folldwing are important EXCEPT
A. debugging
B. determining how a user would interact with the app.
C. determining the purpose of the app
D. identifying the target audience

Answers

Answer:

B

Explanation:

Determining how the user could interact with the app varies person to person, the others are essential to creating apps though.

When does call of duty mobile session 13 starts ​

Answers

Answer:

December 22nd

Hope it helps......

pls mark as brainliest

only true naruto fans know
who is behide the mask in akatsuki
A madara
B Sasuke
C Obito
D Ten tails

Answers

Answer:

obito duh, its Tobi the orange masked one he acts like madara but we know it's his simp guy

Answer:

Obito

Explanation:

cuz obito

In the past what happened after Hermione blocked Albus's spell A) Hermione watched helplessly as the death eaters swarmed Snape and Ron B) Dementors sucked out Ron and Hermione's souls C) Cedric turned on Albus and killed him D) Dolores Umbridge captured Hermione and sent her to Azkaban

Answers

Answer:

B) Dementors sucked out Ron and Hermione's souls

Explanation:

In the book titled Harry Potter and the Cursed Child at Act Three, Scene 1-11 it was revealed that after Hermione blocked Albus's spell, the Dementors were after the group of Hermione, Scorpio, Ron, and Snape.

However, Hermione believed the Dementors were only after her, so she wished to sacrifice herself for the safety of others. Before she does that, she declared her love for Ron. In return Ron also decided to stay instead of running, he prefers both of them to be killed together instead.

Therefore both Hermione and Ron stayed behind and "Dementors sucked out Ron and Hermione's souls."

Answer:

B

Explanation:

She loved Ron and vise versa so they both sacrifised themselves.

Which part of the input-process-output model is line 2 in the program below? strWeight = input("Enter your weight in pounds: ") # Line 1 weight = float(strWeight) # Line 2 print (weight) # Line 3 process output input planning

Answers

Answer:

process

Explanation:

Given

The program in python

Required

What does line 2 represents

The line 2 of the program is: weight = float(strWeight)

And what it does is that it converts the input weight from string to float after the user supplies value for strWeight

This conversion not input, output, neither is it planning. It is process because according to the program it prepares variable weight to be printed as float on line 3

Answer: process

Explanation: got it right on edgen

Use tar to create a full compressed back up of the /var/log folder. Use the bzip2 compression. The name of the archive should be YOURFIRSTNAME.Tar and it should be saved in the /home/backups folder (you would need to create the /home/backups folder first):

Answers

Answer:

mkdir ~/home/backups

tar -cjf YOURFIRSTNAME.tar.bz /var/log

mv YOURFIRSTNAME.tar.bz ~/home/backups

Explanation:

The bash script makes a new directory called backups in the home directory then archives and compresses the log files in the /var/log folder. Then the compressed file is moved to the newly created backups folder.

How can you make sure that your private information
stays private?

Answers

Answer:

Be Alert to Impersonators. Safely Dispose of Personal Information. Encrypt Your Data. keep Passwords Private. Don't Overshare on Social Networking Sites.

Use Security Software. Avoid Phishing Emails.

Be Wise About Wi-Fi.

Imagine that you were hired to create the label for a new brand of soup. The client wants to emphasize that the soup has homemade flavor. Describe the tools and specific elements that you would use to create this image.

plz help

Answers

Answer:

Explanation:

For tools, I would simply use Adobe Photoshop to create the label/poster for the brand of soup. In order to make the poster or representation of the soup look homemade, I would place a picture of a kid drinking the soup at a kitchen table with a picture of the mom in the background kitchen. Then I would create a light yellowish tint in the image and steam coming from the soup bowl. This would help the brand represent a form of memory to a delicious homemade meal by a parent.


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

Answers

Answer:

telecommuting

Explanation:

12r3393938

please help i have 15 mins
In this activity, you will conduct research about any six social networking websites that have achieved immense popularity in the past decade. Then, write about the unique role of these social networking sites by completing the following tasks:
Compare and contrast the features of these social networking sites.
Discuss how each site serves a unique purpose for its user base.

Answers

Answer:

Hm, I think you can use any right? Use these for your examples:

Nvm I can't help, Brainly wont let me type the website names for some reason

Just say that some are geared for family and friends to interact on there while others have a user-follower dynamic, so they created influencers and fanbases on social media

The first time a user launches the PowerPoint program, which view is shown allowing the user to access recent presentations or create new presentations based on templates?

Search screen
Start screen
Backstage view
Edit view

Answers

Answer:

Start screen

Explanation:

The first time a user launches the PowerPoint program Start screen is shown allowing the user to access recent presentations.

What is PowerPoint program?

Presentations can be quickly and easily created, edited, viewed, presented, or shared from anywhere.

PowerPoint gives you the opportunity to leave a lasting impression with strong, adaptable slides and presentations that set you apart. Make slideshows anywhere and deliver with assurance.

It has never been simpler to create an engaging and memorable presentation. PowerPoint provides you with pre-made templates and suggestions for presentation designs.

Therefore, The first time a user launches the PowerPoint program Start screen is shown allowing the user to access recent presentations.

To learn more about Presentations, refer to the link:

https://brainly.com/question/820859

#SPJ6


What steps will add content to a report header section?
1. Open the report in
2. Right-click a
__ and click Report Header/Footer.
3. On the Design tab, in the ____group, click Controls, and add the desired content.
4. To add an image, click Insert Image, and use the ___ to format the image
5. Save the report, and view it in Layout or Preview view.

Answers

Answer:

Design, Section divider or blank area, Controls, Property sheet

Explanation:

edge 2021

The steps to add content to a report header section includes:

Right-click a and click Report Header/Footer.On the Design tab,  click Controls, and add the desired content.

What is the Report headers?

In a document, they appear once at the beginning of the report and before the page header.

Hence, when we need to click on the Design tab,  click Controls, and add the desired content to add content to a report header section.

Read more about report header

brainly.com/question/2329500

#SPJ2

Daniel would like to send a letter to more than one hundred people. He should type each letter separately.


False

True
plz hurry i need it now

Answers

False is the answer to your question
Um False??????????????????????????

what do you get with brainly points

Answers

i dont know but here I am, grinding points for some reason

Answer: You can rank yourself up and just look good, cause who doesn't like just having points laying around, plus the more points you have the more questions you can ask, but don't ask too many cause you might just get negative points!!!

Explanation:

A store has been attaching tags with barcodes to merchandise, allowing employees to use barcode readers to scan merchandise at the cash register. However, the wireless barcode readers need new batteries often, and using this system for inventory tracking is very time-consuming. What emerging technology should the department store use?


touch screen

Smart card

RFID

CAD

pls hurry i need this answer right now.

Answers

Answer:

The right answer is: Option 3: RFID

Explanation:

One of the latest technologies is RFID. RFID stands for radio frequency identification. It is a fast and new technology that can be used for tagging goods in store. It is used to identify tags put on an object using electromagnetic fields.

Hence,

The right answer is: Option 3: RFID

Select the correct answer.
Keith has been using a software application for a year on his home computer. A new version of the application was recently released. Keith's license has a term of two years and entitles Keith to upgrade his application to a new version within the term. What type of license does the application have?

А. perpetual license
B. site license
C. Creative Commons Attribution (CC BY) license
D. license with maintenance​

Answers

The answer is the letter (D)

Imagine that a time machine has transported you back to an earlier civilization or historical era. Poking through your backpack, you discover some rope, a pocket knife, a roll of duct tape, and three modern technological devices. Where are you? What is the time period? What tech devices are in your backpack? Write a diary or journal entry about how you survive for 24 hours with the help of the items you have on hand. Describe in detail and write a story about what you did those 24 hours.

Answers

Answer:

Day 1:Today I time traveled. it was pretty crazy, hope nothing goes bad.

1 hour in: Went asking around to see who is the king around here is. Everyone seems to look at me weird, I don't know why.

2nd hour: while asking around this dude came up to me and asked for silver. I said I didn't have any so then he walked away. He was an older man with a scrawny figure. Most people I see are a little bigger.

3rd hour: I finally found out who the king was

but I cant remember his name right now so I'll pit it in a different entry.

here u can start out with this if u want me to finish it just ask.

Other Questions
can someone pleasechelp me so i dont fail WRITE A RESPONSE TO THIS BIRTHDAY LETTERToday, I celebrate the essence of who you are! You are beautiful / handsome and wonderfully made. A unique individual with your special talents. Remember you are a treasure among humanity and may you love who you are and cherish your qualities as you continue to matriculate through your adolescent years! A company acquired an office building, land, and equipment in a single basket purchase. The fair values were $1,560,000, $1,560,000, and $2,080,000 for the building, land, and equipment, respectively. The company recorded the building for $1,470,000. What was the total purchase cost for all three assets What kind of adjective is grateful? (Ex. demonstrative, positive, common, that sort of thing) What makes you unique? :Dalso, what is 2020-19 ? XD Prior to entering the war, the United StatesA) Had an agreement with Germany to not get involvedB) Had plans to enter the war to defeat the Axis Powers.C) Supplied the Allies with ships and war suppliesD) Bombed Japan. A company's_______ tells you how much money the company has left over after subtracting all expenses. *a) Net Profit b) Gross Profit c) Revenue d) Cost Of Goods Sold (COGS) Can someone check if I did this right Polonium-214 went through a series of radioactive decays to produce a stable isotope of bismuth-210 choose the correct decay series that would produce bismuth-210A: Polonium-214 undergoes 2 beta decay and 1 gamma emissionB: Polonium-214 undergoes 1 alpha decay and 2 gamma emissionC: Polonium-214 undergoes 2 alpha decay and 1 beta decayD: Polonium-214 undergoes 1 alpha decay 1 beta decay and 1 gamma emission. Identify the type of motion that occurs when a body moves around its own center of mass.circularrevolutionrotationresolution what was the new deal? Which of the following is cause of Decertification QUESTION : WHICH LINES ARE PREPENDICULAR ? HOW DO YOU KNOW ? WILL REPORT THE ONES THAT DONT HELP !!!! How long does it take a train moving at 60 miles/hr to go 3600 miles? the meaning of federalism? Write a free verse poem of at least fifteen lines. Use at least three kinds of figurative language and at least two different sound effects. yooooooooooooo wassgud On Friday, Jason decided to pass out bags of candy to children in his class. He put 40 pieces of candy into 5 bags. Each bag had the same amount of candy. If Jason only gave away 3 bags of candy, how many pieces of candy did he give away? pls answer this question and I would be forever grateful in your debt:) last one please help