c language quiz

c language quiz

University

9 Qs

quiz-placeholder

Similar activities

Introduction to AI - Healthcare & Business

Introduction to AI - Healthcare & Business

University - Professional Development

10 Qs

Chapter 2 Testing Throughout the SDLC

Chapter 2 Testing Throughout the SDLC

University

9 Qs

LA7.C7: Turtle Graphics

LA7.C7: Turtle Graphics

9th Grade - University

14 Qs

CompTIA Core 2  20221023

CompTIA Core 2 20221023

University

10 Qs

Repaso algoritmos

Repaso algoritmos

University

10 Qs

DSA - Intro

DSA - Intro

University

10 Qs

Topic 4-2: Multiple if-else and switch-case

Topic 4-2: Multiple if-else and switch-case

University

10 Qs

PAINT 1° PRIM

PAINT 1° PRIM

University

10 Qs

c language quiz

c language quiz

Assessment

Quiz

Computers

University

Hard

Created by

ekta dureja

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

​​​}

}