What is the value of numC when this program is executed?
numA = 4
numB = 10
if numA == 2:
numC = 10
elif numA > numB:
numC = 20
else:
numC = 30

Answers

Answer 1

numA = 4 and numB = 10

for the if statement to run, numA has to equal 2, which it doesn't.

for the elif statement to run, numA has to be greater than numB, which it isn't.

That leaves the else statement, therefore, numC = 30

Answer 2

Answer:

30

Explanation:

What Is The Value Of NumC When This Program Is Executed?numA = 4numB = 10if NumA == 2: NumC = 10elif

Related Questions

HELP PLEASE!!!!!!!!
IT Professionals may implement a(n) questionable sites. Choose the answer to prevent users from visiting

A firewall
B spam filter
C anti-virus software
D content filter​

Answers

Answer:

the answer is D. Content filter

An IT Professional may implement a content filter to protect the user from sites that seem questionable. (Mainly being offensive, inappropriate, and even dangerous for the user.)

I hope my answer came in handy! <3

concept about borderless classroom because of technology​

Answers

Answer:

With Borderless Classroom Technology, every student remains a part of the classroom. ... That is to be 'as simple as a light switch' and as effective in lighting the learning experience as educators focused on students, not on technology." Borderless Classroom Technology is an extension of that philosophy.

HAS TO BE RIGHT- GOOGLE TOLD ME

By providing education increasingly interesting as well as collaborative, technologies can indeed benefit pupils. A further explanation is provided below.

Borderless Classroom means allowing the instructor to communicate individual screen among students, learners are encouraged from whatever place to take part throughout the lesson, gives educators and administrators with individual conversation skills, improved administration in classrooms.Enables the instructor to watch what pupils were doing on their dashboards gadgets instantaneously.

Learn more about borderless classrooms here:

https://brainly.com/question/7526791

Within a major students can choose to study a specific area within major. For example a journalism student may study military journalism or business journalism the specific area is called

Answers

Answer:

Specialization

Hope this helps!

Answer:

Specialization

Explanation:

Here are a few elements of breaking news and a feature story. Match the elements of breaking news and a feature story with their correct images.

Answers

Breaking News:

➡️Highlights key events

➡️Answers some, but not necessarily all questions, such as when, where, who, why, and how.

Feature Story:

➡️ No urgency to be reported

➡️Adequate time for research

➡️Includes reviews and Q&A type interviews

➡️Summary lead is the most traditional form often used to create a script

Explanation:

Breaking news is known as a special report or news which reports something current and urgent. It usually interrupts a scheduled program or current news. It answers some questions on the news that just broke out.

Feature story is known to be a news that is non-fiction. It is also known to be a type of soft news. It includes Q&A interviews and reviews. It takes adequate time for research.

Breaking News

Highlights Key eventsIncludes Reviews and Q&A type interviewsAdequate time for research

Feature story

Answers some , but not necessarily all questions , such as when , where , who , why , and howNo urgency to be reportedSummary lead is the most traditional form often used to create a script.

Which of the following devices can send or receive
information on a network? Check all of the boxes
that apply.
O printers
e-book readers
clients
servers
smartphones

Answers

Answer:

All

Explanation:

Answer:

Its all  of them

Explanation:

I got it right

In Word, tables can be styled much like text can.
True
False

Answers

Answer:

True

Explanation:

There are many formatting options from color, size, and many more.

Hope this helps!

QUESTION 2 / 10
Which of the following is the BEST rearn to use cash for making purchases
B. Getting more cash from an ATM machine is easy to do
A. Splitting bills with friends is entier,
D. Knowing what you have spent your money on is
simple,
C. Keeping track of how much you have spent is simple.
Achete Wing
Go to Semings to

Answers

Answer:

C. Keeping track of how much you have spent is simple.

Explanation:

One of the best reasons to use cash for purchases is to help one track how much he/she spends. When one uses cash for purchases, it helps to keep him/her in check on how much he/she spends daily.

This helps individuals to cut down, control and watch over their spendings. Actually, when you see the cash you own, it can remind you to spend less because your overall money with you is in reality.

Having a positive work ethic means accepting
constructive criticism even though it may be
painful. You should: (select all that apply)
show a positive facial expression.
maintain eye contact
not interrupt or speak until you are sure the
other person is finished making a point
question the person frequently throughout the
conversation

