Diploma Computer Science 3rd Sem Programming With 'C' April/May 2015 Question Paper
Section-I
1.(a)Fill in the blanks
i._____function used to output the result in formatted form.
ii.The size of char data type is_____byte.
iii.Every 'C' program must have one_____function.
iv.Program break sequential flow and jumps to another part of code is called_____
v.The function that are predefined are called_____
(b) Write important features of C language.
3.(a)what is the purpose of declaring a variable?
(b)write a note on increment and decrement operator.
4.(a)Explain the basic data type of 'C'.
(b)Explain the if else statement with an example.
5.(a)With an example, explain Syntax of switch statement.
(b)Write a program to find the factorial of a given number.
i._____function used to output the result in formatted form.
ii.The size of char data type is_____byte.
iii.Every 'C' program must have one_____function.
iv.Program break sequential flow and jumps to another part of code is called_____
v.The function that are predefined are called_____
(b) Write important features of C language.
Section-II
2.(a)Explain the basic structure of 'C' programme
(b)Write a note on preprocessor directive.3.(a)what is the purpose of declaring a variable?
(b)write a note on increment and decrement operator.
4.(a)Explain the basic data type of 'C'.
(b)Explain the if else statement with an example.
5.(a)With an example, explain Syntax of switch statement.
(b)Write a program to find the factorial of a given number.