wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

c fundamentals

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

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.

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.

2.C language was invented to develop which Operating System.?

a)

Android

b)

Linux

c)

Ubuntu

d)

Unix

4.

Which of the following is not correct data type in C ?

a)

int

b)

char

c)

real

d)

float

5.

Compiler will generate source code from machine code

a)

True

b)

False

6.

Which is correct operator to compare two variables in C?

a)

=

b)

==

c)

equal to

d)

+=

7.

Who is the father of C language?

a)

Steve Jobs

b)

James Gosling

c)

Dennis Ritchie

d)

Rasmus Lerdorf

8.

What is the output of following program?

a)

0

b)

1

c)

2

d)

3

9.

Guess the output?

a)

3

b)

-4

c)

4

d)

Compile error

10.

#include is the

a)

header file

b)

body function

c)

comment

d)

preprocessor directive

11.

Which is the keyword in C language?

a)

number

b)

char

c)

integer

d)

function

12.

Which are NOT in the Basic / Primary Data Types?

a)

array

b)

integer

c)

character

d)

float

13.

The escape sequence "\n" is refer to

a)

moves to next vertical tab

b)

moves to next line

c)

moves next vertical tab

d)

moves beginning of the line

14.

The symbol '&' is namely as

a)

Caret

b)

Apostrophe

c)

Semikolon

d)

Ampersand

15.

Which data type is suitable for the following variable?

Address

a)

float

b)

boolean

c)

character

d)

integer