C programming

C programming

University

10 Qs

quiz-placeholder

Similar activities

Different Types of Denture

Different Types of Denture

University

12 Qs

From Supplier to Customers

From Supplier to Customers

University

10 Qs

Usability & Accessibility

Usability & Accessibility

University

10 Qs

Pengantar Jaringan Komputer

Pengantar Jaringan Komputer

University

10 Qs

Test you understanding!

Test you understanding!

University

10 Qs

External Lab AMC-105

External Lab AMC-105

University

12 Qs

Chapter 2: Exercise Prescription

Chapter 2: Exercise Prescription

University

10 Qs

Do you know your animals?

Do you know your animals?

KG - Professional Development

12 Qs

C programming

C programming

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

fiza pittcomel

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you have to make decision based on multiple choices, which of the following is best suited?

if

if-else

if-else-if

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A switch statement is used to

To use switching variable

Switch between function in a program

Switch from one variable to another variable

To choose from multiple possibilities which may arise due to different values of a single variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of ‘grade’ after the switch statement is executed?

A

B

C

E

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If switch feature is used, then

Default case must be present

Default case, if used, should be the last case

Default case, if used, can be placed anywhere

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find an integer constant.

3.142

'2.5'

31

NONE OF THE ABOVE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Data type of the controlling statement of a SWITCH statement cannot of the type:

int

char

short

float

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not logical operator?

&

&&

||

!

Access all questions and much more by creating a free account

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

Already have an account?