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

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Giulia Achilli
Used 103+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
float x
int x
x = 2.5
bool x
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Si consideri la seguente affermazione:
Se piove prendo l'ombrello
Indica quale fra le seguenti risulta essere la corretta traduzione nel linguaggio C++ considerando che con 'S' si indica SI e con 'N' si indica NO:
if(piove == 'S') {
prendi_ombrello = 'S';
}
if(piove == 'S') {
prendi_ombrello = 'S';
} else {
prendi_ombrello = 'N';
}
if(piove = 'S') {
prendi_ombrello = 'S';
}
if(piove = 'S') {
prendi_ombrello = 'S';
} else {
prendi_ombrello = 'N';
}
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Indica quale, fra le seguenti, è un'istruzione che permette di associare un valore alla variabile intera chiamata A:
cin >> A;
cout << "Inserire il valore di A" << endl;
cout << A;
A = 3.2;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Con riferimento al linguaggio C++, la seguente istruzione:
int a;
dichiara una costante
dichiara una variabile
dichiara un costrutto
è errata perchè manca il main
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Con riferimento al linguaggio C++, dovendo memorizzare un nome è utile usare una variabile di tipo
char
string
float
int
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quali categorie di variabili è possibile trovare in un programma
input, output, lavoro
input, output, calcolo
input, calcolo, lavoro
calcolo, output, lavoro
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Una proprietà dell'algoritmo è:
generico
finito
complesso
interpretato
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
test di ingresso algoritmi e informatica 17254

Quiz
•
11th Grade
15 questions
Software

Quiz
•
8th - 12th Grade
17 questions
PYTHON-Base n 1-3C

Quiz
•
11th Grade
19 questions
Java Base

Quiz
•
9th - 12th Grade
16 questions
Android Studio

Quiz
•
12th Grade
17 questions
Le memorie di massa

Quiz
•
8th - 10th Grade
20 questions
Fondamenti delle reti informatiche

Quiz
•
12th Grade
23 questions
Gestione della Memoria Quiz

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade