
Fondamenti di C++
Authored by Paola Ibba
Computers
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual è la sintassi corretta per dichiarare una variabile intera in C++?
myVariable int;
float myVariable;
int myVariable;
integer myVariable;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quali sono i tipi di dati primitivi disponibili in C++?
array
int, float, double, char, bool
string
list
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Come si definisce una variabile di tipo float in C++?
double myVariable = 3.14;
char myVariable = 'A';
float myVariable; or float myVariable = 3.14;
int myVariable;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual è la struttura di controllo utilizzata per eseguire un blocco di codice se una condizione è vera?
while
if
switch
for
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa fa l'istruzione 'break' all'interno di un ciclo in C++?
Interrompe l'esecuzione del ciclo.
Aggiunge un elemento al ciclo.
Ritorna un valore dal ciclo.
Continua l'esecuzione del ciclo.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual è la differenza tra 'if' e 'switch' in C++?
'if' è per condizioni booleane; 'switch' è per selezionare tra più valori.
'if' è più veloce di 'switch' in tutti i casi; 'switch' è più lento.
'if' è usato per i cicli; 'switch' è usato per la gestione degli errori.
'if' può gestire solo due condizioni; 'switch' non può gestire espressioni booleane.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Come si dichiara un array di interi in C++?
array
myArray int[10];
int[] myArray;
int myArray[10];
Access all questions and much more by creating a free account
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
8 questions
KS3 Year 9 Python Quiz 02
Quiz
•
10th Grade
10 questions
python
Quiz
•
10th Grade
15 questions
Estructuras de Control
Quiz
•
10th Grade
17 questions
Cyber Safety
Quiz
•
9th - 12th Grade
10 questions
Intro to Photoshop
Quiz
•
9th - 12th Grade
10 questions
Email Quiz - PWHS
Quiz
•
1st - 12th Grade
10 questions
Among us youtubers
Quiz
•
KG - Professional Dev...
10 questions
FormazioneSicurezzaSpecifica_Mod. 3.3
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade