Silvio Peroni

Results 96 issues of Silvio Peroni

What is the result of the execution of the algorithm in [Figure 4](https://comp-think.github.io/2018-2019/lecture-notes/02%20-%20Algorithms.pdf) using `"Peroni"`, `"HTML"`, and `"Peroni, S., Osborne, F., Di Iorio, A., Nuzzolese, A. G., Poggi, F., Vitali,...

Exercise

The previous lecture notes, entitled [“Introduction to Computational Thinking”](https://comp-think.github.io/2018-2019/lecture-notes/01%20-%20Introduction%20to%20Computational%20Thinking.pdf), illustrate two different algorithms, expressed in natural language, for implementing the Fibonacci function. Create two distinct flowcharts so as to implement...

Exercise

Write the flowchart of an algorithm that takes in input two objects and returns “yes” whether the two objects are the same, otherwise it returns “no”.

Exercise

Write down two situations that are actually referring to the same pattern if analysed from an abstract point of view, as introduced in [Section "Abstraction is the key"](https://comp-think.github.io/2018-2019/lecture-notes/01%20-%20Introduction%20to%20Computational%20Thinking.pdf). What are...

Exercise

What are all the possible sentences that can be produced by using the **regular grammar** introduced in [Section "Historic hero: Noam Chomsky"](https://comp-think.github.io/2018-2019/lecture-notes/01%20-%20Introduction%20to%20Computational%20Thinking.pdf)?

Exercise

What is the result of applying the latest natural language definition of the Fibonacci function in [Section "Natural languages vs. programming languages"](https://comp-think.github.io/2018-2019/lecture-notes/01%20-%20Introduction%20to%20Computational%20Thinking.pdf) using “7” as input?

Exercise