0% found this document useful (0 votes)
7 views20 pages

Python Practical Slips

The document outlines the practical examination for T.Y.BSc. in Computer Science at Savitribai Phule University, focusing on Python programming. It includes various programming tasks such as sorting dictionaries, calculating areas, and manipulating strings and tuples, each with specific marks assigned. The exam consists of multiple questions across different practical sessions, each lasting 2.5 hours.

Uploaded by

moon.knight.1503
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)
7 views20 pages

Python Practical Slips

The document outlines the practical examination for T.Y.BSc. in Computer Science at Savitribai Phule University, focusing on Python programming. It includes various programming tasks such as sorting dictionaries, calculating areas, and manipulating strings and tuples, each with specific marks assigned. The exam consists of multiple questions across different practical sessions, each lasting 2.5 hours.

Uploaded by

moon.knight.1503
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/ 20

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]

You might also like