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
fiasKO [112]
4 years ago
11

Which sentences in the passage correctly describe a function?

Computers and Technology
1 answer:
quester [9]4 years ago
8 0

Option D is correct.

Explanation :

  1. In option A, it is not mandatory that a function will have arguments and it will return a value.
  2. In option B, no formula begins with =.
  3. In option C, it is not necessary to begin with /.
  4. In option D, MAX function should return maximum value in the set given.

Thus, option D is correct because arguments of a function are always enclosed within parentheses

Example:

SUM (30,70)

You might be interested in
Using a script (code) file, write the following functions:
vagabundo [1.1K]

Answer:

def func1(x):

   return (x-32)*(5/9)

def func2(x):

   return (x/2.237)

def main():

   x = ""

   while x != "x":

       choice = input("Enter 1 to convert Fahrenheit temperature to Celsius\n"

                      "Enter 2 to convert speed from miles per hour to meters per second: ")

       if choice == "1":

           temp = input("please enter temperature in farenheit: ")

           print(func1(float(temp))," degrees celcius.")

       elif choice == "2":

           speed = input("please enter speed in miles per hour: ")

           print(func2(float(speed))," meters per second")

       else:

           print("error... enter value again...")

       x = input("enter x to exit, y to continue")

if __name__ == "__main__":

    main()

Explanation:

two function are defines func1 for converting temperature from ferenheit to celcius and func2 to convert speed from miles per hour to meters per second.

5 0
3 years ago
To what extent are the following computer systems instances of artificial intelligence:
ss7ja [257]

Answer: Supermarket bar code scanners and Voice-activated telephone menus are not instances of artificial intelligence

Explanation:

(a)Supermarket bar code scanners are only able to read the code however they are not able to perform any kind of machine learning techniques to be able to learn a sequence from the codes. As machine learning is a important part of artificial intelligence (AI) so they are not instances of AI. Similarly for Voice-activated telephone menus they could only display and cannot perform any intelligent task.

Web search engines and Internet routing algorithms are very dynamic and intelligent in processing and retrieving information to the end user.

So they are instances of AI.

8 0
3 years ago
What do you need to know?
steposvetlana [31]
Uhhh thanks for asking... but I think I know everything. Lol jk
3 0
3 years ago
Read 2 more answers
Can someone tell me why this keeps exiting no matter what move and how I can fix it I honestly hate this class... you guys can h
velikii [3]

Answer:

Something like this?

The only requirement this doesn't exactly hit is moving the user to the "exit" room. It doesn't make use of that entry in the dictionary. However, this is the best way of doing it to avoid multiple "if" statements.

7 0
2 years ago
Do all light bulbs server a practical purpose?
Greeley [361]

Answer:

A light bulb produces light from electricity

6 0
4 years ago
Other questions:
  • Excel 2016 is primarily what type of program?
    15·1 answer
  • How many steps are there on Mail Merge Task Pane? List them.​
    9·1 answer
  • According to the video, what are some hazards Stationary Engineers may face? Check all that apply. noise, hazardous materials, d
    7·2 answers
  • Given the following code, what are the dimensions, in pixels, of the shape created? import tkinter class myShape: def __init__(s
    6·1 answer
  • Which task should happen during the planning stage of a project? reflect on the project outcomes prevent set-backs determine the
    11·1 answer
  • Num = int(input("Enter a number: "))
    13·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    5·1 answer
  • Which of these describes, in increasing order, the file sizes of the same image in different formats? Group of answer choices
    6·1 answer
  • An informative presentation can be used for conducting a classroom discussion.
    6·1 answer
  • Draw the following diagrams to represent the information system chosen in assignment 1 Context diagram The context diagram is ex
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!