Note: Attempt six questions in all. Q. No. 1 is compulsory.
1. Answer any five of the following (limit your answer in 50 words). (3x5=15)
a) What is an operating system?
b) What are the characteristics of algorithm?
c) What are the arithmetic operators? Explain.
d) Explain if statement with syntax and example.
e) Explain the syntax of while and do while loop.
f) Explain the importance of array.
g) What is general format of a structure?
h) Explain C – preprocessor?
2. a) Explain the architecture of UNIX operating system. (6)
b) Differentiate call by value and call by reference. Give an example.(6)
3. a) What are operators? Explain all types of control statement. (6)
b) Write a program in C to calculate volume of sphere. (6)
4.a) Explain scope rules and global. (6)
b) Write a program in C to print whether the given number is even or odd. (6)
5.a) Write a program in C to calculate factorial of a given integer number. (6)
b) Write a program in C to generate table for a given number? (6)
6.a) What is multidimensional array? Explain memory representation of it. (6)
b) Write a program in C to calculate the sum of even number in given ten elements array? (6)
7.a) Explain function calling technique with an example. (6)
b) Write a program in C to search a number in given n size array. (6)
8.a) Explain linear search and sequential search with the help of example. (6)
b) Write a program in C to sort a given array of integer. (6)