JAVA SWITCH CASE

JAVA SWITCH CASE

10th Grade - University

20 Qs

quiz-placeholder

Similar activities

Programming concepts in c - Quizizz-III

Programming concepts in c - Quizizz-III

University

20 Qs

PF_Q1_IT1104

PF_Q1_IT1104

University

20 Qs

PHP_inst_sterujące

PHP_inst_sterujące

11th Grade

21 Qs

'C'Programming Basics - Prepared by Feroz Khan A.B

'C'Programming Basics - Prepared by Feroz Khan A.B

University

15 Qs

Java Decision/Selection Self-Check

Java Decision/Selection Self-Check

9th - 12th Grade

20 Qs

Условни Оператори

Условни Оператори

9th - 12th Grade

16 Qs

Programming Concepts in C

Programming Concepts in C

University

20 Qs

C Programming Quiz(session2)

C Programming Quiz(session2)

10th Grade

21 Qs

JAVA SWITCH CASE

JAVA SWITCH CASE

Assessment

Quiz

Computers

10th Grade - University

Medium

Created by

Rakhi M

Used 66+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SWITCH is more suitable compare to NESTED IF when there are more than 3 or 4 condition

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step to making a switch statement

Break;

Case();

Cheeseburger

Name the statement

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The data type of the variable in the switch and value of a case must not be of the same type.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the start of a different instance in a switch

BReaK;

Case()

START

I'm tired

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can have any number of case statements within a switch

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When the variable being switched on is equal to a case, the statements following that case will execute until a _____ statement is reached.

goto

stop

break

default

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Should you declare a data type for a Switch Loop?

Yes

No

Maybe So

.

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?