looping and branching statements in C

looping and branching statements in C

9th Grade

20 Qs

quiz-placeholder

Similar activities

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

Google

Google

7th - 12th Grade

20 Qs

CSS Acronyms

CSS Acronyms

9th - 10th Grade

20 Qs

Sustainable Developments Goals

Sustainable Developments Goals

6th - 12th Grade

17 Qs

Unit Test 1 Class 8 Computer

Unit Test 1 Class 8 Computer

8th - 9th Grade

20 Qs

HTML5 Basics

HTML5 Basics

7th - 10th Grade

20 Qs

BTEC Theory quiz 1: Networks and Internet

BTEC Theory quiz 1: Networks and Internet

8th - 11th Grade

16 Qs

7.3 representing data + spreadsheet recap

7.3 representing data + spreadsheet recap

8th - 10th Grade

18 Qs

looping and branching statements in C

looping and branching statements in C

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

GEETHAKUMAR CSC

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

30 sec • 1 pt

Select different parts of "for" looping statement-

Initialization part

Condition Part

Update part

All of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following code- for(int i = 1; i < 5; i++ )

{

System.out.print(i);

}

13

135

1234

12345

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________ in programming come into use when we need to repeatedly execute a block of statements.

nested for loop

none

for loop

loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The __________ statement uses single expression for multiple choices

loop

switch

multiple value

if else

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

in __________ the controlling condition appears at the start of the loop and _______ at the end of the loop

While / Do while

Do while/While

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If there is more than one statement in the block of a for loop, which of the following must be placed at the beginning and the ending of the loop block? a.  b.  c. . d. 

parentheses ( )
braces { }
brackets [ ]
arrows < >

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an Array?

A group of elements of same data type.

An array contains more than one element

Array elements are stored in memory in continuous or contiguous locations.

All the above.

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?