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
Artemon [7]
3 years ago
11

Which statement will call this module and pass 12 as the argument?

Computers and Technology
1 answer:
WITCHER [35]3 years ago
6 0

Answer:

Call showValue (12)

Explanation:

The function is a block of the statement which performs the special task.

if you define the function, then you have to call that function.

Then, program control moves to the function and start to execute otherwise not execute the function.

the syntax for calling the function:

name(argument_1, argument_2,....);

we can put any number of arguments in the calling.

check the options one by one for finding the answer:

Call showValue( Integer): this is valid calling but it passes the variable, not the 12. this is not correct.

Call showValue( Integer 12): This is not valid calling, because it passes the data type as well which is incorrect.

Call showValue( Real): this is valid calling but it passes the variable, not the 12. this is not correct.

Call showValue (12): this valid calling and also pass the value 12.

Therefore, the correct answer is option b.

You might be interested in
Assume that your body mass index (BMI) program calculated a BMI of 20.6. What would be the value of category after this portion
vladimir1956 [14]

Answer:

normal is the answer

8 0
3 years ago
Read 2 more answers
Last month Joe purchased some stock in Acme Software, Inc. Here are the details of the
fiasKO [112]

Shares_Purchased = 0.0

Amt_PaidPerShare = 0.0

Commission_Percentage = 0.0

Paid_WithoutCommission = 0.0

Commission_Paid = 0.0

Total_Paid = 0.0

Shares_Sold = 0.0

Amt_SoldPerShare = 0.0

Sale_Amount = 0.0

Earned_WithoutCommission = 0.0

Commission_PaidSale = 0.0

Total_Earned = 0.0

ProfitNoProfit = 0.0

#calculation starts from here

Shares_Purchased = float(input("How many shares did you purchase? \n "

"enter in 0.0 form: "))

Amt_PaidPerShare = float(input("How much did you pay per share? \n"

"enter in 0.0 form: "))

Commission_Percentage = float(input("What percentage is your stockbroker \n"

"Charging per transaction? enter in 0.00 form: "))

Paid_WithoutCommission = Amt_PaidPerShare * Shares_Purchased

Commission_Paid = Paid_WithoutCommission * Commission_Percentage

TotalPaid = Commission_Paid + Paid_WithoutCommission

Shares_Sold = float(input("How many shares did you sell? \n "

"enter in 0.0 form: "))

Amt_SoldPerShare = float(input("How much did you sell each share for? \n"

"enter in 0.0 form: "))

Earned_WithoutCommission = Amt_SoldPerShare * Shares_Sold

Commission_PaidSale = Earned_WithoutCommission * Commission_Percentage

Total_Earned = Earned_WithoutCommission - Commission_PaidSale

ProfitNoProfit = Total_Earned - Total_Paid

#printing the output

print ("You paid the following for the shares:")

print (Paid_WithoutCommission)

print ("You paid the following in commissions to your stockbroker for the purchase:")

print (Commission_Paid)

print ("In total, you paid:")

print (Total_Paid)

print ("You sold your shares for the amount of:")

print (Earned_WithoutCommission)

print ("You paid the following in commissions to your stockbroker for the sale:")

print (Commission_PaidSale)

print ("In total, your revenue is: ")

print (Total_Earned)

if ProfitNoProfit > 0:

   print ("You have earned a profit of: %s." % ProfitNoProfit)

elif ProfitNoProfit == 0:

   print ("You have broken even")

else: print ("You have lost this amount: %s." % ProfitNoProfit)

5 0
3 years ago
Is a device connected to a sound card in the system.
SSSSS [86.1K]

Answer:

Yes

Explanation:

A sound card (also known as an audio card) is an internal expansion card that provides input and output of audio signals to and from a computer under control of computer programs. The term sound card is also applied to external audio interfaces used for professional audio applications.

8 0
3 years ago
I WILL UPVOTE!!!!!!!
vekshin1
Any of these can cause a disorder of this degree
6 0
3 years ago
Which column and row references are updated when you copy the formula =$A1+B$10 Select all that apply.
lora16 [44]

Answer:

c

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • Mitchell has noticed that his co-workers are unable to open attachments in the emails he sends. What is one possible reason for
    5·1 answer
  • An assembly line is an example of which of the following facility layouts?
    8·1 answer
  • Network and web0based software used for workplace collaboration is commonly called?
    11·1 answer
  • What does Josh Silverman name as the most important aspect of managing finances?
    10·2 answers
  • What hex value is the standard indicator for jpeg graphics files?​?
    6·1 answer
  • Stella is a bank executive. She is preparing a spreadsheet on the loan repayment schedules of customers. Which function can she
    12·1 answer
  • Which describes how media and networks interact
    12·1 answer
  • Define a function UpdateTimeWindow() with parameters timeStart, timeEnd, and offsetAmount. Each parameter is of type int. The fu
    10·1 answer
  • I'm lonely every 14 and up come talk
    5·2 answers
  • When you start an online course, what should you do to make sure you have access to college resources
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!