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

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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;
cin >> n;
for(int i=0; i<n; i++)
{
cin >> a;
if(a%2==0) cnt++;
else {
if(cnt>maxcnt) maxcnt=cnt;
cnt=0;
} }
cout << maxcnt;
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
Bài tập Tin học lớp 4
Quiz
•
1st - 12th Grade
10 questions
Reliable or Unreliable
Quiz
•
5th - 6th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
13 questions
topologies
Quiz
•
7th - 8th Grade
10 questions
Formatting a Spreadsheet
Quiz
•
6th Grade
11 questions
CAPÍTULO 1 NETWORKING ESSENTIALS
Quiz
•
1st - 12th Grade
10 questions
For loop
Quiz
•
8th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade