C second module quiz

C second module quiz

Professional Development

25 Qs

quiz-placeholder

Similar activities

Quiz - I

Quiz - I

University - Professional Development

25 Qs

Quiz on Input output & if Stmts

Quiz on Input output & if Stmts

Professional Development

30 Qs

MSS Big Byte Of C

MSS Big Byte Of C

11th Grade - Professional Development

30 Qs

WOMANIA PRELIMS

WOMANIA PRELIMS

Professional Development

25 Qs

Quiz on switch_for_while_dowhile

Quiz on switch_for_while_dowhile

Professional Development

20 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

PSPC1

PSPC1

Professional Development

20 Qs

LOOPS in OOPS

LOOPS in OOPS

Professional Development

20 Qs

C second module quiz

C second module quiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

SHANIFA E

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is conditional statement in C

if

int

printf

scanf

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

a=4;

if(a%2==0)

printf("%d is even",a);

else

printf("%d is odd",a);

Write output of the above code

4 is even

a is even

4 is odd

a is odd

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

switch(expression)

{    

case value1:    

 //code to be executed;  break;  //optional  

case value2:  

//code to be executed;break;  //optional  

…..    

…… 

default:     

//code to be executed if all cases are not matched;    

}    

The above code is syntax of switch statement.True or false

False

True

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

..................... is an alternative to mulifiple if else if statement

for

if else

do while

switch

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

This is flowchart of

if

if else

switch

for

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

.................. is an entry controlled loop

while

do while

switch

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

................. is an exit controlled loop

while

do while

for

switch

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?