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
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
Thanks
ReplyDeleteextra mcq of some of the chapter's provide me sir
ReplyDeleteThanks😊👍👍
ReplyDeleteTHANKS SIR
ReplyDeleteThanks sir
ReplyDeleteThanks sir
ReplyDeleteThanks sir
ReplyDeletethanks sir
ReplyDeletethnx a lot sir
ReplyDeleteSir can u please provide some extra mcq
ReplyDeleteNeed Solutions for laboratory exercise
ReplyDeleteI need true and false also
ReplyDeleteSir I need solutions of laboratory exercise also
ReplyDeleteYes sir, I also need laboratory exercise
DeleteThanks for help bro
ReplyDeleteThankyou so much
ReplyDeleteNice
ReplyDelete