wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

basics

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which of these is not a correct variable data type?

a)

int

b)

float

c)

real

d)

char

2.

Who is know as founder of C language

a)

Dennis Ritchie

b)

Bjarne Stroustroup

c)

Tim Berner Lee

d)

Rasmus Ledorf

3.

C is a

a)

Low level language

b)

Assembly language

c)

Medium level language

d)

High level language

4.

Which punctuation ends most of the lines of C code?

a)

.

b)

;

c)

,

d)

" "

5.

The starting point of C execution at

a)

==

b)

main()

c)

function()

d)

!=

6.

how to represent single line comment in c programming

a)

//

b)

/*

-----

-----

*/

c)

\\

d)

/*

-----

----- /*

7.

how to give Multi line comment in c programming

a)

/* */

b)

//

c)

*/ */

d)

\\

8.

integer used for

a)

number

b)

alphabets

c)

words

d)

names

9.

float is used for

a)

names

b)

numbers

c)

point values

d)

words

10.

char is used for

a)

point values

b)

words

c)

alphabets

d)

names

11.

stdio.h stands for

a)

standard input output header file

b)

standard output input header file

c)

standard header file

12.

conio.h stands for

a)

Console Input Output Header File

b)

Console Output Input Header File

c)

Console Header File

13.

printf() is.....................

a)

input read

b)

output display

c)

input and output display

14.

When we use Alt + F5 in turbo c

a)

with getch()

b)

Without getch()

c)

For full screen

15.

getch() stands for

a)

get character

b)

get choice

c)

get credit