0% found this document useful (0 votes)
20 views2 pages

PSPP Set 1

pspp

Uploaded by

iniyavanir.cse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

PSPP Set 1

pspp

Uploaded by

iniyavanir.cse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

B.E / B.Tech.

PRACTICAL END SEMESTER EXAMINATIONS, NOV/DEC 2024


First Semester

GE3171 & PROBLEM SOLVING AND PYTHON PROGRAMMIG LABORATORY


(Regulations 2021)

Time : 3 Hours Answer any one Question Max. Marks 100

(To be filled by the question paper setter)

Aim Output
& & Viva- Record Total
Program
Algorithm Results Voce
30 30 20 10 10 100

1. Write a program to demonstrate different number data types in python

2. Write a program to perform different arithmetic operations on numbers in python.

3. Write a program to create, concatenate and print a string and accessing substring from a
given string.

4. Write a python script to print the current date in following format “Sun May 29 02:26:23
IST 2017”

5. Write a python program to create, append and remove lists in python

6. Write a program to demonstrate working with tuples in python

7. Write a program to demonstrate working with dictionaries in python

8. Write a python program to find largest of three numbers

9. Write a python program to convert temperature to and from Celsius to fahrenheit.

10. Write a python program to construct the following pattern using nested for loop:

11. Write a python program to print prim numbers less than 20:

12. Write a python program to find factorial of a number using recursion:

13. Write a python program to that accepts length of three sides of a triangle as inputs. The
program should indicate whether or not the triangle is a rightangled triangle (use
Pythagorean theorem):
14. Write a python program to define a module to find Fibonacci Numbers and import the
module to another program

15. Write a python program to define a module and import a specific function in that module
to another program.

16. Write a script named copyfile.py. This script should prompt the user for the names of two
text files. The contents of the first the second file.

17. Write a program that inputs a text file. The program should print all of the unique words
in the file in alphabetical order

18. Write a Python class to convert an integer to a roman numeral

19. Implementing programs using Strings. (reverse, palindrome,)

20. Implementing programs using written modules and Python Standard Libraries (pandas,
numpy.)

INTERNAL EXAMINER EXTERNAL EXAMINER

You might also like