C++ - PEI

C++ - PEI

10th Grade

10 Qs

quiz-placeholder

Similar activities

Ôn tập KTGK. Bài 17. Biến và lệnh gán

Ôn tập KTGK. Bài 17. Biến và lệnh gán

10th Grade

15 Qs

Diagramas de Flujo

Diagramas de Flujo

7th - 10th Grade

10 Qs

Excel

Excel

1st - 10th Grade

11 Qs

H7.P1&P2.Nova2.Geluid.mhv

H7.P1&P2.Nova2.Geluid.mhv

4th - 10th Grade

12 Qs

TIN 10 BÀI F14

TIN 10 BÀI F14

10th Grade

10 Qs

Access  2013 - 4(consultas)

Access 2013 - 4(consultas)

10th Grade

15 Qs

python

python

10th Grade

10 Qs

Unit 8 - Representing Images, Sound & Text

Unit 8 - Representing Images, Sound & Text

10th - 11th Grade

10 Qs

C++ - PEI

C++ - PEI

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Giancarlo Mancini

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Supponendo di voler dichiarare la variabile 'x' numerica decimale, quale, fra le seguenti, è l'istruzione in linguaggio C++ corretta?

float x;

float x

int x;

int x

x = 2.5;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Supponendo di voler dichiarare la variabile 'x' numerica decimale, quale, fra le seguenti, è l'istruzione in linguaggio C++ corretta?

x = 2.5

string x;

(posso tranquillamente scegliere string in quanto, essendo alfanumerica, mi permette di inserire qualunque valore)

cin >> x;

(faccio scegliere all'untente il valore della variabile x)

x = "2.5";

Nessuna delle altre risposte è corretta

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Si consideri la seguente affermazione:

Se piove prendo l'ombrello altrimenti no

Dalla sua valutazione si può stabilire che:

prendo l'ombrello nel caso in cui dovesse piovere

non prendo l'ombrello nel caso in cui non dovesse piovere

posso prendere l'ombrello nel caso in cui dovesse piovere

posso prendere l'ombrello anche nel caso in cui non dovesse piovere

prendo l'ombrello anche nel caso in cui non dovesse piovere

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Con riferimento al linguaggio C++, dovendo memorizzare un codice avviamento postale (C.A.P.), è utile usare una variabile di tipo

string

int

float

char

bool

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Con riferimento al linguaggio C++, per visualizzare un messaggio a video, si può usare:

cout

cin

scrivi

end

include

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indica l'istruzione di dichiarazione di funzione

int sconto();

int x;

cout << "Ciao";

cin >> x;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Il parametro di una funzione è:

una variabile locale

un messaggio a video

un valore inserito da tastiera

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?