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

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 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
if(s%2==0) cnt++;
s=0; };
cout << cnt;
while(cin>>a)
int a, s=0, cnt=0;
while(a>0) {
s+=a%10;
a=/10; }
if(a==0) break;
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
57
a/1000*100+a%100
3157
a%10000/10
10
a/100%10
105
a/10000+a%10
6.
MATCH QUESTION
1 min • 1 pt
Care potriveste daca a=35053
35053
while(a>0) {
nr=nr*10+a%10;
a=a/10; }
3
while(a%2==1)
a=a/10;
3505
while(a>9)
a=a/10;
350
while(a%10==3)
a=a/10;
35
while(a>99)
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
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
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
14 questions
Introduction to Networks
Quiz
•
6th - 8th Grade
12 questions
JUEGO - UNIDADES DE MEDIDA DE ALMACENAMIENTO
Quiz
•
1st - 10th Grade
15 questions
Quiz sobre Software
Quiz
•
7th Grade
12 questions
Revision quiz on Access
Quiz
•
8th Grade
13 questions
Mappaszerkezet
Quiz
•
5th - 6th Grade
10 questions
Konsep Routing
Quiz
•
1st - 10th Grade
11 questions
TMK Tahun 6 - Pengaturcaraan -Unit 1
Quiz
•
5th - 6th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade