
Operatori aritmetici C++
Quiz
•
Computers
•
7th Grade
•
Practice Problem
•
Easy
Irina Mandru
Used 2+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
How do you declare a variable in C++?
data_type variable_name;
data_type = variable_name;
declare variable_name as data_type;
variable_name = data_type;
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Care este rolul instrucțiunii 'cin' în C++?
să efectueze calcule aritmetice
să citească o valoare pentru o variabilă
să afișeze valoarea unei variabile în consolă
să declare o variabilă
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Scrieți instrucțiunea care afișează în consolă valoarea variabilei x
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Ce va afișa următorul cod?
int x = 5;
int y = 3;
int z = x + 2 * y;
cout << z;
5
11
textul 'z'
15
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Ce va afișa următorul cod, dacă valoarea introdusă este 3?
int x = 10;
int y , z ;
cin >> y;
z = x / y;
cout << z;
0
10
3
1
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Ce va afișa următorul program cod dacă valorile introduse ar fi, pe rând, 7 și 2 ?
int x , y, z;
cin >> x >> y;
z = x % y;
cout << z;
3
4
1
2
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Ce va afișa următorul cod?
int x = 9;
int y = 2;
int z = sqrt ( x ) * y;
cout << z;
8
10
6
2
8.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Ce va afișa următorul cod dacă se citesc, pe rând, valorile 8 și 3?
int x, y;
cin >> y >> x;
int z = x - y;
cout << z;
5
8
-5
3
9.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following code? int x = 2; int y = 3; int z = x + y * x; cout << z;
5
6
7
8
Similar Resources on Wayground
14 questions
Исполнитель Чертежник
Quiz
•
7th Grade
9 questions
Jak dobrze znasz Among Us?
Quiz
•
1st Grade - Professio...
9 questions
Сызықтық алгоритм
Quiz
•
7th Grade
10 questions
Kuis Analisis Data Kelas 7
Quiz
•
7th Grade
9 questions
Introduction To Python
Quiz
•
6th - 8th Grade
10 questions
Animation Interface
Quiz
•
7th - 8th Grade
11 questions
Fortnite
Quiz
•
5th Grade - Professio...
11 questions
Vstupné a výstupné zariadenia počítača
Quiz
•
5th - 9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
