Switch Statement in C++

Switch Statement in C++

Assessment

Assessment

Created by

Iman Ezzat

Computers

10th - 12th Grade

37 plays

Medium

Student preview

quiz-placeholder

11 questions

Show answers

1.

Multiple Choice

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

2.

Multiple Choice

30 sec

1 pt

The _____ in switch statement is used to terminate the current sequence.

default

goto

break

jump

3.

Multiple Choice

30 sec

1 pt

The default statement is optional and it can be used anywhere inside the switch statement.

True

False

4.

Multiple Choice

30 sec

1 pt

Multiple "default" statements are allowed in switch case statement

True

False

5.

Multiple Choice

30 sec

1 pt

A nested switch statement is allowed.

True

False

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Find a similar activity

Create activity tailored to your needs using

Quizizz AI
switch

16 questions

switch

assessment

10th Grade

Java switch case

10 questions

Java switch case

assessment

6th - 12th Grade

Quiz - 10 on switch in C

15 questions

Quiz - 10 on switch in C

assessment

12th Grade

Java Quiz: Switch Case and Switch Statement

15 questions

Java Quiz: Switch Case and Switch Statement

assessment

12th Grade

C++ Switch Statement

11 questions

C++ Switch Statement

assessment

10th - 12th Grade

switch cases

15 questions

switch cases

assessment

11th Grade

JAVA switch statement

6 questions

JAVA switch statement

assessment

9th - 12th Grade

ONE 6th FORM Switch Case

15 questions

ONE 6th FORM Switch Case

assessment

11th Grade