c language quiz

c language quiz

University

9 Qs

quiz-placeholder

Similar activities

C Programming

C Programming

University

5 Qs

Operators in C

Operators in C

University

6 Qs

Programmeerimiskeeled

Programmeerimiskeeled

10th Grade - University

12 Qs

OS with C programming

OS with C programming

University

12 Qs

Estructurada- Diagramas de Flujo

Estructurada- Diagramas de Flujo

University

11 Qs

Week 9 - Functions and Pointers

Week 9 - Functions and Pointers

University

14 Qs

Struct

Struct

University

8 Qs

C Basics

C Basics

University

12 Qs

c language quiz

c language quiz

Assessment

Quiz

Computers

University

Hard

Created by

ekta dureja

Used 491+ 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");

​​​}

}