What are the characteristics of array? Write a program to input age of 500 persons and display the following: a) Average age b) Age between 25 to 30 [2+8]
Control Statement
1.
Write a program to display the following series up to 25 terms but do not print the 7th term. 2×3, 3×5, 4×7, 5×9... [5]
Elements of C
1.
Explain the basic structure of C Programming. [5]
2.
Write short notes on: a) Global variable b) Debugging Debugging [2.5+2.5]
File Handling in C
1.
Explain different file opening modes. [5]
Functions
1.
Differentiate between library function and user defined function. Write a program to swap two values using call by reference concept. [2+8]
2.
Write a program to display first 50 prime numbers. [5]
3.
Demonstrate the use of recursive function with a suitable example. [5]
Input and Output
1.
Describe different formatted input and output functions. Why do we use them? [4+1]
Introduction to Graphics
1.
Write a program to draw two shapes of your choice using graphics function. [5]
Operators and Expression
1.
List different types of operators. Explain any four of them [2+8]
Structure and Union
1.
Create a structure called STUDENT with data members SID, name, address, CGPA. Write a program to initialize the value of 100 students and display the information of those students whose address is "KTM" and CGPA is between 3.5 to 4. [5]