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
20 questions
Arduino 1

Quiz
•
11th Grade
23 questions
Gestione della Memoria Quiz

Quiz
•
12th Grade
19 questions
Quiz su Linux

Quiz
•
12th Grade
20 questions
IT Security - 5 - Uso sicuro del web

Quiz
•
11th Grade
20 questions
Artefatti Grafici e Web Design

Quiz
•
11th Grade
20 questions
Assembly x86

Quiz
•
10th - 12th Grade
20 questions
Simulazione DIGCOMP AICA - AREA 1

Quiz
•
12th Grade
21 questions
Sicurezza in laboratorio e rischio da video terminale

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade