wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

C Programming Quiz Bridge Course-2024

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Who developed the C programming language?

a)

Tim Berners-Lee

b)

Bill Gates

c)

Dennis Ritchie

d)

Linus Torvalds

2.

Which of the following is a feature of C programming?

a)

Interpreted Language

b)

Garbage Collection

c)

Rich Library

d)

Object-Oriented Programming

3.

What is the basic structure of a C program?

a)

Header Files, Main Function, Body, Return Statement

b)

Variables, Loops, Functions, Arrays

c)

Classes, Objects, Methods, Inheritance

d)

HTML, CSS, JavaScript, PHP

4.

Which data type is used for whole numbers in C?

a)

int

b)

double

c)

float

d)

char

5.

What is the syntax for declaring variables in C?

a)

data_type = variable_name;

b)

variable_name = data_type;

c)

data_type variable_name;

d)

variable_name data_type;

6.

What is the purpose of a function in C?

a)

Assign values

b)

Declare variables

c)

Perform a specific task

d)

Create arrays

7.

What is an array in C?

a)

A collection of variables of different types

b)

A collection of functions

c)

A collection of variables of the same type

d)

A collection of loops

8.

What is a pointer in C?

a)

A variable that stores a value

b)

A variable that stores the memory address of another variable

c)

A variable that stores an array

d)

A variable that stores a function

9.

Which operator is used for logical 'AND' in C?

a)

&&

b)

||

c)

!

d)

=

10.

What is the output of the following code snippet in C?

int x = 5;
int y = 3;
int result = x % y;
printf("%d", result);

a)

2

b)

1

c)

0

d)

3