
Programare cu C++ medie 10

Quiz
•
Computers
•
6th - 8th Grade
•
Easy
Ali Cabas
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
Daca a=237000
Care se potriveste?
2
while(a>0) {
if(a%2==0)cnt++;
a=a/10; }
2
while(a%2==0) {
cnt++;
a=a/10; }
237
while(a%10==0) {
a=a/10; }
4
while(a>9) {
a=a/10; }
3
while(a>0) {
if(a%2==1)cnt++;
a=a/10; }
2.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine
cout << cnt;
while(cin>>a) {
if(a==0) break;
if(s%2==0) cnt++;
s=0; }
while(a>0) {
s+=a%10;
a/=10; }
int a, cnt=0, s=0;
3.
MATCH QUESTION
1 min • 1 pt
Gasiti numarul de aparitie.
125
for(i=0; i<5; i++) {
for(j=0; j<5; j++)
for(k=0; k<5; k++)
cnt++;
}
25
for(i=0; i<10; i++) {
for(j=0; j<5; j++)
cnt++;
}
100
for(i=0; i<5; i++) {
for(j=i; j<5; j++)
cnt++;
}
50
for(i=0; i<10; i++) {
for(j=0; j<10; j++)
cnt++;
}
15
for(i=0; i<5; i++) {
for(j=0; j<5; j++)
cnt++;
}
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Daca a=120 si b=75
while(a%2==0) a=a/2;
while(b%5==0) b=b/5;
a si b devine?
0 0
5 2
30 15
15 3
5.
DRAG AND DROP QUESTION
1 min • 1 pt
Afisam primele 10 numere fibonacci (1 1 2 3 5 8 13 21 34 55) :
int a=1, b=1, c;
for(int i=0; i< (a) ; i++) {
(b)
(c) a=b; (d)
}
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Daca avem
8 23
1213 445 42146 32322 234234 23 452 1432
Ce afiseza progamul
23 1432
Numere Insuficiente
234234 23
1432 1432
7.
MATCH QUESTION
1 min • 1 pt
Care se potriveste?
45
for(i=0; i<10; i++) {
for(j=0; j<i+1; j++)
cout << "*"; }
100
for(i=0; i<5; i++) {
for(j=0; j<i+1; j++)
cout << "*"; }
15
for(i=0; i<10; i++) {
for(j=0; j<5; j++)
cout << "*"; }
50
for(i=0; i<5; i++) {
for(j=0; j<5; j++)
cout << "*"; }
25
for(i=0; i<10; i++) {
for(j=0; j<10; j++)
cout << "*"; }
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Programare cu C++ nivel incepatori 5

Quiz
•
6th - 8th Grade
10 questions
С++ цикл for

Quiz
•
6th - 9th Grade
13 questions
BÀI THỰC HÀNH 2

Quiz
•
7th - 8th Grade
10 questions
Programare cu C++ nivel medie 5

Quiz
•
6th - 8th Grade
11 questions
Строки в с++

Quiz
•
8th Grade
10 questions
Programare cu C++ nivel incepatori 2

Quiz
•
6th - 8th Grade
10 questions
C++

Quiz
•
7th - 8th Grade
12 questions
C++ References

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th 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
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
16 questions
Clovis Unified Student Use of Technology

Quiz
•
4th - 8th Grade
13 questions
Digital Citizenship

Quiz
•
6th Grade
11 questions
Technology Acceptable Use

Quiz
•
6th - 8th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade