Chapter 5 loops structure

Chapter 5 loops structure

10th Grade

20 Qs

quiz-placeholder

Similar activities

Test

Test

KG - University

25 Qs

computer Lab Manners

computer Lab Manners

5th - 10th Grade

19 Qs

Tin 10 - Bái 21 - 22 - 23

Tin 10 - Bái 21 - 22 - 23

10th Grade

16 Qs

Trắc nghiệm Tin 10-Chủ đề A

Trắc nghiệm Tin 10-Chủ đề A

10th - 11th Grade

20 Qs

الوحدة 1- الشبكات السلكية واللاسلكية والانترنت -  حاسب 2

الوحدة 1- الشبكات السلكية واللاسلكية والانترنت - حاسب 2

10th - 12th Grade

20 Qs

UNIT 1.2 MEMORY

UNIT 1.2 MEMORY

10th Grade

19 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 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?