Ce se afișează în urma executării următoarelor instrucțiuni?
int a=4,b=5;
if(a==b){ cout << "DA";}
else { cout << "NU";}
Structura alternativă și operatori
Quiz
•
Computers
•
6th - 8th Grade
•
Easy
Adina Boerescu
Used 9+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
Ce se afișează în urma executării următoarelor instrucțiuni?
int a=4,b=5;
if(a==b){ cout << "DA";}
else { cout << "NU";}
DA
NU
4
5
2.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
Pentru x=10 si y=20, afirmatia x>y este adevarata sau falsa?
adevarat
fals
3.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
Pentru x=10 si y=20, afirmatia (2*x) >= y este adevarata sau falsa?
adevarat
fals
4.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
Pentru x=15 si y=15, afirmatia x>=y este adevarata sau falsa?
adevarat
fals
5.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
Pentru x=15 si y=18, afirmatia x==y este adevarata sau falsa?
adevarat
fals
6.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
Cum afișăm pe ecran înălțimea unei cladiri, notată cu x?
double x;
cin>>x;
cout<<x;
int x;
7.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
Fie a și b două numere întregi. Alege codul care afișează pe ecran care dintre cele două numere este mai mare.
if (a >= b)
cout<<a;
else
cout<<b;
if (a < b)
cout<<a;
else
cout<<b;
if (a > b)
cout<<a;
else
cout<<b;
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce se afișează pe ecran în urma execuției codului alăturat?
x
y
10
15
10 questions
Reference and Pointers in C++
Quiz
•
6th - 8th Grade
10 questions
Bài tập trắc nghiệm C++
Quiz
•
3rd - 12th Grade
8 questions
Structura secventiala
Quiz
•
6th - 8th Grade
10 questions
Aplicatii colaborative cls a VII-a
Quiz
•
7th Grade
11 questions
Caligrafía | CM7
Quiz
•
1st - 10th Grade
12 questions
C++ References
Quiz
•
6th - 12th Grade
10 questions
C++
Quiz
•
6th - 8th Grade
13 questions
BÀI THỰC HÀNH 2
Quiz
•
7th - 8th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions
Quiz
•
6th Grade
9 questions
1. Types of Energy
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
3rd - 6th Grade
43 questions
LinkIt Test - 24-25_BM4_7th
Quiz
•
7th Grade
6 questions
Final Exam: Monster Waves
Quiz
•
6th Grade