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
faltersainse [42]
3 years ago
15

The Fibonacci numbers are the numbers

Computers and Technology
1 answer:
Doss [256]3 years ago
6 0

Answer:

function fibonacci(n):

  if n is equal to 1 or n is equal to 2:

       return 1

  else:

       return fibonacci(n-1) + fibonacci(n-2)

end of the function

Input the n

Print fibonacci(n)

Explanation:

* The above algorithm (pseudocode) is written considering Python.

Create a function called fibonacci that takes one parameter, n

If n is equal to 1 or 2, return 1 (When n is 1 or 2, the fibonacci numbers are 1)

Otherwise, return the sum of the two previous numbers (When n is not 1 or 2, the fibonacci number is equal to sum of the two previous numbers)

Ask the user for n

Call the function, pass n as a parameter and print the result

You might be interested in
What is the line tool used for in photoshop
ale4655 [162]
Creates line<span> shapes and paths.</span>
5 0
3 years ago
The process of identifying and removing logical errors and runtime errors is called ..............
9966 [12]
The process of finding and eliminating errors is called debugging.

Hope that helps
VexPlayz
6 0
3 years ago
Read 2 more answers
Pick the two statements about packets and routing on the Internet which are true. a. Packets travelling across the Internet take
Cloud [144]

Answer:

B. TCP ensures messages can be reliably transmitted across the Internet.

D. TCP must account for the fact that packets may not arrive at a destination computer in the intended order

Explanation:

TCP or transmission control protocol is a connection oriented protocol that divides a packet to segments, and reliably sends them to their destination.

TCP is a layer 4 (transport layer) protocol in the OSI network model. Its packets data unit, PDU, is called segment.

For TCP connection to be successful, a three way handshake must be established between the client and server.

When a connection is established, tcp sends the packets in sequenced segments to the destination through various routes, the source receives acknowledgement for segments received by the destination and the source resend segment that were lost. In the destination, the TCP arranges the segments to its proper sequence.

8 0
3 years ago
You want to transfer a document from one computer to another, and you want the document to be encrypted. The destination compute
Alex_Xolod [135]

Answer:

Check the explanation

Explanation:

This document transfer ought to work smoothly. Due to the IEEE standards and Principles, the presentation layer is expected to encrypt/decrypt the data on both part of the network. The session layer creates a mutual coordination among the applications while the transport layer is there to ensures delivery. Immediately the segments hit the network, routers control and handle the routing process of the packets to the distant end. Layers 6, 3 & 1 are straightly involved in the italicized parts of the question; however, the entire layers play a role when looking at the transfer as a whole.

5 0
3 years ago
Draw any five (5) basic symbols used for flowcharting
Mekhanik [1.2K]

Answer:

Image below ⏬

6 0
3 years ago
Other questions:
  • Which of the following is NOT an example of systems software?
    9·1 answer
  • Import java.util.scanner; public class sumofmax { public double findmax(double num1, double num2) { double maxval; // note: if-e
    10·1 answer
  • What can emulate a fully configured PC or server?
    15·1 answer
  • What was the original motivation for developing the internet?
    7·1 answer
  • Help me choose framework in programming
    14·1 answer
  • Which is a feature of audio editing software?
    11·2 answers
  • What’s an input Device
    7·2 answers
  • WILL MARK BRAINLIEST!!!!!!!!!!!
    5·2 answers
  • It's the same drop-down answers for both.
    15·1 answer
  • How dose computers it use the information to solve problems
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!