REG:NO
GANESH COLLEGE OF ENGINEERING
(Autonomous)
B.E/[Link] DEGREE EXAMINATIOS, APRIL/MAY 2026
FIRST SEMESTER
CS25C02 COMPUTER PROGRAMMING PYTHON
Regulation (2025)
Time:3 hours Maximum:100 Marks
ANSWER ALL QUESTION
PART -A (10 x 2=20 Marks)
1. Name are the lists in python. with example.
2. Define tuple with example.
3. Write a slice list in python.
4. Differentiate between tuple and list
5. Identify the prime number with example.
6. List the function arguments.
7. State the list & tuples.
8. Define searching its types.
9. Name the modules in file object.
10. Enlist the working with data frames.
1
PART B (5*16=80 Marks)
11. a) Categorize the any four data types by python with
example (OR)
b) Draw the flowchart &pseudo code.
.
12. a) Demonstrate the three types of conditional statement.
(OR)
b) Mention the different types of iterative structure in python.
1. a) Demonstrate the function argument and program. (OR)
b) Compute the recursion and Fibonacci example program.
.
2. a) Categorize the linear search & binary search with
example. (OR)
b) Classify the selection sort and bubble sort with example.
3. a) Develop the insertion sort & quick sort with example.
(OR)
b) Algorithm & write the python program to sort the
number in ascending order using merge sort.
2
3