Chapter 5 loops structure

Chapter 5 loops structure

10th Grade

20 Qs

quiz-placeholder

Similar activities

ETİK BİLGİ VE SİBER SUÇLAR

ETİK BİLGİ VE SİBER SUÇLAR

1st - 12th Grade

16 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

ARQUITECTURA DE COMPUTADORAS

ARQUITECTURA DE COMPUTADORAS

10th Grade

17 Qs

Dasar Kompetensi Keahlian IPv6

Dasar Kompetensi Keahlian IPv6

10th Grade

15 Qs

Evaluación 2° Tecnología

Evaluación 2° Tecnología

9th - 12th Grade

20 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Administrasi Sistem jaringan KD1

Administrasi Sistem jaringan KD1

1st - 10th Grade

20 Qs

Chapter 5 loops structure

Chapter 5 loops structure

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

Muhammad idrees Dar

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In the following for loop construct ( for(x=0; x>10; x++) ) which statement is executed only once ?

(x=0; x>10;) only

X++

x=0

X>10

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which loop is guaranteed to execute at least one time?

For loop

While loop

Do while loop

All of these

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The output of the following code will be:

main()

{

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

{

for (int j=0; j<4; j++)

{

printf("%d, %d\n",i ,j);

}

}

}

0, 0

0, 0

0, 0

0, 0

1, 1

1, 1

1, 1

1, 1

0, 0

0, 1

0, 2

0, 3

1, 0

1, 1

1, 2

1, 3

0, 1

0, 1

0, 1

0, 1

1, 0

1, 0

1, 0

1, 0

0, 1

0, 1

0, 2

0, 4

1, 0

1, 1

1, 2

1, 4

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It is compulsory to add semicolon at the end of do...while loop.

True

False

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It is compulsory to add semicolon at the end of do...while loop.

True

False

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In do while loop , the test expression is written:

beginning of loop

outside the main function

Middle of the loop

End of the loop

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In do while loop , the test expression is written:

beginning of loop

outside the main function

Middle of the loop

End of the loop

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?