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
PHP

Quiz
•
12th Grade
19 questions
Java Base

Quiz
•
9th - 12th Grade
25 questions
C++ cilci

Quiz
•
9th - 12th Grade
25 questions
Quiz sugli Algoritmi

Quiz
•
10th Grade - University
20 questions
Test iniziale coding

Quiz
•
10th Grade
15 questions
Software

Quiz
•
8th - 12th Grade
20 questions
Nozioni fondamentali dell'Informatica

Quiz
•
8th Grade - University
15 questions
A4 - Il linguaggi di programmazione C++ SELEZIONE

Quiz
•
2nd Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade