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
Goshia [24]
4 years ago
13

Use the get_seconds function to work out the amount of seconds in 2 hours and 30 minutes, then add this number to the amount of

seconds in 45 minutes and 15 seconds. Then print the result.
Computers and Technology
1 answer:
Andrej [43]4 years ago
5 0

Answer:

Since the get_seconds function is not given, I'll implement it myself;

The full program (get_seconds and main) written in python is as follows:

def  get_seconds(hour,minute,seconds):

    seconds = hour * 3600 + minute * 60 + seconds

    return seconds

time1 = get_seconds(2,30,0)

time2 = get_seconds(0,45,15)

result = time1 + time2

print(result)

Explanation:

<em>The get_seconds defines hour, minute and seconds as its arguments</em>

This line defines the get_seconds function

def  get_seconds(hour,minute,seconds):

This line calculates the second equivalent of the time passed to the function

    seconds = hour * 3600 + minute * 60 + seconds

This line returns the the calculated seconds equivalent of time

    return seconds

The main starts here

This line calculates the number of seconds in 2 hours and 30 minutes

time1 = get_seconds(2,30,0)

This line calculates the number of seconds in 45 minutes and 15 seconds

time2 = get_seconds(0,45,15)

This line adds both together

result = time1 + time2

This line prints the result

print(result)

You might be interested in
SATCOM in the Ku- and Ka- bands, as well as EHF systems are adversely affected by rain (the higher the frequency, the greater th
kap26 [50]

Answer:Answer:

TRUE

Explanation:

SATCOM in the Ku- and Ka- bands, as well as EHF systems are adversely affected by rain (the higher the frequency, the greater the effect) because one of the factors that affects availability in a satellites is rain. Higher frequencies in Ka-band (30/20 GHz), rain can have a very large effect that simply cannot be overcome at the usual levels of availability.

Rain reduces the quality of signals by interfering with the signals thereby, reducing their strength and quality.

Therefore Rain can not only degrade a satellite's signal, it can also cause a complete outage of the satellite's.

4 0
4 years ago
Which statement describes a characteristic of SRAM in a PC?
svlad2 [7]

It is used for cache memory.

Further Explanation:

Cache memory is the memory that stores the instructions and data that is used repeatedly. If the processor wants some data it first looks into cache memory then the processor doesn't has to look into the main memory for the data or instructions which is more time consuming. As the SRAM uses small but a constant source of power, it is usually used for making cache memories. Moreover it is benficial to keep the previously used data in SRAM(Which is faster) than acessing DRAM (Which is way more slow than SRAM.

  • Learn more about RAM in brainly.com/question/10602589
  • brainly.com/question/5159824
  • brainly.com/question/6062548

#LearnwithBrainly

8 0
3 years ago
So what do I do if it doesn't take me to the sign up page? I
vesna_86 [32]

Answer:

Try to restart the computer or something.

Explanation:

8 0
3 years ago
This function checks if a character is a vowel. If it is, it returns true. Otherwise, it returns false. Where should return fals
Marianna [84]

Answer:

at the end, i.e., after the for loop.

Explanation:

see code.

I also added a cooler alternative implementation.

6 0
3 years ago
Which components in your computer store data?
tresset_1 [31]

Answer:

mother board hope this helps

6 0
4 years ago
Read 2 more answers
Other questions:
  • What's does the Mutual Reward Theory state?
    10·1 answer
  • Kerrri uses a database file many time a day. To increase her productivity, she should___.
    15·1 answer
  • Which command should you enter to configure a single port to discard inferior bpdus 200-125?
    5·1 answer
  • "A file named numbers.txt contains an unknown number of lines, each consisting of a single integer. Write some code that compute
    9·1 answer
  • Peer collaboration helps develop critical-thinking skills, which is the ability to
    9·2 answers
  • Write a program that gets a list of integers from a user. First, the user should be asked to enter the number of integers to be
    5·1 answer
  • Many Java programs that you create will receive and process user input. In order to ensure that user input is accurate, you will
    5·1 answer
  • 8. Assuming str(rate) is "7.25," what output would be produced by the following snippet:
    15·1 answer
  • The minimum recommended standards for the operating system, processor, primary memory (RAM), and storage capacity for certain so
    9·1 answer
  • Fiscal policy includes each of the following except? 1) the money supply. 2) taxes. 3) government spending. 4) the automatic sta
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!