Vous êtes sur la page 1sur 4

Agni College of Technology

Department of Computer Science and Engineering

PSPP-Most Important Questions


Unit-1
Part-A

1. Define Algorithm.
2. Define flowchart, pseudo code
3. List the symbols used in flow chart.
4. Difference between recursion and iteration
5. What are buildings blocks of algorithm?
6. Discuss the features of python
7. Define Programming language
8. Write pseudo code for guessing an integer in a range of 1000?
9. List the problem solving techniques.
10. Write the psudecode to find maximum of three numbers.
Part-B
1. Explain in detail about Building Blocks of algorithm.
2. Explain in detail about Algorithmic problem solving techniques.
3. Write an algorithm, flowchart, psuedocode for finding minimum in a list & Write an
algorithm, flowchart, psuedocode for Towers of Hanoi
4. Give the flowchart, algorithm, pseudo code for finding the given year is Leap Year or
not & insert a card in a set of sorted cards.

Unit-II

Part –A

1. Write difference between actual and formal parameter


2. Write difference between break and continue.
3. Solve ((a+b)*(c+d*f))/e, if a=10,b=5,c=5,d=10,e=2,f=5
4. Write syntax for the “for loop” with range function.
5. Define Identifier and Mention the rules for writing an identifier.
6. Define Keyword and List any 4 keywords used in python
7. Define Operator and write the difference between Logical && and bit-wise &
8. Define function with an example.
Agni College of Technology
Department of Computer Science and Engineering

PSPP-Most Important Questions


9. List the various datatypes in python
10. Mention any four applications of python.
Part-B
1. Write a python program for swapping of two variables (with all possible cases)
2. Explain in detail about operators with an example
3. Explain various data types in with Examples
4. Explain in detail about function and its prototypes with Suitable example.
5. Write the program to calculate the distance between two points
6. Write the program to find the given year is leap year or not
7. Write the program to find the given number is odd or even
8. Write the python program to find the greatest of three numbers
9. Write the program circulate the values of n variable.
10. Write the program for temperature conversion.

Unit-III
Part-A
1. How will you define negative if with example
2. Define predefine / library function with example.
3. Write difference between counter control and sequential control looping
4. What is meant by fruitful function with example?
5. Write the difference between local and global variable with example.
6. Write the difference between break and continue.
7. Define module.
8. Write various control structures available in python
9. Write the python code for multiplication table
10. Write the simple code for printing n natural numbers.
Part-B
1. Define string. Explain about string methods and functions in detail
2. Write the code for factorial of a given number and Fibonacci series for the given limit.
3. Explain about unconditional statements (pass, break, continue) with examples.
4. Write a program to find the square root using Newton’s method
5. Explain in detail about Control Structures in detail with examples.
6. Write a python program for Linear search and Binary Search.
7. Explain in about detail Recursive functions with an example

Unit-IV
Agni College of Technology
Department of Computer Science and Engineering

PSPP-Most Important Questions

Part-A

1. Define List. Give example and Syntax.


2. What is List slicing? Show with an example
3. Mention the types of indexing in list with an example.
4. Define tuple with an example.
5. Define Dictionary, Give syntax and Example.
6. Write various tuple operations available in python
7. What is tuple unpacking?
8. Differ list Cloning and aliasing.
9. Difference between list and string
10. Difference between list and tuple

Part-B

1. Explain in detail about list and its operations with example program
2. Explain in detail about tuple and its Operation with example
3. Explain in detail about dictionary and its methods with an example
4. Write the python program for Matrix Operations(Addition, Subtraction, Multiplication,
Transpose)
5. Write program for Sorting(selection, Insertion, Merge)

Unit-V

Part-A

1. Define Module

2. Give the Modes of Opening File Operations


Agni College of Technology
Department of Computer Science and Engineering

PSPP-Most Important Questions


3. Define Exception Handling

4. Write is the use of seek and tell operations?

5. Write various file objects attributes?

6. Explain command line arguments with an example.

7. List any four file methods.

8. Give some details about assert statement.

9. Why we need raise?

10. Define package.

Part-B

1. Explain in detail about File Operations

2. Write Short notes on command line arguments

3. Explain in detail about Exception Handling

4. Write short notes on modules

5. Write a python program for word count and Copy file

Vous aimerez peut-être aussi