C Language - DMCA - Se
C Language - DMCA - Se
C Programming
Course Code: DMCA
NOTE:
1. There are four parts in this module/paper. This module contains MCQ, true/false &
fills in the blanks or match making questions.
2. All questions are compulsory
3. Don’t use whitener/correction pen.
4. No number will be given for overwriting or cutting
1) An escape sequence commence with? 12) The modulus operator uses ___ character?
a) + b) *
a) \ c) / d) %
b) /
c) ?
d) #
13) What does flowchart represent in an algorithm?
a) execution b) statement
2) The errors that can be pointed out by the compiler are? c) program d) graphical
a) Syntax error
b) Semantic error 14) Which symbol being used in decision point in a
c) Logical error flowchart?
d) None of the above a) Circle b) diamond
c) rectangle d) parallelogram
3)Which keyword is used to prevent any changes in the variable
within a C program?
a) immutable b) mutable 15) Choose a correct statement about C structures.?
c) const d) volatile a) A structure enables display of folder structure in OS.
B) A structure enables erasing contents in a folder in OS.
4) What is the size of double data type? c) A structure enables to detect and respond to mouse clicks.
a) 1 b) 4 d) All the above
c) 8 d) None of Above
16)The default access specifer for the class members is?
5) Which symbol define the end of a statement? a) public b) private
a) colon b) Semi-Colon
c) protected d) None of the above.
c) back-slash d) none of above
6) Which of the following is a reference data type? 17) #include<stdio.h> what .h represent?
a) Int b) float a) hash b) home
c) double d) String c) header file d) none of Above
7) sizeof() function uses which type of format specifier? 18) What does conio.h represent?
a) %d b) %f a) console Input/Output b) connect Input/Output
c) %lf d) none of above c) constructor Input/output d) class Input/output
8) Which of the following keyword in C let’s remain in loop,
but skip ahead to the next iteration? 19) What is a generic class?
a) break b) goto a) Function template b) Class template
c) continue d) none of above c) Inherited class d) none of above
9) Which of the following is the reference data type? 20) How do you accept a Multi Word Input in C Language.?
a) int b) union a) SCANF b) GETS
c) double d) char
c) GETC d) FINDS
10) Which keyword used to declare local variable to global
variable?
a) const b) global
c) static d) none of above