c language quiz

c language quiz

University

9 Qs

quiz-placeholder

Similar activities

CS6801- Multi­core Architectures and Programming

CS6801- Multi­core Architectures and Programming

University

10 Qs

Plot the Code

Plot the Code

University

10 Qs

C - Pointers

C - Pointers

University

10 Qs

Expression in C Programming

Expression in C Programming

University

10 Qs

B2B: Intro to C

B2B: Intro to C

University

10 Qs

Arrays in C (II yr 02.07.2020)

Arrays in C (II yr 02.07.2020)

University

10 Qs

Test in C Language

Test in C Language

University

10 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

c language quiz

c language quiz

Assessment

Quiz

Computers

University

Hard

Created by

ekta dureja

Used 485+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the function cannot be a structure member?

Another structure

Function

Array

None

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

void main()

{

​​​int color=2;

​​​switch(color)

​​​{

​​​​case 0: printf("black");

​​​​case 1: printf("blue");

​​​​case 2: printf("Green");

​​​​case 3: printf("aqua");

​​​​default:printf("other");

​​​}

}

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following is an invalid assignment operator?

A%=10;

A/=10;

A|=10

none

4.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Assignment statements assigning value to local static variables are executed only once

true

false

depends upon compiler

none

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

6

7

8

9

6.

OPEN ENDED QUESTION

30 sec • 1 pt

How would you describe your experience with us?

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

find output

22

23

24

25

8.

OPEN ENDED QUESTION

30 sec • 1 pt

Media Image

how would you rate us?

Evaluate responses using AI:

OFF

9.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

void main()

{

​​​int color=2;

​​​switch(color)

​​​{

​​​​case 0: printf("black");

​​​​case 1: printf("blue");

​​​​case 2: printf("Green");

​​​​case 3: printf("aqua");

​​​​default:printf("other");

​​​}

}