Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 A] Write python code to sort a dictionary by value
1. Ascending 2. Descending [5]
B] Write the python program to multiplies all the items in a list. [5]
Q2. Write a python program to calculate area of the triangle [10]
Q. 3. Write a python program to swap the value of two variables. [10]
Q.4.Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write python code to print all prime number s in an interval [10]
Q.2 Write the python program to print Fibonacci sequence. [10]
Q.3 Write a python program to Check Armstrong Number [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a python program to accept the strings which
contains all vowels [10]
Q.2 Write a Python Program to Find the Sum of Natural Numbers. [10]
Q.3 Write a python program to remove i’th character from string in
different ways [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to get a list, sorted in increasing order by the
last element in each tuple from a given list of non-empty tuples. [10]
Q.2. Write a python program Words Frequency in String Shorthands [10]
Q.3 How to create,write and read file [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python Program to Check if a Number is Positive, Negative or
Zero [10]
Q.2 Write a Python program to find maximum and the minimum value in a
set by creating function [10]
Q.3 Write a python program to print even length words in a string [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python Program to Find the Factorial of a Number [10]
Q.2 Write a Python program to check a list is empty or not [10]
Q.3 Write a Python program to convert Snake case to Pascal case [10]
Q.4 Viva
[5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q1 Write a python program to Reverse words in a given String [10]
Q.2 Write a Python program to find the length of a tuple. [10]
Q.3 Write a Python program to iterate over dictionaries using for loops. [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to check if a set is a subset of another set. [10]
Q.2 Write a Python program to check whether an element exists within a
tuple [10]
Q.3 Write a Python program to sum all the items in a list [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python Program to Find the Sum of Natural Numbers [10]
Q.2 Write a Python program to remove an item from a tuple. [10]
Q.3 Write a Python program to create a tuple with different data types. [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to remove duplicates from a list. [10]
Q.2 Write a Python program to slice a tuple. [10]
Q.3 Write a Python program to create set difference. [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python Program to Check Leap Year [10]
Q.2 Write a Python Program to add a key to a dictionary. [10]
Q.3 Write a Python program to convert a list to a tuple. [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to find the length of a set [10]
Q.2 write a python program iterate over a set [10]
Q.3 Write a Python program to create a tuple [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python Program to add a key to a dictionary. [10]
Q.2 Write a Python program to sum all the items in a list [10]
Q.3 Write a Python program to check whether an element exists within a
tuple [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to iterate over dictionaries using for loops. [10]
Q.2 Write a Python Program to Find the Factorial of a Number [10]
Q.3 Write a Python program to get a list, sorted in increasing order by the last
element in each tuple from a given list of non-empty tuples. [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to slice a tuple. [10]
Q.2 Write a Python program to find the length of a set [10]
Q.3 Write a Python program to check a list is empty or not [10]
Q.4 Viva
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to find maximum and the minimum value in a
set by creating function [10]
Q.2 Write a Python program to check if a set is a subset of another set. [10]
Q.3 Write a python program to Check Armstrong Number [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write python code to sort a dictionary by value
1. Ascending 2. Descending [10]
Q.2 Write a python program to accept the strings which
contains all vowels [10]
Q.3 Write a Python Program to Check if a Number is Positive, Negative or
Zero [10]
Q.4 Viva [5]
Savitribai Phule University
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to create a tuple with different data types. [10]
Q.2 Write a Python Program to Check Leap Year [10]
Q.3 How to create,write and read file [10]
Q.4 Viva [5]
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a Python program to convert a list to a tuple. [10]
Q.2 Write a Python Program to Find the Factorial of a Number [10]
Q.3 Write a python program to print even length words in a string [10]
Q.4 Viva [5]
T.Y.BSc.(Computer Science)
practical Examination
Lab Course: (CS-3510) Python Programming
[Time: 2.5 Hours] [Marks: - 35]
Q.1 Write a python program to swap the value of two variables. [10]
Q.2 Write a Python Program to add a key to a dictionary. [10]
Q.3 Write a Python program to create a tuple [10]
Q.4 Viva [5]