Most Imp. PPS Questions
Most Imp. PPS Questions
UNIT 1
Q1. Brief the Generations of the Programming languages with examples.
Q2. . Number system conversion.......
Q3 .Draw the memory hierarchical structure (diagram) of a computer system. Explain each memory unit in brief.
Q4. Define:- (a) Compiler,Interpreter,Assembler
(b) Operatiing system & its functionality
(c) High Level Language & Machine Level Language
(d) Components of ‘C’.
Q5.Explain Modular programming approach, Structured programming approach & Procedural Approach
Q6. What is digital computer? Also explain block diagram of digital computer.
Q7.Differenciate among Algorithm ,Flowchart & Pseudo code.
Q8.What is meant by Storage Classes of variablea variable? Define all types of storage class with example
Q 9. .Explain various Data types used in C with their memory size,range & format specifier.
Q10: Make Algorithm & Flowchart :- (i)Find out the greatest no out of three numbers
(ii)Sum of two numbers (iii) Sum of first five natural numbers (iv) Product of numbers up to N
(vi)Computing factorial of N wher N!=1*2*3*4...N
Unit 2
Q1 Define Operator and Operands used in ‘C’..Discuss the operator precedence and associativity of all the operators.
Q2. Explain type casting & type conversion with examples.
Q3. What is Case control structure(Conditional branching) in ‘C’ ? Why use break stmt at the end of every case control
block.Explain with example.
Q4. Expalin conditional statements with examples used in ‘C’.
Unit 3
Q 1.Explain Iterative Statements(Loops) used in ‘C’ with examples.
Q 2.Expalin with examples:- (i) Break (ii) Goto (iii) Continue
Q3. Explain Array.Also define types of array with example.
Q4. WAP in C to add,muliply & transpose of matrix(2*2).
Q5 What is string.Explain various predefined function of string with examples.
Q6. Explaiin with examples: (i)Structure ( ii) Union (iii) Enumurator (iv) typedef
Unit 4
Q1. Explain function.Also define types of functions with examples
Q2. Explain Call by value & Call by reference(Pointers to Function) with examples.
Q3. What is Recursion? Explain Types of recursion with examples.
Q 4. Write ‘C’ code using recurion - (i) Find Factorial (ii) Generate Fibinacci Series
Q5. Algo. & Programs (i) Binary Search (ii)Bubble Sorting (iii) Selection Sorting (iv) Insertion Sorting
Unit 5
Q1 Explain use of Pointer in ‘C’.Explain the concept of pointer in self referential structur with proper example.
Q2. Why we use dynamic memory allocation in ‘C’.Define with proper example: - (i) malloc() (ii) calloc() (iii) realloc() (iv)
free().
Q3. Explain concept of Link List with its types.What are advantages and disadvanges of link list over array.
Q4.Define various C preprocessors used in ‘C’ with proper examples.
Q5.What are different file openiing modes in C ? Describe various file functions used in C
Q 6. Expalin command line arguments with proper example.
Imp. Programs
1. WAP to print following series: - -6 -4 -2 0 2 4 6
2.WAP that checks whether the two numbers entered by the user are equal or not.
3.WAP to find the greatest of three numbers
4.WAP that tells whether a given year is a leap year or not.
5. WAP that accepts marks of five subjects and finds percentage and prints grades
according to the following criteria:
Between 90-100%-----Print ‘A’
80-90%-----------------Print ‘B’
60-80%-----------------Print ‘C’
Below 60%-------------Print ‘D’
6. WAP to print the sum of all numbers up to a given number.
7. WAP to print sum of even and odd numbers from 1 to N numbers.
8. WAP to find prime number from 1 to 100.
9. WAP to print Armstrong numbers from 1 to 100.
10.WAP that simply takes elements of the array from the user and finds the sum of these
elements.
11. WAP to check whether a given word exists in a file or not. If yes then find the number of
times it occurs.
12. WAP to compare the contents of two files and determine whether they are same or not.
13. WAP to find the reverse of a number.
14. . WAP to generate a following pattern:
12345 ABCD ******
1234 BCD ****
123 CD **
12 D *
15. WAP in C to create a database of fifty students to store personal details such as roll no, name and marks. Print all
the details of student whose name is entered by user.
16. WAP to find the entered number is Palindrome number or not.
17. WAP to copy the content of one file to another and print the count of these coping elements.