
Structura alternativă și operatori
Authored by Adina Boerescu
Computers
6th - 8th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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;
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?