C++ - PEI
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Giancarlo Mancini
Used 7+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Diagramas de Flujo
Quiz
•
7th - 10th Grade
10 questions
Паскаль
Quiz
•
10th Grade
11 questions
Excel
Quiz
•
1st - 10th Grade
8 questions
KS3 Year 9 Python Quiz 02
Quiz
•
10th Grade
10 questions
Soạn thảo văn bản Microsoft Word
Quiz
•
1st Grade - University
10 questions
Code.org Discoveries
Quiz
•
9th - 11th Grade
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
10 questions
Shortcuts
Quiz
•
5th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
