
Programare cu C++ medie 9

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ali Cabas
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
for(int i=0; i<100; i++) {
if(i%2==0) continue;
else cout << "*"; }
Cate * afiseaza?
100
0
1
50
2.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine
while(cin>>a)
int a, s=0, cnt=0;
if(s%2==0) cnt++;
s=0; };
cout << cnt;
if(a==0) break;
while(a>0) {
s+=a%10;
a=/10; }
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if( (a%2==0 && a%3==0) || (a%5==1 && a>99 && a<1000) )
375
121
76
3176
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
while(a>9) {
ca=a; s=0;
while(ca>0){
s+=(ca%10)*(ca%10);
ca=ca/10; }
a=s; }
cout << a;
Ce afiseaza daca a=89
1
145
4
20
5.
MATCH QUESTION
1 min • 1 pt
Daca a=31057
0
a/1000*100+a%100
3157
a/100%10
105
a%10000/10
10
a/10000+a%10
57
a%1000
6.
MATCH QUESTION
1 min • 1 pt
Care potriveste daca a=35053
3
while(a>0) {
nr=nr*10+a%10;
a=a/10; }
3505
while(a%10==3)
a=a/10;
35
while(a>99)
a=a/10;
350
while(a%2==1)
a=a/10;
35053
while(a>9)
a=a/10;
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for(int i=0; i<100; i++) {
if(i%2==1) break;
else cout << "*"; }
50
100
1
0
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Wprowadzenie do C++

Quiz
•
8th Grade
10 questions
Reference and Pointers in C++

Quiz
•
6th - 8th Grade
10 questions
Informatica

Quiz
•
6th Grade
8 questions
Structura secventiala

Quiz
•
6th - 8th Grade
10 questions
Instructiunea If

Quiz
•
6th Grade
14 questions
Evaluare algoritmi structuri de control clasa VIII

Quiz
•
8th Grade
12 questions
C++ References

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

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade