if(a%2==1 || a/10%10==a%10 || a<10)

Programare cu C++ nivel incepatori 8

Quiz
•
Computers
•
6th - 8th Grade
•
Easy
Ali Cabas
Used 45+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2004
382
2442
283
2.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine
int n, a, suma=0;
cin >> n;
for(int i=0; i<n; i++)
{
cin >> a;
if(a%3==0 && a%5==0)
suma=suma+a;
}
cout << suma;
3.
MATCH QUESTION
1 min • 1 pt
Care potriveste
a%2==1 && a>99
ultimele cifre sunt impare
a%10%2==1 && a/10%10%2==1
cifra zecilor par
a%10!=a/10%10 && a>99 && a<1000
ultimele 2 cifre diferite si are exact 3 cifre
a%2==0 && a<10
impar si are cel putin 3 cifre
a/10%10%2==0
par cu o cifra
4.
DRAG AND DROP QUESTION
1 min • 1 pt
for(int i=0; (a) ; i++) {
for(int j=0; (b) ; j++)
cout << "*";
cout << endl;
}
5.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine
int n, a, s1=0, s2=0;
cin >> n;
for(int i=0; i<n; i++)
{
cin >> a;
if(a%2==0) s1+=a;
else s2+=a;
}
cout << s1 << " " << s2;
6.
MATCH QUESTION
1 min • 1 pt
Care potriveste
2
for(i=0; i<20; i+=10)
10
for(i=0; i<10; i+=2)
infinit
for(i=10; i>0; i++)
5
for(i=5; i<=20; i+=5)
4
for(i=10; i>0; i--)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Daca a=3 b=4 c=4 care va fi rezultatul final
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Test CLS 7 - Structura alternativă și structurile repetitive

Quiz
•
7th Grade
12 questions
Test Cls 7 Sem I

Quiz
•
6th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
20 questions
Язык программирования Python

Quiz
•
1st - 10th Grade
13 questions
Тармақталу алгоритмі

Quiz
•
6th - 8th Grade
12 questions
Python: тестуваня

Quiz
•
8th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
8 klasa C++

Quiz
•
7th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade