C programming

C programming

University

10 Qs

quiz-placeholder

Similar activities

Personal Development

Personal Development

University

10 Qs

Principles of Business Revision

Principles of Business Revision

9th Grade - University

10 Qs

Praktisi Mengajar - Java Test

Praktisi Mengajar - Java Test

University

10 Qs

Research Week 1 Review

Research Week 1 Review

University

14 Qs

EDCI 3002 GP 3

EDCI 3002 GP 3

University

12 Qs

PLAGIARISM

PLAGIARISM

University

10 Qs

Educ 1B

Educ 1B

University

10 Qs

Action Research

Action Research

University - Professional Development

10 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?

&

&&

||

!

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

Already have an account?