C For Loop

C For Loop

University

5 Qs

quiz-placeholder

Similar activities

C++ set4

C++ set4

University

10 Qs

C Do While Loop

C Do While Loop

University

5 Qs

PROJECT LIFECYCLE

PROJECT LIFECYCLE

University

10 Qs

CE Quiz 1- Feedback and Non-feedback System

CE Quiz 1- Feedback and Non-feedback System

University

10 Qs

CSCI 1301 - Chapter 5 A

CSCI 1301 - Chapter 5 A

University

8 Qs

Java Quiz

Java Quiz

University

10 Qs

Arduino ELESA

Arduino ELESA

University

10 Qs

Asset Redistribution

Asset Redistribution

University

10 Qs

C For Loop

C For Loop

Assessment

Quiz

Other

University

Medium

Created by

Azrinna Muhamad

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