C second module quiz

C second module quiz

Professional Development

25 Qs

quiz-placeholder

Similar activities

PC Troubleshooting

PC Troubleshooting

Professional Development

20 Qs

Examen de Electrónica

Examen de Electrónica

Professional Development

20 Qs

U.T. 7: Configuración de Routers y Encaminamiento

U.T. 7: Configuración de Routers y Encaminamiento

Professional Development

20 Qs

NM-BIG DATA Course

NM-BIG DATA Course

Professional Development

20 Qs

PC Tech Quiz 1

PC Tech Quiz 1

Professional Development

20 Qs

General test

General test

Professional Development

20 Qs

PHP & MySQL - parte 1

PHP & MySQL - parte 1

9th Grade - Professional Development

20 Qs

Diagnóstico DSWTL

Diagnóstico DSWTL

University - 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

AI

Enhance your content in a minute

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

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?