Search Header Logo

Programming Concepts in C - Quiz-II

Authored by Jothi Antony

Computers

University

Used 14+ times

Programming Concepts in C - Quiz-II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Every line in a C program should end with a -----------------------

colon (:)

semicolon(;)

comma(,)

fullstop(.)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Switch statement is a -----------------------------

multi-way decision

one-way-decision

two-way decision

all above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Commonly used input function is ----------

scanf()

printf()

total()

above all

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In switch() statement, the case labels must end with ----------

colon(:)

semicolon(;)

dot(.)

none

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

switch() statement should have at most ------------------ label

(a)  

6.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

---------------- statement should be the last statement in each case in switch() statement

(a)  

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

while() loop is a ---------------------------- control loop

entry

exit

all above

none

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?