Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lecture "Algorithms", exercise 3 #6

Open
essepuntato opened this issue Oct 16, 2020 · 26 comments
Open

Lecture "Algorithms", exercise 3 #6

essepuntato opened this issue Oct 16, 2020 · 26 comments
Labels

Comments

@essepuntato
Copy link
Contributor

The previous lecture notes, entitled “Introduction to Computational Thinking”, illustrate two different algorithms, expressed in natural language, for implementing the Fibonacci function. Create two distinct flowcharts to implement both of them.

@IlaRoss
Copy link

IlaRoss commented Oct 16, 2020

20201016_154916
Referring to the first algorithm (sorry for my handwriting)

@laurentfintoni
Copy link

I think this is the first algorithm
Screen Shot 2020-10-16 at 4 08 31 PM

@laurentfintoni
Copy link

And I think this is the second but tbh my head hurts
Screen Shot 2020-10-16 at 4 10 38 PM

@laurentfintoni
Copy link

I forgot to specify the value in the third return value box, should be return value "sum" or something like that...

@giorgiasampo
Copy link

Fibonacci's code

@SarahTew
Copy link

Fibonacci 2
Fibonacci 1

@gabrielefiorenza
Copy link

FLOWCHART 2
FLOWCHART 3

@giorgiasampo
Copy link

Fibonacci 2

I don't know if this was what I was supposed to come up with, but I tried to make something similar to a "do loop" with a check variable, in order to generalie the function.

@dbrembilla
Copy link

dbrembilla commented Oct 16, 2020

Fibonacci without recursion
Diagram (1)
Fibonacci with recursion
Diagram (2)

@edoardodalborgo
Copy link

This is the first algorithm
Flowchart1_es3_lez2

@ChiaraCati
Copy link

D061DE3F-BD19-47AE-9B06-0DECC178EE42

@ChiaraCati
Copy link

748400DA-019C-4AFB-9358-40ED2D6464D1

@SusannaPinotti
Copy link

Flowchart Fibonacci Iterativo
Flowchart for the first algorithm

@SusannaPinotti
Copy link

Flowchart Fibonacci ricorsivo (2)
Flowchart for the second algorithm

@diegochillo
Copy link

Second (recursive) algorithm:
Flowchart_Fibonacci_Recursive

@ConstiDami
Copy link

First algorithm

Ex3_1

Second algorithm

Ex3_2

@penelopelask
Copy link

fibonacci 1 + 2

@yunglong28
Copy link

Fibonacci ex. 1
Untitled Diagram(1)

@yunglong28
Copy link

Fibonacci 2
Untitled Diagram(2)

@Fran-cesca
Copy link

Untitled Diagram (2)

@GiuliaMenna
Copy link

Untitled Diagram (1)
Flowchart 2

@AlessandraFa
Copy link

Fibonacci flowchart 1

Fibonacci recursion

@DeniseBas
Copy link

Copy of Untitled Diagram
Untitled Diagram-3

@LuisAmmi
Copy link

image
The second flowchart

@AlessandroBertozzi
Copy link

First algroroithm
Fibonacci 1

@enri-ca
Copy link

enri-ca commented Oct 19, 2020

Fibonacci 1
immagine

Fibonacci 2
immagine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests