PPS important Questions unitwise
UNIT-1
1. Define Algorithm and list the characteristics of an algorithm.
2. Write an algorithm and flowchart to find the roots of a Quadratic Equation.
3. Explain the different types of operators are used in C.
4. Eaplain about conditional,iterative statements?
5. Write and explain about switch statement?
6. Write a Program to perform arithmetic operations using switch?
7. What is the structure of a `C' program and explain with example?
8. List and explain loop control (or) iteration statements in C?
9. Write a program to check whether the given number is palindrome or not?
10. What is a data type? List and Explain the various data types available in c?
11. Differentiate between while and do while loops?
12. Write a c program to print Fibonacci sequence?
13. Explain in detail about conditional Statements in C?
14. Write a program to check whether the given number is prime or not?
UNIT-2
1. Define an array. How to initialize one-dimensional and Two-dimensional array? Explain with
suitable examples?
[Link] pointer. How to declare and initialize it and Write a C program to print address of a variable
Example?
3. Explain about the string handling functions with example programs.
4. Define Structure and explain the declaration and initialization of structures with an example.
5. Write a c Program to find the addition of two Matrices?
6. What is an array of structure? Declare a variable as array of structure and initialize it?
7. Write a c Program to find the Multiplication of two Matrices?
[Link] about multidimentional arrays?
[Link] about pointer to pointer ?
UNIT-3
1. Briefly explain the pre-processor directives in detail.
2. Briefly explain the Conditional pre-processor directives in detail.
[Link] the following preprocessor Directives
a)#include b)#define c)#ifdef d)#ifndef e)#undef