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;
cout << suma;
if(a%3==0 && a%5==0)
suma=suma+a;
}
3.
MATCH QUESTION
1 min • 1 pt
Care potriveste
a%10%2==1 && a/10%10%2==1
impar si are cel putin 3 cifre
a/10%10%2==0
par cu o cifra
a%2==0 && a<10
ultimele cifre sunt impare
a%10!=a/10%10 && a>99 && a<1000
cifra zecilor par
a%2==1 && a>99
ultimele 2 cifre diferite si are exact 3 cifre
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;
for(int i=0; i<n; i++)
{
cin >> a;
cout << s1 << " " << s2;
cin >> n;
if(a%2==0) s1+=a;
else s2+=a;
}
6.
MATCH QUESTION
1 min • 1 pt
Care potriveste
10
for(i=10; i>0; i--)
infinit
for(i=0; i<10; i+=2)
2
for(i=0; i<20; i+=10)
5
for(i=10; i>0; i++)
4
for(i=5; i<=20; i+=5)
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
20 questions
Язык программирования Python

Quiz
•
1st - 10th Grade
15 questions
Python Basics

Quiz
•
KG - University
20 questions
8 klasa C++

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

Quiz
•
6th Grade
15 questions
Java Basic Data Structures

Quiz
•
6th - 10th Grade
15 questions
Python - тест

Quiz
•
1st - 12th Grade
12 questions
Programare cu C++ nivel incepatori 5

Quiz
•
6th - 8th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
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