wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

C keywords and identifiers

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Who is Father of C Language

a)

Bjarne Stroustrup

b)

James A. Gosling

c)

Dennis Ritchie

d)

Dr. E.F. Codd

2.

C Language is developed at ___________?

a)

AT & T's Bell Laboratories of USA in 1972

b)

AT & T's Bell Laboratories of USA in 1970

c)

Sun Microsystems in 1973

d)

Cambridge University in 1972

3.

C programs are converted into machine language with the help of

a)

An Editor

b)

A compiler

c)

An operating system

d)

None of these.

4.

Which one of the following is not a valid identifier?

a)

_examveda

b)

1examveda

c)

exam_veda

d)

examveda1

5.

Which of the following is not a correct variable type?

a)

float

b)

real

c)

int

d)

char

6.

A name having a few letters, numbers and special character _(underscore) is called

a)

keywords

b)

reserved keywords

c)

tokens

d)

identifiers

7.

Tokens representing fixed numeric or character values.

a)

identifier

b)

constant

c)

directives

8.

Words reserved for special purposes and must not be used as normal identifier names

a)

variable

b)

namespace

c)

keywords

9.

Refer to the names of variables, functions, arrays, classes etc. created by the programmer.

a)

keywords

b)

constraints

c)

identifiers

10.

The words if, else, auto, float etc. have predefined meaning and users cannot use them as variables.


These words are called

a)

keywords

b)

identifier

c)

data types

d)

constant