if( (a%3==0 || a%5==0) || a/100%10%2==1 || a%100<10)

Programare cu C++ nivel medie 7

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ali Cabas
Used 25+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1273
473
1001
3883
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cate stelute va fi afisat?
for(int i=0; i<5; i++) {
for(int j=0; j<5-i; j++)
cout << "*"; }
20
14
15
10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce face programul respectiv?
Gaseste cel mai mare cifra si aparitie
Gaseste de cate ori exista cel mai mare cifra
Gaseste numarul de cifre egal cu ultima cifra
Gaseste numarul de cifre egal cu prima cifra
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Din numarul a=145782 vrem sa afisam cel mai mare numar obtinut prin prima si ultima cifra, vrem obtinem 21 din 1 si 2
u=a%10;
while(a>99)
{ a=a/10; }
if(u>a)
cout << a*10+u;
else
cout << u*10+a;
u=a%10;
while(a>9)
{ a=a/10; }
if(u>a)
cout << u*10+a;
else
cout << a*10+u;
ca=a;
while(a>0)
{
ras=ras*10+a%10;
a=a/10;
}
cout << ca%10*10+ras%10;
u=a%10;
while(a>99)
{ a=a/10; }
cout << a/10*10+u;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
De cate ori se repeta?
for(int i=0; i>5 || i%2==0; i++)
infinit
0
1
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce afiseaza programul?
cel mai mare cifra impar si aparitie
cel mai mare numar impar si aparitie
cel mai mare numar care incepe cu cifra impar si aparitie
cel mai mare numar impar si aparitie care incepe si termina cu același cifra
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
De cate ori se repeta?
for(int i=10; i>=0 && i>5; i--)
10
11
1
5
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Excel If function WSC 4.2.3

Quiz
•
7th Grade - University
11 questions
Массивы в C++: ввод/вывод

Quiz
•
6th - 8th Grade
10 questions
Ms EXCEL

Quiz
•
8th Grade
10 questions
UF465 - Tema 2

Quiz
•
8th Grade - Professio...
12 questions
7 клас. Підсумкова робота "Циклічні алгоритми""

Quiz
•
7th Grade
14 questions
Паскаль repeat - until- for

Quiz
•
8th Grade
11 questions
Programare cu C++ nivel medie 8

Quiz
•
6th - 8th Grade
10 questions
С++ цикл for

Quiz
•
6th - 9th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade