
Programare cu C++ nivel medie 8
Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ali Cabas
Used 29+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if((a%100/10>3 || a%1000<100) && a/100>10)
338
438
3305
3035
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce afiseaza programul?
10
9
8
5
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care linie obtine 273 din numarul 12734
a/10000%100
a/100%100+a/10%10
a%10000/10
a%10000/100
a/10000*10+a%10
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care afla numarul rasturnat?
while(a>0)
{
r=r+a%10;
a=a/10;
}
while(a>9)
{
r=r+a%10;
a=a/10;
}
while(a>0)
{
r=r*10+a%10;
a=a/10;
}
while(a>0)
{
r=r+(a%10)*10;
a=a/10;
}
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce face programul respectiv?
Gaseste cel mai mare numar par si aparitie
Gaseste cel mai mare numar par si aparitie
Gaseste cel mai mare numar cu suma cifrelor par si aparitie
Gaseste cel mai mic numar cu suma cifrelor impar si aparitie
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for(int i=0; i<100; i++)
{
if(i/10==i%10 && i>9) cnt++;
}
cout << cnt;
10
9
11
8
7.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine.
int n, cnt=0, a, maxcnt=0;
cout << maxcnt;
if(a%2==0) cnt++;
else {
if(cnt>maxcnt) maxcnt=cnt;
cnt=0;
} }
for(int i=0; i<n; i++)
{
cin >> a;
cin >> n;
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
12 questions
Programare cu C++ nivel incepatori 4
Quiz
•
6th - 8th Grade
10 questions
Baze de date
Quiz
•
8th Grade
7 questions
Structura_repetitiva_cu_test_final
Quiz
•
6th Grade - University
10 questions
Programare cu C++ nivel medie 3
Quiz
•
4th - 9th Grade
8 questions
Model Cangurul de informatica VI
Quiz
•
6th Grade
9 questions
Test inițial clasa 7 InfoTIC
Quiz
•
7th Grade
10 questions
Test BKT
Quiz
•
1st - 10th Grade
12 questions
Limbaj de programare
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
25 questions
Exploring POV and Unreliable Narrators
Quiz
•
7th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage
Quiz
•
5th - 6th Grade
