C++ - PEI
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Giancarlo Mancini
Used 7+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Supponendo di voler dichiarare la variabile 'x' numerica decimale, quale, fra le seguenti, è l'istruzione in linguaggio C++ corretta?
float x;
float x
int x;
int x
x = 2.5;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Supponendo di voler dichiarare la variabile 'x' numerica decimale, quale, fra le seguenti, è l'istruzione in linguaggio C++ corretta?
x = 2.5
string x;
(posso tranquillamente scegliere string in quanto, essendo alfanumerica, mi permette di inserire qualunque valore)
cin >> x;
(faccio scegliere all'untente il valore della variabile x)
x = "2.5";
Nessuna delle altre risposte è corretta
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Si consideri la seguente affermazione:
Se piove prendo l'ombrello altrimenti no
Dalla sua valutazione si può stabilire che:
prendo l'ombrello nel caso in cui dovesse piovere
non prendo l'ombrello nel caso in cui non dovesse piovere
posso prendere l'ombrello nel caso in cui dovesse piovere
posso prendere l'ombrello anche nel caso in cui non dovesse piovere
prendo l'ombrello anche nel caso in cui non dovesse piovere
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Con riferimento al linguaggio C++, dovendo memorizzare un codice avviamento postale (C.A.P.), è utile usare una variabile di tipo
string
int
float
char
bool
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Con riferimento al linguaggio C++, per visualizzare un messaggio a video, si può usare:
cout
cin
scrivi
end
include
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indica l'istruzione di dichiarazione di funzione
int sconto();
int x;
cout << "Ciao";
cin >> x;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Il parametro di una funzione è:
una variabile locale
un messaggio a video
un valore inserito da tastiera
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
10 questions
Using Sprite Lab in code.org (Homework 1)
Quiz
•
9th - 12th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
10 questions
Python: matlpotlib Online Quiz
Quiz
•
9th - 10th Grade
11 questions
المتغيرات و انواعها
Quiz
•
10th Grade
10 questions
Avaliação 1T - JavaScript
Quiz
•
9th - 12th Grade
10 questions
Innovations of Technology
Quiz
•
7th - 10th Grade
12 questions
Spreadsheet
Quiz
•
5th - 11th Grade
10 questions
Evaluacion de programación mBlock
Quiz
•
10th Grade
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
