What are the benefits of using arrays?Compare one dimensional array with two dimensional array.Write a program to find transpose of a matrix.[2+2+6]
Control Statement
1.
What do you mean by looping?Explain while loop with suitable example.Compare while loop with do while loop.Write a program to find sum and average of first n natural numbers.[1+3+2+4]
Elements of C
1.
What is data type?Why do we need it in programming?Explain any three basic data types with example.[1+1+3]
2.
Write short notes on: Compilation and execution, Operator precedence and associativity.[5]
File Handling in C
1.
Explain different file I/O functions with example.[5]
Functions
1.
Write a program to display first n prime numbers.[5]
2.
Write a program to find product of two integers using your own function.[5]
Input and Output
1.
What do you mean by unformatted I/O? Explain.[5]
Introduction to Graphics
1.
Write a program to draw a circle using graphics function.[5]
Pointers
1.
Define pointer. How do you return pointers from functions? Explain with example.[1]
Problem Solving with Computer
1.
Explain flowchart with example. What are the benefits of using flowchart?What are the benefits of using flowchart?[3+2]
Structure and Union
1.
What is structure?How is it different from union?Create a structure named course with name, code and credit_hour as its member.Write a program using this structure to read data of 5 courses and display data of those courses with credit_hour greater than 3.[1+2+2+5]