1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
xz_007 [3.2K]
3 years ago
10

Functions that do not return values _________.

Computers and Technology
2 answers:
ASHA 777 [7]3 years ago
6 0

Answer:

Functions that do not return values do not have return statements.

Explanation:

Lets take an example of a function in Python

def FunctionName(arguments)

function body  

The function that do not return value does not need to have a return statement.

It works the same as void function C++

The function that do not return values and has no return statements will end when the program control reaches end of the function body. This works same as void but in Python None is returned when such a function ends successfully. None is a special value which is returned in functions that do not have return statements.

Lets take an example of a few functions that have return values and that do not have return values.

def addition(x,y):

   a = b + c

summ = addition(1,2)

print(summ)

This function has no return values so there is no need to have a return statement. This will print None in the output

Another example is of the function that has a return statement and return values.

def addition(x,y):

   a = b + c

   return a

summ = addition(1,2)

print(summ)

Now this will give 3 as output and here return c is written which means that the function returns values.

seropon [69]3 years ago
3 0

Answer:

Do not have return statements.

Explanation:

In programming, a function is a block or group of program statements, specifically written to execute a given task. It is defined in any point of the program and called upon to interrupt the normal program flow.

Functions have locally defined variables and can also use global variable as well. When it is called, it may or may require an argument and a return statement of the needed parameter is defined. The return void statement returns a 0 value.

If a function is defined, but not called, it will not be executed and if a return statement is not defined in the function, it executed function would not return any value to the normal program flow.

You might be interested in
What information will she need to know in order to obtain assistance from the chief medical officer to reduce the number of deli
Serga [27]

The information that she need to know in order to obtain assistance from the chief medical officer to reduce the number of delinquent records is the Discharge Record Assembly .

What is  an incomplete health record or a delinquent health record?

An  incomplete health record is one that is often open after a set period of time such as more than 30 days and if not complete, the health record is said to be delinquent.

Note that Nurses are mandated to carefully maintain patient records. Therefore, The information that she need to know in order to obtain assistance from the chief medical officer to reduce the number of delinquent records is the Discharge Record Assembly .

Learn more about chief medical officer from

brainly.com/question/18696862

#SPJ1

6 0
1 year ago
Which process could you use to add a table to a document?
Lady_Fox [76]
These are the steps you would take..

click on insert at the bar on the top of the document  processor (Word,Google Docs ect.) >>Click table drag as many columns and rows as you need!
I hope this helps!
6 0
3 years ago
You must keep track of some data. Your options are: (1) A linked-list maintained in sorted order. (2) A linked-list of unsorted
ladessa [460]

Answer:

Question was incomplete and continued the question

For each of the following scenarios, which of these choices would be best? Explain your answer.

BST

Sorted Array

Un-sorted Array

a) The records are guaranteed to arrive already sorted from lowest to highest (i.e., whenever a record is inserted, its key value will always be greater than that of the last record inserted). A total of 1000 inserts will be interspersed with 1000 searches.

b) The records arrive with values having a uniform random distribution (so the BST is likely to be well balanced). 1,000,000 insertions are performed, followed by 10 searches.

Explanation:

Answer for a: Un-sorted array or Un-sorted linked list : as mentioned in the question itself that the records are arriving in the sorted order and search will not be O(log n) and insert will be not be O(n).

Answer for b : Un-sorted array or Un-sorted linkedlist : Number of the items to be inserted is already known which is 1,000,000 but it is very high and at the same time search is low. Unsorted array or Unsorted linked list will be best option here.

7 0
3 years ago
While building a high-end gaming system, you are attempting to install the EVGA GeForce GTX 1080 graphics card and discover ther
polet [3.4K]

Answer:

I will use a riser card to install the card parallel to the motherboard.

Explanation:

If you attempted to install a GPU like this and it stands tall, then this means that you do not have enough room for the card. Instead of purchasing a new case that will allow the GPU to seat comfortably, you can buy a riser card. A riser card seats at a right angular position and is built to extend a motherboard slot. I expect a motherboard that supports an EVGA GeForce GTX 1080 graphics card to support a riser card because not all boards support a riser card. Once it is installed, the card will rest on the motherboard and will rotate the GPU to seat parallel with the motherboard.

5 0
4 years ago
Q10: You cannot rename a compressed folder.
user100 [1]
<h2>Answer:</h2><h2>Oh yes you can. </h2>

Click slowly twice the folder.

Right click and choose rename.

4 0
3 years ago
Other questions:
  • After several incidents in __________ the company’s computer systems were not ready to support new products, the CEO established
    12·1 answer
  • The set of specific, sequential steps that describe exactly what a computer program must do to complete the work is called a(n _
    14·1 answer
  • How will you create an email id
    11·1 answer
  • Can multiple processors can be installed in a single processor housing?
    14·2 answers
  • What is the model for 2017 Ford Mustang v6
    15·1 answer
  • Create a function called is_list_empty that takes a single argument of type list. Your function should return True if the list i
    7·1 answer
  • Hello Answerers it would be great if you could answer this:
    12·2 answers
  • or each array created, the name of the array becomes the name of the pointer constant created by the compiler for the array, and
    6·1 answer
  • Which of the following items in the folder window allows users to view locations which have been visited before?
    6·1 answer
  • allows users to enter text and control the computer with their voice.allows users to enter text and control the computer with th
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!