CERTIFICATE COURSE IN COMPUTER APPLICATION
3rd Mid-Term Examination
Programming C
Time Allowed :- 3 Hours Full Marks : 100
1. A) Explain with suitable example 2x5
i) Logical Operator, ii) Unary operator, iii) Conditional Operator, iv) Call by address, v) Data Type, vii)
Typedef, viii) Pointer ix) Do while statement x) Global Variable
B) Differentiate(any four):- 4x5
a)++i and i++, b) switch case and ladder if, c) array and pointer, d) constant and variable, e) Do While
and While Loop
C) State True or false 1 x 10
a. C is a low level language.
b. Array can hold different type of data
c. Function can return more than one value
d. Break is a keyword
e. In signed integer a bit is reserved for sign
f. Extension of header file is “.h”.
g. Execution of program starts from main().
h. A program can have more than one function
i. Void is a data type
j. C is case sensitive language
D) Write any Five Questions.` 5x5
a. What is a pointer on pointer?
b. What is keyword auto for?
c. Explain the syntax for ‘for loop’.
d. What is a static variable?
e. What is the purpose of extern storage specifier?
f. What are command line arguments?
g. What is a pointer to a function?
h. What is a NULL statement?
2. Write a Program to print the followings(any five) – 5x7
*
**
***
****
*****
3. Write a Program to check the input Character is Vowel or Consonant.
4. Write a Program to find a Big Number from input number 3 numbers.
5. Write a Program to fine Sum of 1st 10 number using While Loop.
6. Write a Program to prints Sum of Digits of input 4 Digits Number.
7. Write a Program to check the input Year is Leap Year or Not.