
Programare cu C++ nivel medie 7
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Medium
Ali Cabas
Used 27+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if( (a%3==0 || a%5==0) || a/100%10%2==1 || a%100<10)
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Konsep Routing
Quiz
•
1st - 10th Grade
11 questions
TMK Tahun 6 - Pengaturcaraan -Unit 1
Quiz
•
5th - 6th Grade
11 questions
Jezik HTML
Quiz
•
7th Grade
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
10 questions
BÀI 8. THƯ ĐIỆN TỬ
Quiz
•
6th Grade
13 questions
CODING QUIZZ
Quiz
•
8th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
15 questions
6- sinf Elektron jadvallar bilan ishlash
Quiz
•
6th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
