Programare cu C++ medie 9

Programare cu C++ medie 9

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Câu lênh For- Do

Câu lênh For- Do

1st - 11th Grade

10 Qs

Основы программирования на Паскале

Основы программирования на Паскале

8th Grade

11 Qs

Câu lệnh lặp while do

Câu lệnh lặp while do

8th Grade

10 Qs

Programming - Iteration, Basic Programming Constructs & Loop

Programming - Iteration, Basic Programming Constructs & Loop

2nd - 12th Grade

10 Qs

Bài tập trắc nghiệm C++

Bài tập trắc nghiệm C++

3rd - 12th Grade

10 Qs

Условный оператор. Вспомнить всё

Условный оператор. Вспомнить всё

8th - 9th Grade

10 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

Projektowanie stron internetowych

Projektowanie stron internetowych

7th - 8th Grade

12 Qs

Programare cu C++ medie 9

Programare cu C++ medie 9

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?