Why do numA and numB have the same scope in the subtract function?

def subtract(numA, numB):
return numA - numB

def divide(numC, numD):
return numC / numD

answer = subtract(24,6)
print (answer)
____________________
CHOICES
Only the subtract function can use or change the values of numA and numB.
numA and numB are both numeric.
numA and numB are similar names.
numA is passed the value 24 and numB is passed the value 6.

Answers

Answer 1

Answer:

Only the subtract function can use or change the values of numA and numB.

Explanation:

'scope' is about the parts of your program where a variable "exists", ie., can be used.

The other statements are factually true, but do not apply to the question.

Answer 2

Only the subtract function can use or change the values of numA and numB. So, the correct option is A.

What is Substract function?

In subtraction, the minuend is the primary number (from which a number must be subtracted) and the subtrahend is the second number (the number which is to be subtracted). The difference is the resultant number. In mathematics, the "minus" (-) operator is positioned in between the minuend and the subtrahend.

Use the minus symbol to carry out a basic subtraction operation (-). This is the simplest subtraction formula in Excel: =number1-number2. For instance, to subtract 10 from 100, write the equation below, which gives the answer of 90: =100-10. The values of numA and numB can only be used or modified using the subtract function.

Therefore, the correct option is A.

Learn more about Subtraction, here:

https://brainly.com/question/2346316

#SPJ2


Related Questions

If a computer company develops a touchscreen tablet with the intent that it will have to be replaced within two years by the consumer, this is known as which of the following? consumer fraud supply and demand planned obsolescence innovative commerce

Answers

Answer:

b

Explanation:

demand planned obsolescence

which field data type would you use if youd like to store videos in that field?

A. text

B. memo

C.boolean

D. binary object

E. null​

Answers

Answer:

D - Bianary Object

Explanation:

A binary large object is a collection of binary data stored as a single entity. Blobs are typically images, audio or other multimedia objects, though sometimes binary executable code is stored as a blob. They can exist as persistent values inside some databases or version control system, or exist at runtime as program variables in some programming. - Wikipedia

To indent the first line of a paragraph, which key should you use?
O Shift key
O Tab key
O Enter key
O Space key

Answers

You push the tab key to indent the first line of a paragraph!
You would click the Tab key to indent the first line of a paragraph. Just make sure the cursor is where you want to indent it.

______ creates a unique and fixed-length signature for a set of data. It involves converting a numerical input into another compressed numerical output.

Answers

Answer: Hashing

Explanation:

Hashing creates a unique and fixed length signature. Once hashing is performed, it is not possible to reverse the message. Hashing is used with authentication. This ensures that the given message cannot be modified.

The _________ covers installing and configuring operating systems, expanded security, software troubleshooting, and operational procedures.
COMPTIA NETWORK+


COMPTIA SECURITY+


COMPTIA EXCEL


COMPTIA A+

Answers

The COMPTIA A+ covers installing and configuring operating systems, expanded security, software troubleshooting, and operational procedures.

What is certification?

Certification can be defined as a process which describes the formal recognition that is given to a graduate student for the successful completion of an academic programme, course of study such as the following:

FinanceEducationSoftware engineeringInformation technology consultant.Information systems manager.Information security analyst.Computer engineering

Generally speaking, the COMPTIA A+ 220-1002 is a type of certification programme which extensively covers the installation and configuration of operating systems (OS), expanded information security (IS), troubleshooting of software, as well as operational procedures.

Read more on certification here: brainly.com/question/13412233

#SPJ1

Tom is trapped on the top floor of a department store. It’s just before Christmas


and he wants to get home with his presents. What can he do? He has tried


calling, even yelling, but there is no one around. Across the street he can see


some computer person still working away late into the night. How could he


attract her attention? Tom looks around to see what he could use. Then he has a


brilliant idea—he can use the Christmas tree lights to send her a message! He


finds all the lights and plugs them in so he can turn them on and off. He uses a


simple binary code, which he knows the woman across the street is sure to


understand. Can you work it out?

Answers

Answer:

tom wants to help her

Explanation:

Tom is rushing because he is at the top of a department store and he can't get a hold of her.  

Answer:

help im trapped

Explanation:

i solved it haha you have to use the code

16 8 4 2 1

and each little square equals one of the numbers

Which of these is installed only on Apple smartphones and tablets?

Windows

Android

Linux

iOS

Answers

iOS. It's Apple's own custom OS system, built for their tech.
iOS, I don’t know much about I just know when I need to up date my phone it says I’m updating to iOS whatever number I’m updating to.

Which of these plays an important role in keeping attack traffic off your systems and helps to protect users? check all that apply

Answers

Answer:

Antivirus software

Antimalaware measures

The things which play an important role in keeping attack traffic off your systems and helping to protect users are antimalware measures and Antivirus software. The correct options are a and b.

What are antimalware measures and antivirus software?

Antimalware can assist in the prevention of malware assaults by checking all incoming data and preventing malware from being installed and infecting a computer.

When the operating system is unable to communicate with a mouse, the solution is to update the mouse device driver. This is because the mouse driver is frequently and always required to assist the motherboard in interacting with the device.

It is also a software that works between the Operating System and the Mouse because it can effectively and efficiently translate the signals to the motherboard appropriately or ways, which is why Microsoft's generic driver is used.

Therefore, the correct options are a and b.

To learn more about antimalware measures, refer to the link:

https://brainly.com/question/27994271

#SPJ2

The question is incomplete. Your most probably complete question is given below:

Antimalware measures

Antivirus software

Digital attack surfaces

cybersecurity

Edhesive unit 2 lesson 5 coding activity 1 Write code which creates three regular polygons with 11, 14 and 19 sides respectively. All side lengths should be 1.0. The code should then print the three shapes, one on each line, in the order given (i.E. The one with 11 sides first and the one with 19 sides last). Sample run: regular hendecagon with side length 1.0 regular tetrakaidecagon with side length 1.0 regular enneadecagon with side length 1.0

Answers

Answer:

public class Polygon {

   private String name;

   private int sides;

   private double sideLength;

   public Polygon(String name, int sides, double sideLength) {

       if (sideLength <= 0) throw new IllegalArgumentException("Length cannot be zero or negative.");

       if (sides <= 0) throw new IllegalArgumentException("Sides cannot be zero or negative.");

       this.name = name;

       this.sides = sides;

       this.sideLength = sideLength;

   }

   public String getName() {

       return name;

   }

   public void setName(String name) {

       this.name = name;

   }

   public double getSideLength() {

       return sideLength;

   }

   public void setSideLength(double sideLength) {

       if (sideLength <= 0) throw new IllegalArgumentException("Length cannot be zero or negative.");

       this.sideLength = sideLength;

   }

   public int getSides() {

       return sides;

   }

   public void setSides(int sides) {

       this.sides = sides;

   }

   (use the at sign here)Override

   public String toString() {

       return "regular " + name + " with side length " + String.format("%.1f", sideLength);

   }

}

public class TestPolygon {

   public static void main(String[] args) {

       Polygon sides11 = new Polygon("hendecagon", 11, 1);

       Polygon sides14 = new Polygon("tetrakaidecagon", 14, 1);

       Polygon sides19 = new Polygon("enneadecagon", 19, 1);

       System. out. println(sides11);

       System. out. println(sides14);

       System. out. println(sides19);

   }

}

Explanation:

This java source code defines a class that creates a regular polygon based on the number of sides given to it.

Below is a screenshot of the program code and output.

is an impact printer makes contact with the paper. ​

Answers

Answer:

Yes

Explanation:

because the name impact

What is the additional space complexity of removing an element at the back of a queue with n elements and returning the queue with all other elements in their original order?.

Answers

Question: What is the additional space complexity of removing an element at the back of a queue with n elements and returning the queue with all other elements in their original order?

