Write a local function named maxvalue that returns the maximum of two inputs numa and numb.

Answers

Answer 1

Final answer:

The task is to write a function called maxvalue which determines the larger of two numbers, numa and numb. This Python function uses an if-else statement to return the greater number.

Explanation:

To write a local function named maxvalue that returns the maximum of two inputs numa and numb, you can use the following code in Python:

def maxvalue(numa, numb):
   if numa > numb:
       return numa
   else:
       return numb

This function takes two parameters, numa and numb, and uses a simple if-else statement to determine which of the two is greater. If numa is greater than numb, it returns numa; otherwise, it returns numb. You can call this function with two numbers to get the maximum value.


Related Questions

which one of the following is true about employer responsibility in providing fall protection to workers

Answers

​The answer is: Employers have flexibility in choosing a fall protection system they believe will work best in a situation

Even though the employers have the flexibility to choose the system, the implementation of that system need to follo the safety regulation that created by the Government. Otherwise the employers shall be subjected for all liabilities that occurs to the employees because of the violation.


To add color to the entire background of a page, users will select the _____ feature.

Shading

Page Color

Watermark

Background

Answers

Its the Shading Feature (Hope this helps)

shading is the correct answer i hope this help you out

Why is the protocol down, even though you issued the no shutdown command for interface vlan 99?

Answers

At least one device needs to be assigned to a Vlan 99 to bring the protocol up. Assuming that the Status is UP and the protocol is DOWN may mean that there are no ports assigned to Vlan 99 and thus no host assigned to this Vlan.






Answer and explanation:

The protocol of a management interface with VLAN 99 could be "down" because there are no ports assigned to it, meaning there are no hosts assigned to that interface. In this case, the status of the interface can be displayed as "up" regardless of the protocol.

Given the code below, what would output to the Console Window?

Think carefully on this one...it is tricky!
1
string a = ”10”;
2
string b = “20”;
3Console.WriteLine(a+b+5);
C#

35

"10205"

10+20+5

Answers

If you run the code, you can see it will output 10205
Output of the window will be: "10205"Explanation:

We can not add String values mathematically because String values can only be used as they are. we have "10" in string a and "20" in string b. We can not add these values so 35 is the wrong answer.  '+'  sign is used for concatenation in c# so 10+20+5 is also the wrong answer.


So Console. Write line (a+b+5) will print "10205" .

You need a method to remotely manage a few servers from any client within the enterprise. you want to avoid any method that requires additional client software except a web browser. what will you use? give an outline of tasks.

Answers

The answer is to use Windows PowerShell Web Access

Also known as a PowerShell Web Access, it is featured in windows servers 2012. It acts as gateway that connects to a remote PC or any other device in your environment.


Below is a brief outline of how you can install PSWA

1.       You are required to install and configure the IIS

2.       Install and configure the Windows PowerShell  web access feature

The remaining steps define and configure “authorization rules” and include;

1.       Configuring the IIS gateway.

2.       Creating restrictive authorization rules.






When studying an information system, illustrations of actual documents should be collected using a process called _____.
a. âstratification
b. ârandomization
c. âindexing
d. âsampling?

Answers

When studying an information system, illustrations of actual documents should be collected using a process called sampling. Correct answer: D
This process systematically selects representative elements of a population with the goal to get representative and useful information about the population as a whole and it is useful when data sets that are too large to efficiently analyze in full.

what is the correct process for inserting a blank worksheet in Google sheets

Answers

Depending on what you would want to achieve, you can create a new spreadsheet in your Google sheets or import and already existing blank or old spreadsheet to Google sheets. To create a new spreadsheet, you will click on the new spreadsheet option from the Sheets Homepage. Assuming that you already have a G suite account, from your Google drive, you will click New - Google Sheets - Blank spreadsheet.

To import, go to Drive, click New and then file upload. Choose your already existing spreadsheet from your PC and add it to the drive. While in drive, right click the spreadsheet you would like to convert and the select open with Google sheets  




what is the first step you would take when troubleshooting an external network, such as an internet connection issue?

Answers

Answer: Define the problem

Explanation:

The first step to troubleshooting an external network, such as an internet connection issue, would be to determine whether the issue is localized to your own device or if it is affecting multiple devices on the network.

Here are some actions you can take:

Troubleshooting to check to see if the problem affects multiple devices: Check to see if other network devices are experiencing the same problem. If the problem only affects one device, the issue may be with that device.

Examine the physical connections: Check to ensure that all cables and connectors are properly plugged in and are not damaged. Check that your modem and router are turned on and that you have a stable connection.

Restart your devices: Restart your modem, router, and any problematic devices. A simple restart can sometimes resolve connectivity issues.

Examine for firmware updates: Check to see if your modem or router has any firmware updates available. Firmware updates frequently fix bugs and improve performance.

For more details regarding troubleshooting, visit:

https://brainly.com/question/30048504

#SPJ7

In one to two sentences, describe one method for launching or opening a program.

Answers

There are a few ways to launch or open a program. One way is to go into your applications on the computer and double click the icon for the program you wish to open. Another way to launch a program is by clicking the photo of the prgoram you wish to load from your desktop screen. Launching prgrams can also vary based on the type of computer or program software you have.

Launching a program implies that one wants to start the program. One method of launching a program is to launch from the start menu

There are several ways to launch a computer program. Some of them are:

Launch the application from the start menuLaunch the application from its installation folderLaunch the application from the desktop shortcut

Of these three ways, launching a program from the start menu is the easiest, and it saves time.

To launch a program from the start menu, you follow the steps below

Click the windows button on your keyboard or select the windows icon on the screenType the program nameClick the program icon.

Read more about computer programs at:

https://brainly.com/question/3133108

You have dinner with your family and tell them that you have taken bcis. your mother tells you that she is proud of you and that now you can help her get her database of recipes set up betterâ because, as it has gottenâ larger, it seems to have gotten more difficult to use. she shows you herâ database, and you realize that she is using a spreadsheet. what should you tellâ her?
a. â"stick with your spreadsheet list because it is too expensive to set up and manage aâ database."
b. â"you should switch to a database only if you want to share your recipes with other people across theâ web."
c. â"don't worry about trying to use a database because they have to be created by professional people and you will need them to keep itâ running."
d. â"i'll show you how to set up a simple database with one table calledâ 'recipes.' you'll be able to manage it and run simple queries on it to find specific recipes very quickly and easily. all you need is some rudimentary knowledge of access to get the jobâ done."
e. â"keep itâ simple, mom. there is no need for a real database here. you probably just need to learn how to use the spreadsheet data filterâ properly, and things will go much moreâ smoothly."

Answers

The answer is (D) I'll show you how to set up a simple database with one table called 'recipes.' You'll be able to manage it and run simple queries on it to find specific recipes very quickly and easily. All you need is some rudimentary knowledge of access to get the job done.

Spreadsheets are not bad for number crunching. However, if you have lots of data, you may benefit from efficient data management tool. Replacing spreadsheets with databases help you manage data centrally, safely and securely. By employing a database, you can avoid making mistakes like miscounts and data entry errors.

Learning Access can be a little bit daunting and intimidating. Through self-dedication, one can conquer and learn to create simple but functional database.


Which of the following is the Boolean logical operator for OR in C#?

||

|

<>

&&

&

Answers

This would be &&

Hope this helped
The answer to that  is  ||

Which three of the following expenses can student aid cover?

Answers

wrong, its (tuition, school supplies, boarding/housing) your welcome

Answer:

tuition, school supplies, boarding/housing

Explanation:

just took the test

A cpu with an external clock speed of 2 ghz and a 64-bit data bus can (theoretically) transfer how much data per second?

Answers

The CPU could cycle the bits 2000000000 a second. That means theoretically it could process 16 gigabytes of data a second.

Final answer:

A 2 GHz CPU with a 64-bit data bus can theoretically transfer 16 gigabytes of data per second by multiplying the clock speed by the number of bits per clock cycle and converting the result from bits to bytes.

Explanation:

A CPU with an external clock speed of 2 GHz and a 64-bit data bus can transfer data at a theoretical maximum rate, often referred to as the memory bandwidth. To calculate this, we multiply the clock speed by the number of bits transferred per clock cycle.

Since there are 2 billion cycles per second (2 GHz) and 64 bits are transferred each cycle, we compute the transfer rate as follows:

2,000,000,000 cycles/second × 64 bits/cycle = 128,000,000,000 bits/second

Now, since there are 8 bits in a byte, we divide the total number of bits by 8 to convert it to bytes:

128,000,000,000 bits/second ÷ 8 bits/byte = 16,000,000,000 bytes/second

Therefore, the CPU can transfer 16 GB (gigabytes) of data per second. This is a theoretical maximum; real-world factors often lead to lower actual transfer rates.

A nidps sensor that sits off to the side of a network segment, monitoring traffic without mandating that the traffic physically pass through the sensor, is known as a(n) ____.principles of incident response and disaster recovery

Answers

Is known as passive sensor

An NIDPS looks for indications of successful attacks while residing on a PC connected to that network. The NIPDS can be installed to monitor all traffic between systems on a network. 

A passive sensor examines copies of traffic on an entire network with no actual network passing through the sensor. Passive sensor is unlike inline sensor. Traffic on Inline sensor must pass through the sensor.






Lisa adds her co-worker Renald to a meeting and removes her secretary Olivia from the meeting. What will happen as a result?

Answers

There will be 1 person going, and there will be no secretary at the meeting

Group of answer choices:

A) Only Renald will receive a message about the meeting change.

B) Only Olivia will receive a message about the meeting change.

C) Both Renald and Olivia will receive a message about the meeting change.

D) Neither Renald or Olivia will receive a message about the meeting change.

Answer:

The correct answer is letter "C": Both Renald and Olivia will receive a message about the meeting change.

Explanation:

In the case Lisa, Renald, and Olivia have set automated notifications on meetings and there are changes in a particular appointment, those who will be affected by the change will be notified. If Lisa removes Olivia and adds Renald to the meeting, both Renald and Olivia should be notified by a message about the change.


To add the word "confidential" to the background of a page, users would need to _____.

use the Page Color option

insert a watermark

layer the text behind the background

modify the page theme

Answers

Answer:

insert a watermark.

Explanation:

Adding a watermark is adding something to the background of an image or document. With a watermark, you should be able to still see everything in the photo or document.

Modifying the page theme would not be beneficial nor would it add confidential to the background, it would just change the theme.

using the page color option would just change the color of the page in which you most likely would not want to do in this situation.

Layering the text behind the background would make it where you won't be able to see what you wanted to add to the background because it would be BEHIND the background

To add the word “confidential” to the background of a page, users would need to insert a watermark. The correct option is b.

What is editing?

Editing is adding something to pre-existing data and correcting the data if there is any mistake.  A watermark is something that is added to an image or document's background. You ought to be able to still see everything in the image or document, even with a watermark.

The page theme might be changed, however, that would not improve the situation or add secret information to the background.

If you layer the text below the backdrop, you won't be able to view the background elements you meant to include because they will be hidden by the background.

Therefore, the correct option is b, insert a watermark.

To learn more about editing, refer to the link:

https://brainly.com/question/21263685

#SPJ2

Assume we have an isolated link (not connected to any other link) such as a private network in a company. do we still need addresses in both the network layer and the data-link layer? explain.

Answers

No, in an isolated network the devices will still be able to communicate. The frames will still be forwarded through the switch without a layer three device.

An isolated network is the devices which will be able to communicate. The frames are forwarded through the switch without a layer three device.

What is network ?

A computer network is  a group of computers where all the resources like software, hardware and other computing resources such as operating system, database can be shared with each other .

The network where computers are connected to each other through a communication channel with each computer having its own network.

The computer transmits data for others and transmitted in the form of data packets. Each computer act as a receiver of the data packet where these packet contains the addresses of the sender and the receiver.

The actual recipient receives the packet on the basis of these packets and  the other computers reject the packet since the address does not matches with specific address.

For more details regarding network, visit

brainly.com/question/13105401

#SPJ2

Occurs when the same data are stored in multiple places
a. data isolation
b. data integrity
c. data consistency
d. data redundancy
e. application/data dependence

Answers

d. Data redundancy. This means the data is located in multiple places when it isn't necessary to do so.

IN POWERPOINT: What do you click to create a new presentation in Normal view? A. Blank Presentation B. Layout C. Section D. New Slide

Answers

i believe it's A or D. for a new presentation it would probably be either blank presentation or D. 
I would assume blank presentation

What is the main purpose of cutting plane line arrows?
A.
To show which direction the sectional view is looking in
B.
To show where the cutting plane cuts through the object
C.
To show only part of a sectional view
D.
To point to the cutting plane line

Answers

The answer is (A)

The arrows themselves on the end of the line are used to indicate the direction of the sight for the section view and from which direction it is viewed in. These lines look like 2 perpendicular lines with arrows and are drawn at the end of the line.

 

 






Final answer:

The main purpose of cutting plane line arrows is to indicate the direction from which a sectional view is observed, allowing for a clear understanding of internal features in technical drawings.

Explanation:

The main purpose of cutting plane line arrows is to show which direction the sectional view is looking in. When a cutting plane is used in a technical drawing, it slices through an object to reveal internal features that may otherwise be hidden. The arrows on the cutting plane lines indicate the viewpoint from which the interior is to be observed after the 'cut' has been made.

These arrows allow someone viewing the drawing to understand from which perspective the section is taken, providing clarity and helping to avoid confusion when interpreting the sectional view. It is essential in engineering and architectural drawings to convey complex three-dimensional structures on two-dimensional media.

When the Clipboard dialog box launcher is clicked, the Clipboard displays in _______ view. A. shortcut menu B. dialog box C. window D. task pane

Answers

Answer:

B. dialog box

Explanation:

Clipboard is a feature of the operating system to which a small amount of data is sent and later transferred. This is where text, images, and files that are duplicated or moved through the Copy (Ctrl + C) and Cut (Ctrl + X) commands in programs such as Microsoft Word and Windows Explorer, for example.

How can the concept selection methods be used to benchmark or evaluate existing products? Perform such an evolution for five automobiles you might consider purchasing.

I hope some body can help me... thank.

Answers

you would have to put 22/7 as pi or you can use 3.14 or 3.14159 as a sub and multiply by 5. hope it helps.

Given positive integer numinsects, write a while loop that prints that number doubled without reaching 100. follow each number with a space. after the loop, print a newline. ex: if numinsects = 8, print

Answers

Hi,

the program is as follows
___________________________________________________________


import java.io.*;
class doubleval

  {
     public static void main()throws IOException   
     {

       DataInputStream dt=new DataInputStream(System.in); 

System.out.println("Enter NUMBER WHOSE DOUBLE U WANT TO                                           PRINT");       
            int n=Integer.parseInt(dt.readLine()); 

                  for(int i=n;i<=100;i=2*i)       
                    {           
                         System.out.println(i);       
                            }   
            }
}


           

Answer: while(numInsects < 99) {

printf("%d ", numInsects);

numInsects = numInsects * 2;

}

printf("\n");

Explanation:

What can be determined from this selection? Check all that apply. The Tax Info worksheet is currently being viewed. There are three worksheets. "Tax Info" will be printed. A chart was made in worksheet 2. Another worksheet can be created.

Answers

Hello!

I believe your answers are . . .  . . . . .  . .

=
There are three worksheets.
=
The Tax Info worksheet is currently being viewed.

Hope this helps!
~Have an awesome day~
Final answer:

Federal income taxes are progressively assessed based on taxable income, with additional responsibilities such as property and sales taxes. The IRS oversees tax law administration and collection, while politics can significantly influence these laws.

Explanation:

Federal Income Taxes Assessment

Federal income taxes are assessed based on an individual's taxable income. The U.S. government uses a progressive tax system illustrated in the 2010 Tax Rate Schedules. For example, if your taxable income is $20,000, you would owe $837.50 plus 15% of the amount over $8,375, resulting in a total of $2,581.25 in federal income taxes. This system ensures that as an individual's income increases, they pay more in tax, both in absolute amounts and as a fraction of their income.

Other Types of Taxes

Aside from federal income tax, individuals may also have to pay state income taxes, property taxes, sales taxes, and payroll taxes, among others.

Internal Revenue Service Function

The main function of the Internal Revenue Service (IRS) is to administer the tax laws enacted by Congress and to collect taxes in a manner that promotes compliance with the tax law and respect for the American system of voluntary tax compliance.

Political Influence on Tax Laws

Politics can significantly influence tax laws as legislators and administrations have the power to make changes to the tax code. These changes can have profound effects on the economy and are often a reflection of the political priorities of those in power.

Norman plans to enter business as a freelance DTP publisher. His DTP setup is a non-Apple Macintosh platform. He has several options for printers. Which type of printer would you recommend to him?

________ printers are ideal for DTP projects that work on a non-Apple Macintosh platform.

fill in the blank

Answers

The answer is an Inkjet or a deskjet printer like a HP printer.

A number of printers could work. However, the best I’d recommend is the Deskjet HP printers. The Inkject and the Deskjet printers are of the same type and are compatible with most windows platforms. 

The HP 2510, for example, can print in black and color. You only need to connect using a USB cable to your PC and wait for the PC to recognize it. These printers deliver minute details of the color images and are best for DTP.






laser is the answer.


hope this helps

Proxy manipulation occurs when a false dhcp server that can provide ip address configuration leases for a unique subnet and define the default gateway because the hacker's computer acts as a mitm router/proxy.

Answers

True. A hacker in proxy manipulation may host a false proxy server or better known as a rogue DHCP and is able to modify the proxy settings on a client to redirect traffic to another system. The hacker is able to reconfigure a client’s proxy configuration.




how do you add notes from google keep into a google doc?

Answers

Copy the note from Google Keep (Highlight the note, hit Ctrl + C) then open a new doc and hit Ctrl + V.
There you go, if this answer was not of use, please elaborate on your question so I can fix any mistakes.

Answer:

Copy and paste by

Copy

Control and C

Paste Control and V

Explanation:

If That doesn't work take a screen shot and put the image in to your doc

You want to create a database for the various product categories in your business which office 2007 application with you launch to accomplish this

Answers

Many applications actually can do this thing, but the most optimum is Microsoft Access 2007

Pictures found on the Internet that do not have copyright symbols may be legally used in your presentation.

True
False

Answers

False is your answer because it is still plagiarism if you don't put a citation
Hope this helps:D
Have a great rest of a brainly day!

false it's like saying it's yours if you use it in your presentation it's wrong and stealing technically so don't use anything with the copy-write symbol on it

IT'S WRONG ФДФ

so the answer as said before is false

from your pal, paps

p.s. sans stole your ketchup

In drafting, what do the numbers inside balloons tell you about a part? A. The number of materials required to make the part B. The amount of time it took to design the part C. The date the part was designed D. The item number for the part

Answers

The answer is (D) The item number for the part

BOM (Bill of Materials) is an important function of assembly drawings. Balloons identify an item listed in the Bill of materials. In an example of an inventor balloon, the balloon is always configured to show the ITEM number of parts list.

 




Other Questions
What did Rosie the Riveter represent? A.The role of women in the American war effort B.A march on Washington to push for women's rights C.A call to join labor unions during the war D.A symbol of women in their traditional role In the 1980s, the united states sent bombers to attack ________ in a failed attempt to kill colonel muammar el-qaddafi, in retribution for his country's support of terrorism. The government of the united kingdom is an example of which type of monarchy? What does the last sentence suggest about Father Pauls attitude and motivation? He is inspired by Leons interest in holy water and is willing to go to the burial. He has given up on a Christian burial but wants to observe a traditional Pueblo burial. He sees compromise as the only way to perform the Catholic burial. He has decided to adopt the practices of the Pueblo to make them trust him. Sal can mop a certain floor in 8 minutes by himself.If Sal and ben can mop the floor together in 6 minutes,how long does it take Ben to mop the floor alone? Fahrenheit Why did people in this futuristic society start burning books Help please ...........MATH Behavior modification is a training method that is primarily based on _____.a. information processing theoryb. expectancy theoryc. reinforcement theoryd. goal setting theorybehavior modification is a training method that is primarily based on _____.a. information processing theoryb. expectancy theoryc. reinforcement theoryd. goal setting theory Which of the following artist was an American painter and printmaker who was awarded the legion of honor in France and Exhibited work with impressionist The surface area of a cube is 150 cm2. what is the area of each face of the cube? Aerobic exercie is sometimes known as___________ exercise that requires pumping of oxygenated blood by the heart to dleiver oxygen to working muscles Canada has struggled to develop a single national identity because____. A) many people do not think of themselves as Canadians B) the native population has remained strong C) It has cut ties to Great Britain D) It is small with little diversity After watching an advertisement for hand sanitizer on television, Ben decided to see just how effective the advertised hand sanitizer really was. Ben used warm water as his control. He compared the advertised sanitizer with two brands of hand soap. In all four trials he rubbed his hands together for two minutes. After using the three products and the control, he cultured the bacteria on his hands. He recorded the number of bacterial cultures that appeared on each culture plate. Ben's results can be seen in the data table. Ben concluded that both brands of soap were more effective in killing bacteria than the advertised hand sanitizer. What term BEST describes Ben's results for all four trials? A) biased B) inconclusive C) qualitative D) quantitative ASAPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP Which statement best explains the role of weathering and erosion in the rock cycle?A. Rocks melt by this process.B. Molten rocks solidify by this process.C. They change the mineral composition of rocks.D. They break rocks and transport them to new locations. Given: ABCD is a rectangle, AC BD = O, mABD=30, AC=16 in. Find BC.I need the answer to this question ASAP! Thanks! I need help on question #84 ! The silk road split into a northern route and a southern route. what was one advantage of taking the northern route? Instructions: Select the correct answer. If the radius of a flying disc is 7.6 centimeters, what is the approximate area of the disc? A. 23.864 square centimeters B. 90.6832 square centimeters C. 181.3664 square centimeters D. 238.64 square centimeters Franklin has been convicted of a misdemeanor. Which of these would he MOST likely have been convicted of committing?a) arsonb) murderc) assaultd) grand theft auto What are Gregor Mendel's four basic principles of genetics?