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
Supponendo di voler dichiarare la variabile 'x' numerica decimale, quale, fra le seguenti, è l'istruzione in linguaggio C++ corretta?
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 Wayground
15 questions
Monitor

Quiz
•
11th Grade
21 questions
Word processor - Funzioni base

Quiz
•
10th Grade
25 questions
Ripasso Informazioni e Dati

Quiz
•
8th - 10th Grade
15 questions
Progettazione di Base di Dati e Modello ER

Quiz
•
12th Grade
24 questions
Quiz_4_Hash

Quiz
•
12th Grade
18 questions
Hardware

Quiz
•
8th - 12th Grade
20 questions
Domande sulla Sicurezza Online

Quiz
•
9th Grade - University
15 questions
NETIQUETTE

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade