Python Programming Syllabus
Python Programming Syllabus
Course Objective:
1. Understand data types and basic commands of Python programming.
2. Understand data structures and indexing, and use them in your work.
3. Understand about functions and modules.
4. Demonstrate File Operations.
5. Understand the concept of Micro Python.
3 - 2 4 70 30 30 20 150
Subject Contents
IEEE Total Weight
Sr. No Topic
Hours (%)
Introduction, Data Types and Operators: IEEE
Installation and working with Python, Variables and data types in
python, Perform computations and create logical statements using
Python’s operators: Arithmetic, Assignment, Comparison, Logical,
1 4 10%
Membership, Identity, Bitwise operators, list, tuple and string operations
[T.B-1: Learn Python Programming Fundamentals: A Beginner’s Guide
CH-1,2]
[R.B-2: Core Python Programming - CH:1,2,3]
Python Decision making and Loops:
Write conditional statements using If statement, if ...else statement, elif
statement and Boolean expressions, while loop, for loop, Nested Loop,
Infinite loop, Break statement, continue statement, Pass statement, Use
for and while loops along with useful built-in functions to iterate over
2 10 25%
and manipulate lists, sets, and dictionaries. Plotting data, Programs using
decision making and loops.
[T.B-1: Learn Python Programming Fundamentals: A Beginner’s Guide.
CH-4,5]
[R.B-2: Core Python Programming - CH-2,3,4]
3 Python Functions and Modules: IEEE 10 25%
Defining custom functions, Organizing Python codes using functions,
Create and reference variables using the appropriate scope, Basic skills
for working with lists, tuples, work with dates and times, get started with
dictionaries, Importing own module as well as external modules,
Programming using functions, modules and external packages
[T.B-3: Fundamentals of Python: First Programs with MindTap-
CH:2,3,4]
Python File Operations:
An introduction to file I/O, use text files, use CSV files, use binary
files, Handle a single exception, handle multiple exceptions, Illustrative
4 8 20%
programs, Exercises.
[T.B-2: Introduction to Computation and Programming Using Python
CH-5,6,7]
MicroPython: IEEE
Introduction, main difference between MicroPython and Python,
Installation of MicroPython on Hardware, MicroPython libraries, GPIO
programming on MicroPython Hardware, Sensor Programming using
5 8 20%
MicroPython
[T.B-2: Introduction to Computation and Programming Using Python
CH-8,9]
[RB-1: Advanced Python Programming by Dr. Gabriele Lanro]
Course Outcome:
1. To test and debug code written in python. Learning the basic R-Language Constructs.
2. To create applications using Python Programming.
3. To perform file operations to read and write data in file. To develop applications and Performing
T-Testing.
4. To write programs for general purpose I/O devices using MicroPython.
TextBooks:
1. Learn Python Programming Fundamentals: A Beginner’s Guide.
2. Introduction to Computation and Programming Using Python, Third Edition by John V. Guttag.
3. Fundamentals of Python : First Programs with MindTap Author(s): Kenneth A. Lambert.
Reference Book:
1. Advanced Python Programming by Dr. Gabriele Lanro, Quan nyugen.
2. Core Python Programming, By Dr.R Nagaeshwar Rao.
3. Python All-in-One for Dummies by John Sovic.
e-Resource:
1. https://www.w3schools.com/python/
2. https://www.javatpoint.com/python-tutorial
5. PyLab - https://scipy.github.io/old-wiki/pages/PyLab
Anaconda software
List of Experiments:
4.Write python programs to create functions and use functions in the program
7. To become familiar with MicroPython and NodeMCU. Configure NodeMCU for MicroPython.
8.Write program in MicroPython to send digital data on GPIO pins of NodeMCU and glow LED
connected with NodeMCU or any other MicroPython supported board.
9. Connect Digital/Analog I/O module with NodeMCU and write program to display temperature in
MicroPython.
10. Connect NodeMCU with with WiFi Access Point and transmit data from NodeMCU to Cloud.
Connect Digital/Analog I/O module with NodeMCU and send temperature and light data on cloud
(Thingspeak, Firebase or any other cloud service)