STD-10 Computer Chapter:10 Introduction to C Language

1. Which of the following is an extension of C program file?
a. c
b. h
c. s
d. t

2. Which of the following number refers to number of C character categories?
a. 0
b. 2
c. 4
d. 8

3. Which of the following C character categories does the symbol = belongs?
a. Letter
b. Blank Space
c. Special Character
d. Digit

4. Which of the following is a valid keyword of C?
a. ofsize
b. sizeof
c. forsize
d. sizefor

5. Which of the following is an invalid variable name in C?
a. Register
b. RegIster
c. registre
d. register

6. Which of the following is an invalid integer constant in C?
a. 0xG
b. 0xA
c. 0xB
d. 0xD
 
7. Which of the following is valid real constant in C?
a. -2.0.5e5
b. -20.5e5.5
c. -20.5e5
d. -20.5e.5

8. Which of the following is valid single character constant in C?
a. ‘a’
b. ‘\a’
c. “a”
d. Both a and b

9. The preprocessor directive # define is used to define which of the following in C?
a. String constants
b. Symbolic constants
c. Integer constant
d. Single character constant

10. Which of the following function key is used to directly execute a program?
a. F7
b. F9
c. F5
d. F8

Manhar Rakholiya

I dont have tell them who am I, They already know me.

17 comments: