What is the output?
def divide(numA, numB):
return numA / numb
answer = divide(21,3)
print (answer)
There are no errors but there will be no output.
An error occurs.
7.0
21,3
The divide( ) function calculates 21 divided by 3.
The print statement puts it on the screen.
Since the division operator returns a float, the output is printed as 7.0 in stead of just 7.
Answer from: Quest
1. b
2. c
3. b
4. a
5. b
Answer from: Quest
You can not do so.unless you open another tab in your browser.because you can have up on different tab up to six tabs.i hope this
Another question on Computers and Technology
Computers and Technology, 23.06.2019 15:00
1. which of the following statements are true about routers and routing on the internet. choose two answers. a. protocols ensure that a single path between two computers is established before sending packets over it. b. routers are hierarchical and the "root" router is responsible for communicating to sub-routers the best paths for them to route internet traffic. c. a packet traveling between two computers on the internet may be rerouted many times along the way or even lost or "dropped". d. routers act independently and route packets as they see fit.
What is transmission control protocol/internet protocol (tcp/ip)? software that prevents direct communication between a sending and receiving computer and is used to monitor packets for security reasons a standard that specifies the format of data as well as the rules to be followed during transmission a simple network protocol that allows the transfer of files between two computers on the internet a standard internet protocol that provides the technical foundation for the public internet as well as for large numbers of private networks
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)