
Programare cu C++ medie 9

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ali Cabas
Used 7+ 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
if(a==0) break;
int a, s=0, cnt=0;
while(a>0) {
s+=a%10;
a=/10; }
while(cin>>a)
if(s%2==0) cnt++;
s=0; };
cout << cnt;
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
57
a%1000
105
a/1000*100+a%100
0
a/10000+a%10
3157
a/100%10
10
a%10000/10
6.
MATCH QUESTION
1 min • 1 pt
Care potriveste daca a=35053
35053
while(a>99)
a=a/10;
350
while(a%2==1)
a=a/10;
3
while(a>9)
a=a/10;
35
while(a%10==3)
a=a/10;
3505
while(a>0) {
nr=nr*10+a%10;
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
14 questions
Câu Lệnh lặp (1)

Quiz
•
8th Grade
15 questions
KIỂM TRA THƯỜNG XUYÊN TIN 8 KÌ 2_22-23

Quiz
•
8th Grade
11 questions
Year 7 Repetition

Quiz
•
7th Grade
10 questions
Цикл While в Python

Quiz
•
8th Grade
15 questions
Gmetrix HTML/CSS Session 3 Test

Quiz
•
7th - 12th Grade
11 questions
Исполнитель Робот 2 урок.

Quiz
•
7th Grade
15 questions
HTML Quiz

Quiz
•
7th - 12th Grade
12 questions
Year 7 Python

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade