
Operatori aritmetici C++

Quiz
•
Computers
•
7th Grade
•
Easy
Irina Mandru
Used 2+ times
FREE Resource
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
10 questions
Тармақталған алгоритм

Quiz
•
7th Grade
10 questions
C++

Quiz
•
7th - 8th Grade
8 questions
Structura alternativă și operatori

Quiz
•
6th - 8th Grade
12 questions
C++

Quiz
•
7th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
11 questions
Python Variables

Quiz
•
6th - 8th Grade
12 questions
AppsLab_Q3

Quiz
•
1st Grade - Professio...
10 questions
Programare cu C++ nivel medie 2

Quiz
•
4th - 9th Grade
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
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

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

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade