Diploma Computer Science 3rd Sem Programming With 'C' April/May 2016 Question Paper
Section-I
1.(a)Fill in the blanks:(i)_____Operators are used to compare two quantities.
(ii)ASCII stands for_____.
(iii)The string function that compares two strings is_____.
(iv)_____is a collection of elements of the same data type.
(v)_____is a sequence of characters that is treated as a single data item.
(b)Explain for statement with an example.
Section-II
2.(a)Define constant.(b)Explain built-in data types in C with an example.
3.(a)Explain increment and decrement operators with an example.
(b)Define variable. List the rules for naming variable.
4.(a)Write a note on precedence rules of arithmetic operators.
(b)Explain printf() statement with an example.
5.(a)Explain switch statement with an example.
(b)Write a program to reverse a given integer.
