• Non ci sono risultati.

Programming, control structures

N/A
N/A
Protected

Academic year: 2021

Condividi "Programming, control structures"

Copied!
7
0
0

Testo completo

(1)

Programming, control structures

Loriano Storchi

loriano@storchi.org

http:://www.storchi.org/

(2)

YOU CAN TRY USING SCRATCH

(3)

Scratch

Scratch is a block-based visual programming

language and online community targeted primarily at

children.

(4)

Scratch: loop

(5)

Scratch: if

(6)

Scratch: nested loop

(7)

Scratch

Riferimenti

Documenti correlati

Find the names of the suppliers that supply at least one product supplied by suppliers of red products. D B

!  Events due to the agent having new goals happen mostly as a consequence of the execution of other plans, but also as a consequence of agent communication. !  The goal

Usually, declaration and definition coincide for variables The definition consists of the type keyword followed by the name of the variable, followed by the “;”

However, in many cases we must execute alternative instructions, depending on the value of certain expressions Also, sometimes we need to repeat instructions a number of times, or

A heap is a binary tree in which, for each node A, the value stored in the node is always greater than the values stored in the childen The data structure is also called max-heap

Lipari (Scuola Superiore Sant’Anna) Tree and Heap March 27, 2012 4 / 33G. Trees in

Il codice C generato presenta miglioramenti di velocità prevalentemente a causa tipizzazione statica (opzionale) che può essere applicata, nel sorgente Cython, sia alle variabili

There are three fundamental structures that are used for the algorithmic resolution of problems: selection, iterations and sequence (sequence of instructions) (the GOTO present in