Structura alternativă și operatori
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Easy
Adina Boerescu
Used 12+ times
FREE Resource
Enhance your content in a minute
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
Similar Resources on Wayground
10 questions
HTML Intro & Heading Tags
Quiz
•
8th Grade
12 questions
ESCREVA COM A CANETA - AULAS 4 a 7
Quiz
•
8th Grade
10 questions
Excel
Quiz
•
7th Grade
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
12 questions
Shapes and Drawings - Codesters
Quiz
•
6th - 8th Grade
12 questions
Internetas 2
Quiz
•
6th Grade
10 questions
tin 8 bài 4
Quiz
•
6th - 9th Grade
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
