wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Determinoismo, casualità, caos

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

What will be the range of possible values generated by the following statement for x?

double x = Math.random() * 8 - 5;

a)

[0,3)\left[0,3\right)

b)

[5,3)\left[-5,3\right)

c)

[5,8)\left[-5,8\right)

d)

[0,8)\left[0,8\right)

e)

[3,8)\left[3,8\right)

2.
We are use Random Library in java for...
a)
Choose a set of random numbers
b)
Deploy the program randomly
c)
Store a set of information at random
d)
All answers are correct
3.

What will be output by the following Java code?


System.out.println(Math.random());

a)

0.0 <= x <1.0

b)

0 < = 1

c)

0.0 < = x1.0

d)

1.0

4.

particolare grafico formato da un insieme di rettangoli adiacenti di dimensioni adeguate alle frequenze registrate

a)

cartogramma

b)

areogramma

c)

istogramma

d)

diagramma cartesiano

5.

What will be output by the following Java code?


System.out.println((int)Math.random()* 50);

a)

integer from 1 to 50 incusive

b)

integer from 3 to 7 inclusive

c)

integer from 0 to 49 inclusive

d)

integer from 1 to 49 inclusive

6.

è il comportamento tipico

a)

della macchina di Galton

b)

della formica di Langton

c)

dell'algoritmo LCG

d)

dell'algoritmo di Turing

7.

What will be output by the following Java code?


System.out.println((int)Math.random()* 4 +2);

a)

integer from 3 to 5 inclusive

b)

integer from 2 to 5 inclusive

c)

integer from 4 to 5 inclusive

d)

integer from 3 to 6 inclusive

8.

Che cosa è raffigurato nell'immagine?

a)

Un sistema deterministico

b)

Un generatore di numeri casuali

c)

la macchina di Galton

d)

Un processo caotico

9.

What will be output by the following Java code?


System.out.println((int)Math.random()* 7) + 1);

a)

integer from 1 to 8 inclusive

b)

integer from 0 to 8 inclusive

c)

integer from 0 to 7 inclusive

d)

integer from 1 to 7 inclusive

10.

In figura è rappresentato un fenomeno

a)

reale

b)

non reale

11.

In figura è rappresentato un comportamento

a)

casuale

b)

casuale che può presentare proprietà non casuali in casi particolari

c)

non casuale

d)

caotico