
Programare cu C++ nivel medie 6
Authored by Ali Cabas
Computers
6th - 8th Grade
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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==1 && a%10<m) m=a%10;
a=a/10; }
suma cifrelor pare
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==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/1000>0
cifra miilor par
a%2==0
ultima cifra par
a%100
are cel putin 4 cifre
a/1000%10%2==0
numarul obtinut din ultimele 2 cifre
4.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine.
while(a>0) {
if(a%10>m) {
m=a%10;
c=1; }
cin >> n;
for(int i=0; i<n; i++) {
cin >> a;
int n, a, m=0, c=0;
}
cout << m << " " << c;
}
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; }
Access all questions and much more by creating a free account
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
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
10 questions
VEXcode VR Unit 4 Quiz
Quiz
•
6th - 8th Grade
15 questions
Python - тест
Quiz
•
1st - 12th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
Intro to CSS
Quiz
•
7th - 8th Grade
10 questions
HTML
Quiz
•
7th Grade
10 questions
Test Excel
Quiz
•
7th - 8th Grade
14 questions
Logičke izjave i funkcije
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade