Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
86 views

Introduction To Python Programming - Practical

This document outlines the course details for the 5th semester Introduction to Python Programming practical subject for the Diploma in Computer Engineering program at Bhagwan Mahavir University. The subject involves 28 practical exercises/experiments covering topics like Python basics, strings, lists, tuples, dictionaries, functions, classes, files and OOP concepts. Students will be assessed internally for 20 marks and externally for 30 marks in a 2 hour examination. Recommended open source software, learning websites and reference books are also provided.

Uploaded by

Dhruv Sojitra
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views

Introduction To Python Programming - Practical

This document outlines the course details for the 5th semester Introduction to Python Programming practical subject for the Diploma in Computer Engineering program at Bhagwan Mahavir University. The subject involves 28 practical exercises/experiments covering topics like Python basics, strings, lists, tuples, dictionaries, functions, classes, files and OOP concepts. Students will be assessed internally for 20 marks and externally for 30 marks in a 2 hour examination. Recommended open source software, learning websites and reference books are also provided.

Uploaded by

Dhruv Sojitra
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Effective From

BHAGWAN MAHAVIR UNIVERSITY (2022-2023)

Diploma Engineering (Computer Engineering)

Semester: V
Subject
Subject Title Teaching Scheme (Hours)
Code
Practical Examination
Introduction Total
Practical Credits Marks
to Python Marks
Internal External
1030106507 Programming
– Practical
4 2 20 30 50

Duration of Exam: 2:00 Hours


Detail Content:

Approx.
Sr. Unit
Practical Exercises/Experiments Hrs.
No. No.
Required

1 1 Install and learn python idle in interactive and batch mode. 4


2 1 Write a Python program to print Hello world! 1
3 1 Write a Python program to calculate the area of a square, triangle. 1
Create a program that asks the user to enter their details and print
4 1 2
those details.
5 2 Python program to find sum of array. 2
6 2 Python program to print the elements of an array in reverse order. 2
Write Python Scripts for following:
(a) Perform concatenation on string.
7 2 (b) Perform indexing and slicing on string. 4
(c) Manipulate strings with following functions: lower, upper,
len, split, strip, lstrip, rstrip.
8 3 Python Program to append element in the list. 1
9 3 Python Program to add two list and compare two lists. 1
10 3 Python Program to remove an element from a list. 1
Write a Python program to calculate the average of numbers in a
11 3 1
given list.

Registrar Dean- Academics Chairman - BOS


Effective From
BHAGWAN MAHAVIR UNIVERSITY (2022-2023)

Write a Python to find maximum and minimum out of tuple


12 3 2
without using built in function.
13 3 Write a Python Program to do Sum of tuple elements. 2
Write a Python script to sort (ascending and descending) a
14 3 2
dictionary by value.
Write a Python program to add, search and delete entries of a
15 3 2
phone with its model number in a dictionary.
Write a Python Program to check whether a passed letter is a vowel
16 4 1
or not.
17 4 Write a python program to find the factorial of a given number. 1
18 4 Write a Python program to find the largest among three numbers. 2
19 4 Find sum of series using while loop. 2
Write a program that prints the integers from 1 to 100. But for
multiples of three print "Fizz" instead of the number, and for the
20 4 4
multiples of five print "Buzz". For numbers which are multiples of
both three and five print "FizzBuzz".
Write a function called greet() that takes one string parameter
21 5 called name and displays the text "Hello <name>!", where <name> 2
is replaced with the value of the name parameter.
22 5 Write a Python program to swap two numbers using function. 2
23 5 Demonstrate the use of arguments in python functions. 2
Write a function to check the input value is Armstrong and write
24 5 2
the function for Palindrome.
Design a class that store the information of student and display the
25 6 2
same.
26 6 Implement the concept of inheritance using python. 2
Write a Python program to write into a file and read from file and
27 6 2
display on the terminal.
Write a Python program to append text to a file and display the
28 6 2
text.

List of Open Source Software/learning website:

1. Sublime text
2. Python 3
3. Anaconda
4. https://www.educba.com/software-development/software-developmenttutorials/python-
tutorial/
5. https://www.pythontutorial.net/

Registrar Dean- Academics Chairman - BOS


Effective From
BHAGWAN MAHAVIR UNIVERSITY (2022-2023)

Reference Book:

1. Python Basics: A Practical Introduction to Python 3 by Real Python.


2. Taming Python by Programming, Jeeva Jose, and Khanna Publication.
3. R. Nageswara Rao, “Core Python Programming”, Dreamtech press.
4. Mike McGrath, “Python in Easy Steps: Makes Programming Fun!” Tata McGraw-Hill
Education, 2018.
5. Kenneth A. Lambert, “Fundamentals of Python – First Programs”, CENGAGE Publication.

*******************************************************************

Registrar Dean- Academics Chairman - BOS

You might also like