0% found this document useful (0 votes)
2 views

python programming.

The document outlines the course PYTHON PROGRAMMING AND APPLICATIONS (PE503EC) for the academic year 2022-23, detailing its objectives, outcomes, and structure. It covers programming skills in Python, circuit analysis, signal processing, and IoT solutions using MicroPython. The course includes various units focusing on Python basics, data structures, circuit analysis, signal analysis, and practical case studies.

Uploaded by

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

python programming.

The document outlines the course PYTHON PROGRAMMING AND APPLICATIONS (PE503EC) for the academic year 2022-23, detailing its objectives, outcomes, and structure. It covers programming skills in Python, circuit analysis, signal processing, and IoT solutions using MicroPython. The course includes various units focusing on Python basics, data structures, circuit analysis, signal analysis, and practical case studies.

Uploaded by

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

Faculty of Engineering With effect from the academic year 2022-23

PYTHON PROGRAMMING AND APPLICATIONS


PE503EC
Instruction: 3 periods per week Duration of SEE: 3 hours
CIE: 30 marks SEE: 70 marks
Credits: 3
Prerequisites: Network Theory (PC402C), Signals and Systems(PC405EC)

Course Objectives:
1. To acquire programming skills by learning Syntax, Semantics and Regular expressions in
core Python.
2. To analyse electronic circuits and examine the various signal transformation techniques
using Python
3. To build IoT solutions using MicroPython running on small, dedicated microcontroller
boards

Course Outcomes: On successful completion of the course, the students will be able to
1. build basic programs using fundamental programming constructs like variables,
conditional logic, looping, and functions
2. examine Python syntax and semantics and be fluent in the use of Python flow control and
functions.
3. create, run and manipulate Python Programs using core data structures like Lists,
dictionaries and use Regular Expressions
4. develop programs in Python for implementation of non-linear circuits and analyze filters.
5. program their own IoT solutions in Python using MicroPython on small microcontroller
boards.

UNIT-I
Introduction to Python: History of Python, Need of Python programming, Features of python,
Python basics: Tokens, working with data types and variables, working with numeric data,
working with string data, Python functions, Boolean expressions, selection structure, iteration
structure
Functions: default values of arguments, named arguments, local and global variables,
Modules: creating, documenting and Importing modules, Use of standard modules.
UNIT-II
Lists:basic lists,creating and processing list of lists, Tuples, Dictionaries
Data structures: Implementation of stacks and sets, binary search trees, Graph searching,
working on sequences- reversing, permuting, sorting, Data Visualization: Different types of
charts and graphs, selection of correct data visualization elements, software and tools available
for data visualization.
Unit-III
Python Installation and Packages: Introduction to PIP, installing and uninstalling packages via
PIP, Using python Packages: Numpy, Matplotlib, Scipy.
Circuit analysis: Operations on vectors and matrices, Circuit representation, processing of
components, Data structures of components, Introduction to Nodes, Branches and Loops, Loop
and Nodal analysis.
Case study: Model circuits and perform nodal analysis and loop analysis using Lcapy(open-
source) Python package for solving linear circuits using matrix operations.
Unit- IV
27
Faculty of Engineering With effect from the academic year 2022-23

Signal Analysis: Representation Continuous time signals, Discrete time signals, Python
Implementation of sampling, Fourier Transform, Laplace transform, Z-transform, Discrete
Fourier Transform, Fast Fourier transform, Design of LTI filters, FIR filters and IIR filters using
Python
Case study: Cleaning Up Data Noise with Fourier Transform using Python
Unit-V
MicroPython : Introduction, Installing and running MicroPython, Pyboard- Architectural
overview and Networking, hardware features of BBCmicro:bit, Overview of MicroPython
libraries
Case study: Traffic light simulation using MicroPython

Suggested Reading:
1. Michael Urban and Joel Murach, ―Python Programming‖, Mike Murach& Associates,
Incorporated, 2016.
2. Kalilur Rahman, ―Python Data Visualization Essentials Guide‖, BPB publications,2021.
3. Shivkumar V. Iyer , ― Simulating Nonlinear Circuits with Python Power Electronics-An
Open-Source Simulator, Based on Python, Springer International Publishing, 2018.
4. Thomas Haslwanter, ―Hands-on Signal Analysis with Python: An Introduction‖,Springer
International Publishing, 2021.
5. Charles Bell, ―MicroPython for the Internet of Things A Beginner‘s Guide to Programming
with Python on Microcontrollers‖, Apress, 2017

28

You might also like