Answers

Answer:

2 and 3 (1 is debatable)

Explanation:

Answer:

123 and the next one is all of them

Explanation:

5. Choose the correct options:
a. Each bead in the heaven of Abacus has .... value
i) One
ii) Three
iii) Five
iv) None of the above​

Answers

Answer:

in my opinion the answer is number 2 three opinion the answer is correct then mark me as brain list

Which of the following is not expected of employees’ oral communication skills in the workspace

Answers

Answer:

Yes, choose C since it's not an oral requirement, but a written one.

The oral communication skills in the workspace should not involve writing.

The information regarding oral communication skills is as follows:

Active listener.Clarification.Asking open-ended questions.In this, the communication could be done in a clear way.The appropriate language should be used.Also, the laws & regulations should be communicated.

Therefore we can conclude that the oral communication skills in the workspace should not involve writing.

Learn more about the communication here: brainly.com/question/12349431

I need help plz
so right now im on my school computer and everytime i turn it on it shows this blue site and on the site it says something like anti-virus-protection. I dont need virus protection cause im on my school computer, then whenever i turn on chrome it closes the page i was on and then brings it bk on does anyone know what is happening or can help me???


ALSO ALL my extension that are not to help me with school are deleted

Answers

Answer:

Try to restart your computer, if it doesn't work try looking up what to if anti-virus protection comes up randomly, without needing it.

Explanation:

Not Sure if you'll still get it even after restarting, but if it doesn't then hard shutdown the computer, So it could refresh it.

try turning it off and back on or u can wait till the battery drains out



Access from and output to the register is slow true false​

Answers

Answer:

false

Explanation:

it depends most of time so false

Computer hardware is best described as

Answers

Computer hardware is best described as any physical component of a computer system that contains ICs, Circuit boards , or any other type of electronic.

I WILL MARK BRAINLIEST!!!!!1

Answers

Answer:

They make the keyboard work properly

Explanation:

Software as a Service refers to

software that you put on your computer.

software you can access using any device.

a server.

a web browser.

Answers

Answer:a,b,d,e

Explanation: The other top ones are right but it's a multiple choice answer

I will brainlist

LEAN manufacturing is mostly used in automobile
manufacturing?

True or False

Answers

Answer:

True

Explanation:

Answer:true

Explanation:

TASK: Write a static method called repeatString that takes as input a String parameter word followed by an int parameter num. It should return a String that would be the result of repeating word exactly num times. If num is 0 or negative, the method should output an empty string.


HINT: Don't print out anything! Your method should return a string, not print it. print the output of your method behind the scenes to check that your method returns the right string; if you add your own print statements then the output won't be correct.


HINT: Make use of String concatenation!

Answers

Answer:

Follows are the method definition to this question:

public static String repeatString(String word, int num)//defining a String method repeatString that takes two parameters

{

   String Val= "";//defining String variable Val

   for(int x = 0;x<num;x++)//defining for loop to calculate number of string

   {

       Val=Val+word;//hold calculated value in Val

   }

   return Val;//return Val value

}

Explanation:

Follows are the full code to this question:

import java.util.*;//import package for user input

public class Main//defining class Main

{

   public static String repeatString(String word, int num)//defining a String method repeatString that takes two parameters

{

   String Val= "";//defining String variable Val

   for(int x = 0;x<num;x++)//defining for loop to calculate number of string

   {

       Val=Val+word;//hold calculated value in Val

   }

   return Val;//return Val value

}

public static void main(String[] ar)//defining main method

{

   int num;//defining integer variable

   String word; //defining String variable

   Scanner on=new Scanner(System.in);//creating Scanner class Object

   System.out.print("Enter numeric value: ");//print message

   num=on.nextInt();//input value

   System.out.print("Enter String value: ");//print message

   word=on.next();//input value

   System.out.print(repeatString(word,num));//call method and print its return value

}

}

Output:

Enter numeric value: 3

Enter String value: data

datadatadata

Description:

Inside the main class,  a static string method "repeatString" is defined that accepts two parameters "word and num", in which one is a string and one is an integer.

Inside the method, the string variable "Val" is defined, which uses the "for" loop to calculate the number of string and store its value in the variable.

