Care potriveste?

Programare cu C++ nivel incepatori 4

Quiz
•
Computers
•
6th - 8th Grade
•
Easy
Ali Cabas
Used 37+ times
FREE Resource
12 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
28
if(a/1000>0 && a%2==1)
144
if(a/10%10==a%10 && a%2==0)
1577
if(a%2==0 && a<100)
2340
if(a%100<10)
207
if(a%5==0 && a%3==0)
2.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine.
int a, b, c, suma=0;
cin >> a >> b >> c;
if(a%2==0 && b%2==0 && c%2==0)
suma=a+b+c;
else if(a%2==1 && b%2==1 && c%2==1)
suma=a*b*c;
cout << suma;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if((a>9 && a<100) || a/10%10%2==0)
372
8
3045
178
4.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine.
int a, p, cnt=0, n;
cin >> n >> p;
for(int i=1; i<n; i++) {
cin >> a;
if(a%2==0 && a>p)
cnt++;
}
cout << cnt;
5.
MATCH QUESTION
1 min • 1 pt
Care potriveste?
a%2!=b%2
par si cel putin 3 cifre
a/10%10%2==1
cifra zecilor impar
a/1000>0
ultimele 2 cifre egale
a%10==a/10%10
are cel putin 4 cifre
a%2==0 && a>99
paritate sunt diferit
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
nr = (a/100) * 10 + a%10;
Daca a=3175, nr va fi?
31
75
175
315
7.
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%2==0)
suma=suma+a;
}
cout << suma;
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Programming in Java

Quiz
•
8th Grade
10 questions
C++

Quiz
•
7th - 8th Grade
9 questions
Test vectori Cls 8

Quiz
•
8th Grade
15 questions
Java Basic Data Structures

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

Quiz
•
1st - 12th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
15 questions
C++ While Loops

Quiz
•
6th - 8th Grade
11 questions
C++ Functions

Quiz
•
6th - 8th 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