DHIRAJLAL GANDHI COLLEGE OF TECHNOLOGY, SALEM
(AUTONOMOUS)
B.E / [Link]. PRACTICAL END SEMESTER EXAMINATIONS, NOV/DEC 2025
First Semester
24LCS101 – PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
(Regulation 2024)
Time: 3 Hours Max. Marks 100
Aim/Principle/ Tabulation/Circuit/ Calculation Viva-Voce Record Total
Apparatus required/ Program/Drawing & Results
Procedure
20 30 30 10 10 100
a) Write a python program to create, append and remove lists in python
1. b) Develop a Python program to swap two numbers (using two variables).
a) Write a program to demonstrate working with tuples in python
2. b) Write a program to demonstrate working with dictionaries in python
a) Write a program to demonstrate working with dictionaries in python
3. b) Write a Python program to find the Area of Shape.
a) Write a python program to find largest of three numbers
4. b) Write a python program to find factorial of a number using recursion:
a) Write a python program to convert temperature to and from Celsius to
5. Fahrenheit.
b) Implementing programs using Strings. (reverse, palindrome,)
a) Write a python program to find factorial of a number using recursion:
6. b) Develop a Python program to swap two numbers (using two variables).
a) Write a python program to find largest of three numbers
7. b) Implementing programs using Strings. (reverse, palindrome,)
Write a Python programming using simple statements and expressions
8. (exchange the values of two variables, distance between two points).
Write a python program to Python programming using simple statements and
Page1of2
9. expressions(circulate the values of n variables, distance between two points.
Write a python programming for Scientific problems using Conditionals and
10. Iterative loops.(Number series, Number Patterns)
a) Write a NumPy program to test whether any of the elements of a given array is
11. non-zero.
b) Write a Python program to find the longest words in a file.
a) Write a python program to get the 5 subjects marks and display the grade for
12. the same.
b) Develop a Python program to swap two numbers (using two variables).
a) Code a Python Program to Find the Factorial of a Given Number Using
13. Recursion.
b) Write a Python program to find the first repeated word in a given string.
a) Write a python program to remove duplicates from a list.
14. b) Write a python program to perform linear search
a) Code a Python program to accept a String, Reverse the String , Check whether
15. the string is a Palindrome and print the result.
b) Write a Python program to Count the number of Vowels in a string.
INTERNAL EXAMINER EXTERNAL EXAMINER
Page2of2