wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

C PROGRAMMING BASICS-QUIZ-1

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

C is developed by______________

a)

Dennis Franklin

b)

Dennis Ritche

c)

Dennis williams

d)

Dennis John

2.

C is a ____________ programming language

a)

Object oriented Programming

b)

Procedure oriented Programming

c)

Structured programming language

d)

Structure and Procedure Oriented Programming

3.

_______________to be included to use standard I/O functions : prinf(),scanf()

a)

#include<conio.h>

b)

#include<stdio.h>

c)

#include<string.h>

d)

#include<math.h>

4.

________to be included to use mathematical functions sqrt()

a)

#include<conio.h>

b)

#include<string.h>

c)

#include<math.h>

d)

#include<stdio.h>

5.

All statements should be written in lower case letters. Upper case letters are only used for symbolic constants.

a)

True

b)

False

6.

Blank spaces can be used while declaring a variable, keyword, constant and function.

a)

True

b)

False

7.

The user can also write one or more statements in one line by separating semicolon (;)

a)

True

b)

False

8.

The opening and closing braces should be balanced.

a)

True

b)

False

9.

Constants are classified as____________

a)

Literal constants

b)

Qualified constants

c)

Symbolic constants

d)

All

10.

A variable is an entity whose value ____________ during the execution of a program

a)

can change

b)

cannot change

11.

A constant is an entity whose value _______________ during the execution of a program

a)

can changed

b)

can't be changed

12.

Which is correct example for variable declaration?

a)

int a;b;c;

b)

Int a,b,c;

c)

int a,b,c;

d)

int a,b;c;

13.

What are the Relational operators?

a)

<< , >>

b)

+, -, !, ~, ++, - -, &, sizeof

c)

*, /, %

d)

<, <=, >, >=

14.

The sizeof operator returns the size of its operand in bytes

a)

True

b)

False

15.

Address-of Operator is used to find the address of a data object. Example: &a

a)

True

b)

False