In the main class, the above two variables are defined, that uses the Scanner class object for input the value and pass into the method and print its value.

3) You can't name your report.
True or false?

Answers

Not sure if this is a legit question or not but no you probably shouldnt give your report a name lol

You want to create a computer that processes data very fast. What do you need to achieve this goal?

a bigger cooling unit
large CPU caches
more ALUs
a bigger hard drive

Answers

Answer:

large cpu cache

Explanation:

trust me

Which of these file formats would you choose if you had to create a vector graphic?
Graphic Interchange Format (gif)

Portable Network Graphic (png)

Adobe Illustrator (ai)

Microsoft PowerPoint (pptx)

Answers

Answer:

Don't know, but it's NOT (pptx)

Maybe you will have better luck than me Edge2020

The file format that one would choose if you had to create a vector graphic is Adobe Illustrator.

What is Adobe Illustrator?

This is known to be a kind of Software that helps in editing of vector graphics and it is also used in design program.

Based on the specification above, The file format that one would choose if you had to create a vector graphic is Adobe Illustrator as that is its work.

Learn more about Adobe Illustrator from

https://brainly.com/question/15169412

#SPJ2

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
select all that apply
The purpose of special effects in presentations is to _____.

improve their effectiveness
showcase the presenter's creativity
increase audience attention
focus audience attention
make boring presentations interesting
provide visual cues

Answers

Answer:

1,2,3,4,5

Explanation:

Answer:

improve their effectiveness

showcase the presenter's creativity

increase audience attention

make boring presentations interesting

provide visual cues

Explanation:

WILL GIVE BRAINLIEST FOR CORRECT ANSWER

Which prototyping tool has a feature to turn your paper sketches into mockups?
A.
Justinmind
B.
Marvel
C.
Origami
D.
InVision

Answers

Answer: origami studio

Hi! I'll mark brainliest if you can help me with my problem!
What do I do if I have a computer stuck in a automatic repair loop/boot loop? Please help asap

Answers

Answer:

1. Click Repair your computer at the bottom.

2. Choose Troubleshoot>Advanced Options>Command Prompt.

3. Type chkdsk /f /r C: and then press Enter.

4. Type exit and press Enter.

5. Restart your PC to see if the problem is fixed or not.

Answer:

So first you would try shutting it off or restarting it then if it doesn't work press automatic restart.

Explanation:

If this doesn't help contact a person at best buy wor whatever. Im sorry if this sounds rude in anyway. :(

Suppose you have a word processing application on your smartphone, your tablet, and your laptop. You are at home, and you need to write a paper for a class. A would be easiest to use for writing your paper.

Answers

Answer:

laptop

Explanation:

have a good day

the hardware device that allows the user to see the results after processing is the monitor,scanner,webcam,Camara​

Answers

Answer:hey

Explanation:

A device is one that is an external device and includes Printer, monitor, keyboard, and scanner. The input device includes the mouse and other point devices.

The camera is also an input device, a web-cam is a external device. The external device that lets the user see the output or the result on the screen is monitor.

Hence the option A is correct.

Learn more about the device that allows the user to see the results.

brainly.com/question/25756373.

A family member who hasnít worked with computers before has decided to change jobs. Youíve been asked to explain some of the basics. You begin by explaining the basic idea of word processing software, spreadsheets, databases, and presentation software. You sense that the following question is coming: ìWhy so many different things? Why canít there just be one software that you could use for everything?î How would you answer?

Answers

There are too many diverse forms of media. For all of them to be suited under one program would make every server monotonous and pretty much the same. With different programs, different forms of diverse media are created.

Help ASAP!!Choose all the basic elements of algorithms. A.Selection B.Loops C.Flow Charts D.Sequencing E.Combinations F.Iteration

Answers

Answer:

b c d

Explanation:

Answer:

A, C, E, F

Explanation:

Just took the test

what is amoeba cell do? max amount of points so pls answer​

Answers

Answer:

Ameoba is an organism which is unicellular and is a free-living cell. it is also a eukaryotic organism ( it has well-defined, membrane-bound cell organelles).

An amoeba cell has to carry out all the functions needed for its survival such as injection of food, digestion of food, excretion of waste, etc

An Amoeba cell is a unicellular organism. It is eukaryotic and has well-defined, membrane-bound cell organelles. Amoebas function as their own living body, so they create energy, move around, and throw out waste on their own.

In a paragraph of 125 words, describe the benefits of having an electronic résumé.

Answers

Answer:

Employers benefit from the advantages online resumes offer, including having access to a host of possible applicants based on specific search criteria and limiting their search to applications that possess the exact skills and qualities they are looking for.

Answer:

There are numerous advantages to creating an online resume. Companies themselves are increasing their use of online services because they offer significant cost savings over traditional hiring methods. As such, many industries and government organizations will now specifically ask job seekers to post their resumes online in a specific format (e.g., MS Word, HTML, or PDF), either by uploading them from another location or recreating them on their website.

     However, the main advantage of online resumes is that they are instant; sending a resume through the mail is likely to take days, and if a company needs to hire someone fast, or are looking for temporary or freelance work, they're unlikely to go to the trouble to post an advertisement, wait for resumes to arrive, and then sort through them.

     Companies will instead be looking for a speedy solution, and having an online resume immediately opens up these avenues to you.

     Keeping your resume online also allows you to instantly update your resume with your most recent achievements, even notifying potential employers of this update if they are considering your resume.

Explanation:

Dave is a website administrator and manages several websites and a couple of blogs. One of his primary concerns is secure data transfer. Which telecommunication component can help Dave and other users to encrypt data?

Answers

Answer: C:Control Software

Explanation: The test said so

Other Questions
Is the devinshire system slavery? Why or why not? When an enzyme is exposed to a temperature higher than its optimum,what happens?A)NothingB)The enzyme catalyzes the reaction betterC)The enzyme becomes denaturedD)The rate of reaction remains the same The side length of the square shown is tripled.3 cmWhich percent of increase is greater the percent of increase for the perimeter of the square or the percent of increase for the area? Howmuch greater?The percent of increase for theis greaterIt is% greater How many different versions of new government did the French experiment with before Napoleon rose to power? What was each called? Which sentence uses superfluous correctly?A. The water started flowing from the new sprinkler system in a superfluous way. B. The water was supefluous to the runners after the marathon.C. After the power came back on, the use of flashlights was superfluous. D. The new instructor found the class to be superfluous and attentive. Ten moles of hydrogen are allowed to react with 6 moles of oxygen. How much water will beobtained from reaction on complete consumption of one gas? What is a noun clause? 1. Explica como era la vida de los indgenas en America antes de la llegada de los conquistadores. 2. Cmo fue que llegaron los espaoles a America? 3. Realiza un breve recuento de los cuatro viajes de Cristbal Coln. 4. Cmo se reparti el territorio americano entre los conquistadores? 5. Cmo fue la conquista a Mexico? Y Cmo a Per? 6. Enumera las principales consecuencias de la conquista de Amrica. compare and contrast speed and strength Grapes growing on a vine are observed to shrink slightly during the day and increase in size at night. This is because: a. developing fruits, such as grapes, transpire a lot of water to stay cool. b. photosynthesis to produce sugar occurs in the light, but respiration and, therefore, the growth of new cells occurs mostly in the dark. c. in leaves, phloem flow to growing sinks only occurs when the stomata are closed, because the transport capacity of the xylem is too small to supply water for both transpiration and phloem flow. d. during the day, transpiration pulls on the water in the whole plant, causing the grapes to shrink slightly. If you answer I will give brainliest.How many km did a bird travel if it flew at a speed of 55 km/hr for 35 hours? *A 1.6 kmB 0.6 kmC 18.3 kmD 1,925 km which lunar phase occurs when the moon is directly across from the sun with the Earth in the middle. During this phase we see light reflected off the entire near side of the moon what is 200 digits of pi What enables neighboring water molecules to hydrogen bond with eachother What is globalization? 14+14 plaxdivu nfnvhwijqco n uhfen uew9 nfh nf hfn feuh Write the equation of the line that passes through the given points.(0,4) and (5,10) this cartoon depicts president woodrow calling on congress to h what is ostia in biology Over the past week, 40% of the phone calls to Alicia's cell phone were from her son. Let's say you know that her son called her 12 times. Find out how many total calls she received from her son.