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
KIM [24]
3 years ago
7

The Transmission Control Protocol(TCP)/Internet Protocol (IP) was developed to allow computers to talk using a standard language

.
Computers and Technology
1 answer:
dusya [7]3 years ago
6 0
And what is the rest of the question?
You might be interested in
Write a recursive function sumSquares(num) that given an integer num, returns the sum of squares of numbers from 1 to num. For e
ValentinkaMS [17]

Answer:

Here is the recursive function sumSquares(num) that takes an integer num as parameter and returns the sum of squares of numbers from 1 to num.

def sumSquares(num):

   if(num >= 0):  # checks if the value of num is less than or equal to 0

       if (num==0):  #if value of num is 0

           return 0  #returns 0 if value of num is 0

       else:  #if value of num is greater than 0

           return sumSquares(num - 1)+ num * num  #recursively calls the sumSquares method to return the sum of squares of numbers from 1 to num

   else:  # if a user enters a negative num

       (print("The number if not positive"))  #prints this message

       exit()  # exits after displaying that number if not positive message

#below print statement is used in order to check the working of the function        

print(sumSquares(3)) #calls function and passes value 3 for num

Explanation:

The program works as follows:

The function sumSquares(num) that takes an integer num as parameter and returns the sum of squares of numbers from 1 to num

The first if condition checks if value of num is positive. If this condition evaluates to true then the another if statement inside this if statement is executed which checks if the value of num is 0. If this condition evaluates to true then the program returns 0. However if this condition evaluates to false then the else part executes which has the following statement:

return sumSquares(num - 1) + num * num

For example num = 3

so the above recursive statement works as follows:

sumSquares(3-1) + 3 * 3

sumSquares(2) + 9

Note that the sumSquares() method is called again and the value 2 is passed as num. As 2 is greater than 0. So again the recursive statement executes:

sumSquares(2 - 1) + 2 * 2 + 9

sumSquares(1) + 4 + 9

sumSquares(1) + 13

sumSquare() method is called again and the value 1 is passed as num. As 1 is greater than 0. So again the recursive statement executes:

sumSquares(1 - 1) + 1 * 1 + 13

sumSquares(0) + 1 + 13

sumSquares(0) + 14

sumSquare() method is called again and the value 0 is passed as num

As the value of num=0 So the if (num == 0):  condition evaluates to true and the statement returns 0 executes which returns 0:

sumSquares(0) + 14

0 + 14

Hence the output is:

14

The screenshot of the program along with its output is attached.

4 0
3 years ago
A GPS is an example of a dedicated device true or false
Galina-37 [17]

Answer:

true

Explanation:

4 0
3 years ago
Which one these describe the use of the word wall technique?
lana66690 [7]

A word wall is a technique or a literacy tools mainly used by the students who are creating memorable experiences like in remembering of new words in vocabulary. In schools, word wall is commonly placed on bulletin boards where a collection of words are displays in visible letters.

8 0
4 years ago
Tamera has $500 she is looking to save for a class trip she wants to earn the most possible interest and will not need access to
Irina18 [472]
Money Market Account has higher interest rate than Savings Account and Savings Account pays similar interest as Certification of Deposit (CD). Checking Account has even smaller interest rate.
Answer: B ) Money Market Account. 

5 0
3 years ago
Joe always misspells the word calendar. He types the word as calender but the correct spelling appears on the document. Which fe
Hunter-Best [27]

Answer:

autocorrect

Explanation:

i got it right

3 0
4 years ago
Read 2 more answers
Other questions:
  • Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment v
    5·1 answer
  • Anti-malware software should be installed on computer systems to detect and prevent malware infections.
    12·2 answers
  • Programming assignment (100 pts): In the C++ programming language write a program capable of playing Tic-Tac-Toe against the use
    14·1 answer
  • Discuss whether the redundant data should be addressed prior to beginning the wireless network architecture project, in coordina
    11·1 answer
  • ith reference to McCall's quality modle , what are the three important aspects of a software product ?
    7·1 answer
  • A cubit is an ancient unit of length, roughly the distance between one’s fingers and elbow. The definition of one cubit is 18 in
    12·1 answer
  • What is the best way to appeal to an audience in any medium ?
    11·1 answer
  • Describe ONE similarity and ONE difference between the use of lighting in candid and posed photography.
    15·1 answer
  • An organized file title helps save time locating files, communicates professionalism, and lets us know the file is most likely N
    10·1 answer
  • Change the file name for index.html to index.php
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!