Programare cu C++ nivel medie 3

Programare cu C++ nivel medie 3

4th - 9th Grade

10 Qs

quiz-placeholder

Similar activities

ПР_X_CPP

ПР_X_CPP

9th - 12th Grade

11 Qs

Еднодимензионални низи

Еднодимензионални низи

9th - 10th Grade

10 Qs

Reference and Pointers in C++

Reference and Pointers in C++

6th - 8th Grade

10 Qs

Structura secventiala

Structura secventiala

6th - 8th Grade

8 Qs

test-vectori-cls9

test-vectori-cls9

9th Grade

8 Qs

C++ References

C++ References

6th - 12th Grade

12 Qs

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

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

3rd - 12th Grade

10 Qs

BÀI THỰC HÀNH 2

BÀI THỰC HÀNH 2

7th - 8th Grade

13 Qs

Programare cu C++ nivel medie 3

Programare cu C++ nivel medie 3

Assessment

Quiz

Computers

4th - 9th Grade

Easy

Created by

Ali Cabas

Used 7+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care afiseaza cifra miilor si cifra zecilor

cout << a/1000 << " " << a/10;

cout << a/100%10 << " " << a%10;

cout << a/1000%10 << " " << a/10%10;

cout << a%1000 << " " << a%10;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Daca a este egal cu 23501

Dupa linie respective a devine?

a=(a/100)*10+a%10

21

201

2301

2351

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Cate stelute va fi afisat?

15

25

10

20

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Daca n=10 si sunt cele 10 numere

33 17 18 24 10 40 65 199 23 5

Ce afiseaza programul?

18 24

-1 -1

18 40

10 40

5.

REORDER QUESTION

1 min • 1 pt

Gasiti ordine

else

cout << "Mix";

int a, b, c, suma=0;

else if(a%2==1 && b%2==1 && c%2==1)

cout << "Impar";

if(a%2==0 && b%2==0 && c%2==0)

cout << "Par";

cin >> a >> b >> c;

6.

MATCH QUESTION

1 min • 1 pt

Match the following

252

if(a<100 && a%3==0)

205

if(a%100<10)

381

if(a%10==a/100%10)

315

if(a/100%10%2==1)

24

if(a%3==0 && a%5==0)

7.

DRAG AND DROP QUESTION

1 min • 1 pt

Media Image

for(int i=0; ​ (a)   ​ ;i++) {

for(int j=0; ​ (b)   ; j++)

cout << "*";

cout << endl;

}

i<n
j<n-i
i<=n
j<i+1
j<n-i-1

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?