Python

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

GUJARAT TECHNOLOGICAL UNIVERSITY

Bachelor of Engineering
Subject Code: 3150312
Semester – V
Python Programming for Biomedical Engineers

Type of course: Open elective

PrerequisiteComputer Concepts and C Programming

Rationale: Python is a modern language useful for writing compact codes specifically for programming in
the area of Data Analytics, AI and scientific computing as well as processing tool for Signal and Image
Processing. This course covers the basics and modular Python programming to harness its potential for
development of modern Biomedical Equipment.

Teaching and Examination Scheme:

Teaching Scheme Credits Examination Marks Total


L T P C Theory Marks Practical Marks Marks
ESE (E) PA (M) ESE (V) PA (I)
2 0 2 3 70 30 30 20 150

Content:

Sr. Total Weightage


Content %
No. Hrs
1 Overview of Python, Programming languages, Software development, thrust area of
Python, Installing Python Jupyter notebook
Parts of Python Programming Language: Identifiers, Keywords, statements and
expressions, variables, Operators, Precedence and Associativity, Data types, Indentation,
comments, reading input, print output, Type conversions, type () function and Is Operator, 06 20
Dynamic and strongly typed language
Control Flow Statements: If decision control flow, if..else decision control flow,
if..elif..else decision control, Nested if statement, while loop, for loop, continue and break
statements
2 Functions: Built in functions, commonly used modules, definition and calling the
function, return statement and void function, scope and lifetime of variables, Default
Parameters, Keyword Arguments, *args and **kwargs, Command Line Arguments
07 20
String: Creating and Storing Strings, Basic String Operations, Accessing Characters in
String by Index Number, String Slicing and Joining, String Methods, Formatting Strings
Lists: Creating Lists, Basic List Operations, Indexing and Slicing in Lists, Built-In
Functions Used on Lists, List Methods, The del Statement.
3 Dictionaries: Creating Dictionary, Accessing and Modifying key, value Pairs in
Dictionaries, Built-In Functions used on Dictionaries, Dictionary Methods, The del 05 25
Statement,
Page 1 of 3

w.e.f. AY 2018-19
GUJARAT TECHNOLOGICAL UNIVERSITY
Bachelor of Engineering
Subject Code: 3150312
Tuples and Sets: Creating Tuples, Basic Tuple Operations, Indexing and Slicing in
Tuples, Built-In Functions Used on Tuples, Relation between Tuples and Lists, Relation
between Tuples and Dictionaries, Tuple Methods, Using zip () Function, Sets, Set
Methods, Traversing of Sets, Frozenset
4 Files: Types of Files, Creating and Reading Text Data, File Methods to Read and Write
Data, Reading and Writing Binary Files, The Pickle Module, Reading and Writing CSV 04 15
Files, Python os and os.path Modules
5 Introduction to Data science: NumPy and Pandas with Python, Graphing with
Matplotlib pyplot: Line Graphs, Scatter Graph, Pie Charts, Bar Charts,Figures and 06 20
Subplot, 3D Graphs
Case Study: Bio-Signal Plotting using Matplotlib/Pandas Library.
Total 28 100 %

Suggested Specification table with Marks (Theory):

Distribution of Theory Marks


R Level U Level A Level N Level E Level
15% 20% 30% 25% 10%

Legends: R: Remembrance; U: Understanding; A: Application, N: Analyze and E: Evaluate C:


Create and above Levels (Revised Bloom’s Taxonomy)

Note: This specification table shall be treated as a general guideline for students and teachers. The actual
distribution of marks in the question paper may vary slightly from the above table.

Reference Books:

1. Gowrishankar S, Veena A, “Introduction to Python Programming”, 1st Edition, CRC Press/Taylor


& Francis, 2018. ISBN-13: 978-0815394372
2. Mark Summerfield, “Programming in Python 3: A Complete Introduction to the Python Language”,
Pearson Education
3. Zed A. Shaw, “Learn Python The Hard Way: A Very Simple Introduction to the Terrifyingly
Beautiful World of Computers and Code, 3rd edition” , Adisson-Wesley
4. Erik Westra, “Modular Programming with Python: introducing modular techniques for building
sophisticated programs using Python”, Packt Publishing
5. David Love, “Tkinter GUI Programming by Example”, Packt Publishing Ltd.
6. John Hunt “Advanced Guide to Python 3 Programming”, Springer

Page 2 of 3

w.e.f. AY 2018-19
GUJARAT TECHNOLOGICAL UNIVERSITY
Bachelor of Engineering
Subject Code: 3150312

Course Outcomes:

Sr. CO statement Marks %


No. weightage

CO-1 Understand the fundamental of Python syntax and be fluent in the use of Python 15%
control flow statements.
CO-2 Express proficiency in the handling of strings, functions and lists. 15%
CO-3 Learn methods to create and manipulate Python programs by utilizing the data 20%
structures like dictionaries, tuples and sets.
CO-4 Recognize the commonly used operations involving file systems. 25%
CO-5 Understand the Pandas and Numpy library for data science operation and plotting 25%
various Biosignal using Matplotlib.

List of Experiments:

1. Introduction to Jupyter Notebook and python script in CMD.


2. Introduction to basic operations in python.
3. Develop programs to understand the control structures of python.
4. Develop programs to learn functions, string and lists in python.
5. Develop programs to learn Dictionaries, Tuples and sets in python.
6. Develop programs to learn Files operators in python.
7. Introduction to data science in python
8. Learn to plot different types of graphs using PyPlot.

Major Equipment: Computer with Software (Python IDE, Jupyter Notebook IDE)

List of Open Source Software/learning website:

● https://docs.spyder-ide.org/
● https://wiki.python.org/moin/BeginnersGuide
● https://www.programiz.com/python-programming

Page 3 of 3

w.e.f. AY 2018-19

You might also like