
Programare cu C++ nivel incepatori 2
Authored by Ali Cabas
Computers
6th - 8th Grade
Used 68+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine
for(int i=0; i<n; i++) {
cin >> a;
if(a%2==0)
cnt++;
}
cin >> n;
int n, a, cnt=0;
cout << cnt;
2.
MATCH QUESTION
1 min • 1 pt
Care potriveste?
a%10==a/10%10
Numar par
a%10==5
un nr cu exact 3 cifre
a/100%10%2==0
ultima cifra egal cu 5
a%2==0
ultimele 2 cifre egale
a>99 && a<1000
cifra sutelor par
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cout << "Suma numerelor: " << endl << "a+b=" << a+b;
Daca a=3 b=5 ce afiseaza?
Suma numerelor: 8
Suma numerelor: a+b=8
Suma numerelor:
8
Suma numerelor:
a+b=8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce afiseaza daca a=3?
43
0
4321
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if((a>99 && a<1000) || a%100<10)
3553
57
1507
2255
6.
MATCH QUESTION
1 min • 1 pt
Care potriveste
407
if(a%10==a/10%10)
57
if(a%2==1 && a%100<10)
2004
if(a/1000>0 && a%2==0)
33
if(a%10==7 && a>9 && a<100)
345
if(a%3==0 && a%5==0)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce afiseaza daca a=6?
43210
nimic
0
4
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?