Answer: O(1)

HELP FAST PLS PLS

Put the steps in order to produce the output shown below.
Assume the indenting will be correct in the program.
'uno'
Line 2
Line 1
Line 3

Answers

Answer: the line numbers are different on mine, but these were correct

Explanation:

Following are the description on the three-line code:

In the first line, a dictionary "games" is declared that holds "key and value" in it.In the key, it holds an integer value, and in the value, it holds a string value.In the second line, the append method is declared that adds value to the dictionary.In the third line, it holds a value of 12.

Please find the attached file for the code.

Learn more:

brainly.com/question/20250851

special purpose properties include all but the following: select one: a. churches. b. hospitals. c. industrial park. d. nursing homes.

Answers

The industrial park is not a special purpose property. An industrial park is an industrial property.

Industrial property can be defined as intangible property rights (as ownership of trademarks or patents) related to agriculture, commerce, and industry.

Industrial property includes

patents trademarks industrial designs geographical indications

This explains that copyright which includes literary works, music, films, works of art, and architectural designs as well as rights related to them include the rights of actors, artists, producers, and broadcasters.

Type of Industrial Properties

Manufacturing, is a tool made to store/accommodate special equipment used to produce goods/materials.Refrigeration/cold storage, Specialized industrial buildings that offer large capacity cold storage such as refrigerators and freezers. Usually this tool is used to store an item that must be stored at low temperatures.Biotech (Wet Lab), A biotech building can be defined as a highly specialized flexible building that supports various laboratory spaces.

You can learn more about Industrial Properties here https://brainly.com/question/28359266

#SPJ4

criminals access someone’s computer and encrypt the user’s personal files and data. the user is unable to access this data unless they pay the criminals to decrypt the files. this practice is called …

Answers

"Criminals access someone’s computer and encrypt the user’s personal data and file. The user is unable to access this data and file unless they pay the criminals to decrypt the files. This practice is called" Ransomware .

Ransomware is a practice that is mostly used by ha-cker or criminals to access someone’s computer and encrypt the personal data on that computer. The user cannot decrypt the data until he pays those criminals.

In the world, cybersecurity is one of the major concerns not only for organizations but also individuals to protect their identity and data online. However, ha-ckers and criminals try to breach the security and access the system. They have different purposes or goals to access the system and steal the data. Mostly, these criminals encrypt the user’s data and ask money against decryption of that data. This practice is called ransomware.

Ransomware is an evolving form of malware. In this form, the ha-ckers or criminals, mostly threaten the owner of the system to publicize the data, in case of not paying the amount that they are asking for. Some ransomware destroy the data, while some lock the data ( encrypt the data) and ask for money to unlock it ( decrypt the data).

You can learn more about ransomware at

https://brainly.com/question/27312662

#SPJ4

Which of the components of the box model is transparent and does not take a background color? content padding border margin

Answers

Answer:

the answer is

ও d- margin

Explanation:

⁂ just did the cumulative exam review, hope this helped ☺

Margin is the component of the box model which is transparent and does not take a background color. Thus, the correct option is D.

What is background color?

The background color is, in most of the cases, displayed in the form of an RGB triplet or a hexadecimal code of colors. The three separate pairs of different numbers which are given in the command, represent the different set of color values of the RGB spectrum. The first value in this set stands for the red color, the second color stands for the green color and the last one stands for the blue color.

The background style of the content, padding, and border areas of a box model are specified by the background property of the generating element of the system. Margin backgrounds are the elements which are always transparent in color.

Therefore, the correct option is D.

Learn more about Background color here:

https://brainly.com/question/14928554

#SPJ2

Which of the following expressions would produce an error in python? a. print( "one"+"2" )
b. print( 3 + 4 )
c. print( "7" + 'eight' )
d. print( '5' + 6 )

Answers

Answer:

c. print( "7" + 'eight' )

Explanation:

From the options listed in the question the only one that would produce an error would be option c. print( "7" + 'eight' ). This is because the second element being added is a string that says eight but it is being represented as a char variable. The ' ' is only used for single-digit character variables while the " " is used for words or strings of characters like the word eight.  In this piece of code the system will try to read this as a Char variable but will detect more than one char and produce an error.

Possible pathways for acquiring information support and services training now include

A. internships


B. part-time jobs


C. participation in a career and technical student organization (CTSO), such as the Technology Student Association (TSA)


D. all of the above

Answers

Possible pathways for acquiring information support and services training now include: C. participation in a career and technical student organization (CTSO), such as the Technology Student Association (TSA).

What is CTSO?

CTSO is an abbreviation for career and technical student organization and it can be defined as a collection of vocational and nonprofit organizations that are primarily established in high schools, colleges, and career technology centers, so as to enable participants such as students to develop and acquire leadership, information support, and teamwork skills.

In this context, we can reasonably infer and logically deduce that participation in a career and technical student organization (CTSO), such as the Technology Student Association (TSA) are possible pathways for acquiring information support and services training.

Read more on career and technical student organization here: https://brainly.com/question/17263803

#SPJ1

What is the first step in creating a maintenance schedule?


log the maintenance completed

read the manuals

inventory equipment

develop a reminder system

Answers

The first step in creating a maintenance schedule is: C. inventory equipment.

What is SDLC?

SDLC is an abbreviation for system development life cycle and it can be defined as a strategic methodology that defines the key steps, phases, or stages for the design, development and implementation of high quality systems, processes and resources, so as to provide specific services to end users.

The phases of SDLC.

In Computer technology, there are seven (7) phases involved in the development of a system and these include the following;

PlanningAnalysisDesignDevelopment (coding)TestingDeploymentMaintenance

In Computer technology, the first step in creating a maintenance schedule is to create a list of inventory equipment based on the system development requirements.

Read more on system development here: brainly.com/question/7112675

#SPJ1

Answer:

What is the first step in creating a maintenance schedule?

(B) Inventory Equipment

Explanation:

Which type of device uses pixels?

A.
driver

B.
motherboard

C.
monitor

D.
mouse

Answers

Answer:

C - Monitor

Explanation:

Pixels are used to display imagery on the monitor.

in windows 8, which tool enables you to set up hard drives, manage devices, test system performance, and much more?

Answers

In Windows 8, Administrative Tools enable the users to perform many tasks including set up hard drives, manage devices and test system performance.

Administrative Tools in Windows are system management tools and applications to configure and troubleshoot important settings of operating systems. In Windows 8, they are by default hidden from the Start screen. Through the Control Panel, they can be accessed.

A few key Administrative Tools in Windows 8 include Computer Management, Defragment and Optimize Drives, Disk Cleanup, Registry Editor, Services, System Information, Task Scheduler, Windows Memory Diagnostic.

The tools offer different services in order to make a better user experience of using Windows 8.

For example, hard drive configuration and various devices management are performed by Computer Management Tool; system performance is monitored by Performance Monitor; Resource Monitor provides details about disk, memory, CPU, and network activity by individual processes; and Memory Diagnostics Tool is used to identify defects in computer memory etc. etc.

You can learn more about windows tools at

https://brainly.com/question/14720056

#SPJ4

With the development of personal computers and the internet, the ability of organizations like save the children to operate successfully around the globe represents which phase of globalization?

Answers

Answer:

The forth phase

10
Which key will erase text to the left of the cursor?
(1 Point)
Esc
Delete
Spacebar
Backspace
11​

Answers

Backspace is the answer

Answer:

Backspace

Explanation:

Which of these protections covers creative works such as books and artwork?
Choose the answer.

A. trademark

B.registered trademark

C.patent

D.copyright

Answers

The answer is D copyright

An unbalanced force on a body will always impact the speed of the object, true or false?​

Answers

Answer:

True

Explanation:

Asides from the fact that Unbalanced forces cause an object to move. It also causes the object to accelerates. Unbalanced force is known to change the speed and direction of an object.

This is evident in Newton's second law of motion which states that "An unbalanced force or net force simulating on an object makes it accelerates. The greater the unbalanced force or net force operating on the object the greater the acceleration of the object."

Hence, in this case, the correct answer is TRUE.

What is the output?
class car:
model = "
age = 20
myCar = car()
myCar.age= myCarage + 10
print(myCarage)
Output:

Answers

Answer:

Following are the modified code to this question:

class car:#defining a class car  

   model = ""#defining a class

   age = 20#defining an integer variable that hold a value

myCar = car()#creating reference of class

myCar.age= myCar.age+ 10#Use reference to add value in age variable

print(myCar.age)#print age value

Output:

30

Explanation:

In the above code class care is defined, inside the car a string variable "model", and an integer variable "age" is defined that hold a value, in the next step, class reference myCar is defined, that used to add value in age variable an at the last we use print method to print age variable value.

can someone help me answer this ASAP. I’ll give a brainliest to whoever can answer correctly. Thanks :)

Answers

Answer: The correct answer is B




Explanation:

an 82-year-old female complains of foul-smelling diarrhea, abdominal cramping, and loss of appetite. she developed an infection following knee surgery 2 weeks ago. she is prescribed antibiotics. what should you suspect as the infectious organism?

Answers

The infectious organism would be suspected as Clostridium difficile.

Clostridium difficile is a gram-positive, anaerobic bacteria that are usually present in the soil and air.

Infected Patients suffer from mild to moderate diarrhea and inflammation due to enterotoxin and cytotoxin produced by Clostridium difficile. In addition to diarrhea, infected patients can have the symptoms of severe abdominal cramping, vomiting, and anorexia. This type of infection can sometimes be life-threatening.

The risk factors for  Clostridium difficile infection include surgery, antibiotics, weakened immune system, and older age. The patients taking cephalosporin or fluoroquinolone antibiotics have more vulnerability to  Clostridium difficile infection. Antibiotics can kill the bacterias that are good and useful for the body resulting in unchecked growth of bacteria like Clostridium difficile in the body.

To learn more about Clostridium difficile, click here:

https://brainly.com/question/13552507

#SPJ4

let's now extend our build system to handle task dependencies. suppose we have the following tasks: cook

Answers

The ways you can define task dependencies are:

By studying how the tasks depend on each other.Categorizing dependencies into 4 types.

These four types into which a dependency is categorized are known as:

Finish to Start, Finish to Finish, Start to Start,  Start to Finish

What are Task Dependencies?

This refers to the order in which tasks must be performed and is the relationship that a task or milestone depends on other tasks to be performed (completely or partially) before it can be performed.

Hence, we can see that The ways you can define task dependencies are:

By studying how the tasks depend on each other.Categorizing dependencies into 4 types.

These four types into which a dependency is categorized are known as:

Finish to Start, Finish to Finish, Start to Start,  Start to Finish

Read more about task dependencies here:

https://brainly.com/question/14337598

#SPJ1

ou're installing network wiring for a new ethernet network at your company's main office building. the project specifications call for cat 5e utp network cabling and rj45 wall jacks. near the end of the project, you run out of wire before the last few runs are complete. you have a spool of cat 3 network cable in storage. upon closer inspection, it appears very similar to the cat 5e wiring. to finish the project, should you use the cat 3 cabling as a substitute for the cat 5e cabling?

Answers

No. Cat 5e cabling has more twists per inch than Cat 3 cabling, reducing cross-talk and supporting higher data rates.

While Cat 3 and Cat 5e cabling may appear similar physically, they are electrically different. Cat 5e cabling is twisted much tighter than Cat 3 cabling. This reduces cross talk and enables Cat 5e wiring to support much faster data transmission rates.

If you're looking to upgrade your home network, you may be wondering if you should go with Cat 3 or Cat 5e cabling. While Cat 3 cabling is less expensive, Cat 5e cabling offers a number of benefits that make it worth the extra investment.

Cat 5e cabling has more twists per inch than Cat 3 cabling, reducing cross-talk and supporting higher data rates. This means that Cat 5e cabling can handle more data traffic, making it ideal for homes with multiple devices connected to the internet.

In addition, Cat 5e cabling is also more durable and easier to work with than Cat 3 cabling. So, if you're considering upgrading your home network, Cat 5e cabling is the way to go.

Learn more here:

https://brainly.com/question/28402675

#SPJ4

First time using this site so be mindful if I make any mistakes
For Micro Econ AP I am having a problem with this one question
It goes:
In what ways do households dispose of their income? How is it possible for a family's persoal consumption expenditures to exceed its after-tax income?

Answers

Answer:

Okay... Well

I will. help you out dear

Other Questions
During camp, a simple way to estimate the height of a cliff is to drop a stone from the top and hear the splash when it hits the water below. The stone takes 3.6 seconds to drop. Assume sound speed is infinite. The height of the cliff is ___ meters. The most commonly used conductor in the laboratory is? Which of the following accurately demonstrates the cosmopolitan nature of Tang China? company a has a beta of 0.70, and company b's beta is 1.20. the required return on the stock market is 11%, and the risk-free rate is 4.25%. what is the difference between a's and b's required rates of return? (hint: first find the market risk premium, and then find the required returns on the stocks. Thesis & OutlineWhere and how does the Big Bang Theory not match creation as told in the Bible. Easy do people put too much emphasis on learning practical skills an open systems view argues that your customers have options. they can, and will, buy from your rivals if you dont meet their needs efficiently and effectively. Attach evidence of the organisation's involved in the community,this could be photographs,pictures,pamphlets,brochures,articles etc if a beneficiary is enrolled in a ma-only hmo and they also sign up for a pdp plan, they will be automatically dropped from their ma plan. The line y=kx+4 goes through the point (2,-2)Sketch the graph the linePlease write it step by step What can cause a stress factor some jobs pay a commission plus a bonus at the end of the year. the bonus may be a percent of the salesperson's total commission. madelyn carr is a sales representative for a luxury home builder. she receives 7% commission on all sales. at the end of the year, she receives a bonus of 5% of her commission. what is her gross pay for a year in which she had sales totalling $412,454? How many solutions does this question have?17h - 7 = 10h - 2 + 7h answer me in true or false english grammar Bare infinitive is used with help Cell membranes allow some molecules to move freely across the membrane, while other molecules are restricted. Which term best describes this capability of a cell membrane?. 50 points! Which statement best explains the text's use of dramatic irony?Mariah sold her guitar and took the money from the music-shop owner.She then cheerfully headed to the garden shop next door, where theowner recognized her. "I set the hammock aside for you," she toldMariah. "Your mother is going to have such a wonderful birthday with athoughtful daughter like you."When she got home, Mariah's mother handed her a box. "I saw it andcouldn't resist!" she told her. "It's a guitar stand for you." What does juxtapose mean? What kind of numbers are 5 and 7? Directions: There are ten grammer mistakes in the passage below, look for mistakes in capitalization, punctuation, spelling, and incorrect usage of words or phrase. Find and fix mistakes in the ten spaces below the passage.Edgar Rice Burroughs is born in September 1 1875, in Chicago, Illinoi. As a seller of pencil sharpners, he was always looking through magazines to spot adds for his products. He read many storys in those magezines and knew that he could writ even better ones. So he started to write his own fictional tails. Some of his famous works include Tarzan of the apes and The Land That Time Forgot. the cities portland, oregon; tacoma, washington; and seattle, washington, in respective order, lie approximately in a straight line. the distane from portland to tacoma is 120 miles. the distance from portalnd to seattle is 145 miles. find the distance from tacoma to seattle.