С++ цикл for

С++ цикл for

6th - 9th Grade

10 Qs

quiz-placeholder

Similar activities

Bài 8. THƯ ĐIỆN TỬ

Bài 8. THƯ ĐIỆN TỬ

6th Grade

10 Qs

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

1st - 10th Grade

10 Qs

Copyright & Fair Use scenarios

Copyright & Fair Use scenarios

6th - 8th Grade

8 Qs

informatika 8 bab 1&2

informatika 8 bab 1&2

8th Grade

15 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

Електронні таблиці Exel

Електронні таблиці Exel

1st - 12th Grade

12 Qs

5.3. Запис математичних виразів на мові Python

5.3. Запис математичних виразів на мові Python

8th Grade

13 Qs

Latihan Format Cell

Latihan Format Cell

8th - 9th Grade

10 Qs

С++ цикл for

С++ цикл for

Assessment

Quiz

Computers

6th - 9th Grade

Practice Problem

Hard

Created by

Anastasiia Maslechko

Used 4+ 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

30 sec • 1 pt

for (int i = 0; i < 5; i= i+2){
cout << i << ' ';}

0 1 2 3 4 5

2 3 4 5

2 4 6

0 2 4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for (int i=8; i > 5; i--){

cout << i << " ";}

8 7 6

8 7 6 5

7 6 5

7 6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for (int i = 5; i * i < 100; i++){

cout << i << ' ';}

25 36 49 64 81

5 6 7 8 9 10

5 6 7 8 9

ошибка

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for (int i = 10; i<100; i = i*2){

cout << i << ' ';}

10 20 30 40 50 60 70 80 90

20 40 60 80

10 20 40 80

ошибка

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

for (int i=100; i < 150; i++){

if (i % 10 == 0) {cout << i/10 << " ";}}

10 11 12 13 14

100 110 120 130 140

10 10 10 10 10

ошибка

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

for (int i = 0, s=0; i<= 5; i++){

if (i%2==1) s = s+i;}

cout << s;

0

9

4

5

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

for (int i = 0, p=0; i<= 5; i++){

if (i%2==1) p = p*i;}

cout << p;

1

5

15

0

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?