C For Loop

C For Loop

University

5 Qs

quiz-placeholder

Similar activities

QUIZ 1

QUIZ 1

University

10 Qs

Python Summer internship quiz 4

Python Summer internship quiz 4

University

10 Qs

Embedded programing - Day1

Embedded programing - Day1

University

10 Qs

C Do While Loop

C Do While Loop

University

5 Qs

Java Quiz

Java Quiz

University

10 Qs

Review of Genitourinary System

Review of Genitourinary System

University

10 Qs

Aseptic Culture Transfer Techniques

Aseptic Culture Transfer Techniques

University

10 Qs

Arduino ELESA

Arduino ELESA

University

10 Qs

C For Loop

C For Loop

Assessment

Quiz

Other

University

Medium

Created by

Azrinna Muhamad

Used 20+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

0 1 2

1 2 3

0 1 2 3

1 2 3 4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will the loop execute?

5

6

7

8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

1 2 3 4

1 4 9 16

1 8 27 64

1 4 9 16 25

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the value of i after the loop terminates?

5

4

0

6

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will the inner loop execute in the following nested loop?

3

2

6

5