PPS Important Questions
PPS Important Questions
**UNIT-1
**Q-1 Draw the block diagram of digital computer system. Also explain its different component
with suitable example.
Q-2 Explain Operating system and its types with some services.
**Q-5 Define data types in C. Discuss primitive/fundamental data types in C in term of memory
size, format specifier and range.
Q-1 Write an algorithm and draw a flow chart to find largest among three numbers
Q-2 Write an algorithm and draw a flow chart to find the reverse of a numbers.
Q-3 Write an algorithm and draw a flow chart of swapping of two numbers.
Q-4 Write an algorithm and draw a flow chart for quadratic equation.
**UNIT-2
Q-2 Illustrate the concept of type conversion and type casting with program.
Q-3 Explain all conditional statements ( if, if-else, nested if-else , if else if ladder) with example.
Q-4 Define Operands. Discuss the operator precedence and associativity with example.
Q-5 Explain case control statement (switch case) with example. Write the use of default and break
in switch case.
Program based on conditional and switch statement
Q1-Write a menu driven program to perform basic functions of calculator using conditional statement.
Q2- Write a program to develop a calculator using Switch case in character format.
Q3- Write a program to find out the greatest number out of three numbers.
Q4- Write a program to check given number is Palindrome or not (without loop).
Q5- Write a program to check given number is Armstrong or not (without loop).
UNIT-3
Program
**Q2- Differentiate between call by value and call by reference with proper example
(SWAPPING OF 2 NUMBER).
Or Explain parameters passing techniques (call by value and call by reference) with
example SWAPPING OF 2 NUMBER).
Q3-Define recursion. Write a program to find sum of Fibonacci series using recursion.
Q4- Write a program to find Factorial of any positive number using recursion.
UNIT-5
**Q2- Write the need of dynamic memory allocation. Explain malloc( ), calloc( ),realloc( ),
free( )with proper example.
Q6- Write a program to count no of vowel, consonant, digits, space, words etc in a given file.