
Programare cu C++ nivel medie 6
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Medium
Ali Cabas
Used 18+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
if(a/100%10%2==1 && a%100<a/1000)
23017
1151
54215
5502
2.
MATCH QUESTION
1 min • 1 pt
Care potriveste?
while(a>0) {
if(a%2==0 && a%10>m) m=a%10;
a=a/10; }
numarul de cifre pare
while(a>0) {
if(a%2==1 && a%10<m) m=a%10;
a=a/10; }
suma cifrelor pare
while(a>0) {
if(a%2==0) cnt++;
a=a/10; }
cel mai mare cifra par
while(a>0) {
if(a%2==0) s=s+a%10;
a=a/10; }
cel mai mic cifra impar
3.
MATCH QUESTION
1 min • 1 pt
Care potriveste?
a%2==0
ultima cifra par
a/1000>0
are cel putin 4 cifre
a/1000%10%2==0
cifra miilor par
a%100
numarul obtinut din ultimele 2 cifre
4.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine.
int n, a, m=0, c=0;
}
cout << m << " " << c;
}
while(a>0) {
if(a%10>m) {
m=a%10;
c=1; }
cin >> n;
for(int i=0; i<n; i++) {
cin >> a;
else if(a%10==m)
c++;
a=a/10; }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce face programul respectiv?
sterge ultima cifra din numarul a
formeaza un alt numar cu cifre pare
se obtine inversul numarul a
sterge toate cifrele in afara de ultima cifra
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
while(a>0) {
if(a%10<a/10%10)
cout << a%10 << " ";
a=a/10; }
Daca numarul a=325143 ce afiseaza?
3 1 5 2
3 4 2 3
3 1 2
3 1 2 3
7.
DRAG AND DROP QUESTION
1 min • 1 pt
for(int i=0; i<n; i++) {
for(int j=0; j< (a) ; j++) cout << " ";
for(int j=0; j< (b) ; j++) cout << "*";
cout << endl; }
Create a free account and access millions of resources
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?
Similar Resources on Wayground
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
10 questions
CLASS 8 CODING
Quiz
•
8th Grade
10 questions
Introduccion a la programacion Web
Quiz
•
6th Grade
15 questions
HTML CSS. Тестирование 1
Quiz
•
6th - 8th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
10 questions
Word տեքստային խմբագրիչ
Quiz
•
8th - 9th Grade
14 questions
8th class December test 2020
Quiz
•
8th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
