looping and branching statements in C

looping and branching statements in C

9th Grade

20 Qs

quiz-placeholder

Similar activities

CodeHS Arraylist

CodeHS Arraylist

9th - 12th Grade

25 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

CSA Array Unit Test

CSA Array Unit Test

9th Grade

17 Qs

Java: Chapter 18 Exam

Java: Chapter 18 Exam

9th - 12th Grade

20 Qs

Java Quiz - Frankenberger 2022

Java Quiz - Frankenberger 2022

9th - 12th Grade

25 Qs

Third Day Quiz

Third Day Quiz

8th - 9th Grade

15 Qs

Тема: Массивы 9 класс информатика 3 четверть

Тема: Массивы 9 класс информатика 3 четверть

9th Grade

25 Qs

APCSA Unit 7

APCSA Unit 7

9th - 12th Grade

25 Qs

looping and branching statements in C

looping and branching statements in C

Assessment

Quiz

Computers

9th Grade

Medium

Created by

GEETHAKUMAR CSC

Used 78+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?