c++Test

c++Test

6th Grade

10 Qs

quiz-placeholder

Similar activities

Computer Fundamentals

Computer Fundamentals

2nd - 10th Grade

10 Qs

Табличні величини та алгоритми їх опрацювання.

Табличні величини та алгоритми їх опрацювання.

5th - 11th Grade

14 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

Операторы и функции языка Pascal

Операторы и функции языка Pascal

1st - 10th Grade

10 Qs

Interfacing Peripheral Komputer (Memori)

Interfacing Peripheral Komputer (Memori)

1st - 11th Grade

10 Qs

Word

Word

3rd - 7th Grade

15 Qs

QUIZZ # 1

QUIZZ # 1

1st - 12th Grade

14 Qs

AVALIAÇÃO | 2º TRIMESTRE |BLOCO 2|

AVALIAÇÃO | 2º TRIMESTRE |BLOCO 2|

6th Grade

10 Qs

c++Test

c++Test

Assessment

Quiz

Computers

6th Grade

Practice Problem

Hard

Created by

alex stefu

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ce se afiseaza in urma executarii urmatoarelor linii de cod:

int n =5;

for(int i =0;i<n;i++)

cout<<i<<"-";

0-1-2-3-4-5-
0-1-2-3-4-5-6-
0-1-2-3-4-5-6-7-
0-1-2-3-4-

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Completati urmatorul cod astfel incat mesajul de afisare sa fie : 1 3 5 7 9 11

int i =1,n=1;

while(n<= 6){

cout<<i<< " " ;

i = _____;

n++;

}

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ce se afiseaza in urma executarii urmatoarelor linii de cod:

int n =10;

for(int i =0;i<n;i++)

cout<<i--<<" ";

The code will print the numbers from 0 to 9
The code will result in an infinite loop.
The code will print the numbers from 10 to 1
The code will result in a compilation error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care este rezultatul urmatoarei operatii:

int x = 5;

int y = 3;

int z = x * y + 2;

15

17

18

20

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ce se afiseaza in urma executarii urmatoarelor linii de cod:

int n = 3;

for(int i = 0; i < n; i++)

cout << i*i << "-";

0-1-4-

0-1-2-3-

0-1-4-9-

0-1-2-3-4-

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ce se va afisa :

int i = 1;

cout << i++ << "?-?";

cout<<++i;

eroare

1?-?3

1?-?2

0-1

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ce se afiseaza?

int n = 54128;

cout<<n/100%100;

12
54
41
28

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?