Informatica - Scuola secondaria di secondo gradoSystem System / Volume Sistemi Informativi Aziendali A per il secondo biennio

C++ language - Quiz

3 esercizi
SVOLGI
INFO

Informatica

A code

What would be the value of a at the end of the following code?

a = 1;

while (a<=5) a++;

A:

1

B:

4

C:

5

D:

6

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

Different statements

Which of these statements are true and which are false?

A:

The debug is an error or failure that produces an incorrect or unexpected result.

B:

C++ is a case sensitive language.

C:

You have to declare a variable before using it in a program.

Vero o falso
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

The postconditional loop

Which of the following statements is correct with respect to a postconditional loop?

A:

The instructions are executed at least once.

B:

The instructions are executed at least twice.

C:

The instructions cannot be executed.

D:

It cannot enter in an infinite loop.

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza