Course Code:
Title: Python Programming
Semester IV SEC Theory
Teaching No. of Credits Examination
Scheme 2 Scheme CE: 15 marks
30 hours SEE: 35marks
Prerequisites
∙ Basic computer skill
Course Objectives:
1. To introduce programming concepts using python.
2. Student should be able to develop Programming logic using python.
3. To develop basic concepts and terminology of python programming.
4. To test and execute python programs.
Course Contents
Unit 1 An Introduction to Python 3
1.1 Introduction to Python -History, features, Applications, Installing Python 1.2 Standard
data types
1.3 Operators
1.3 Libraries-NumPy and Pandas, Matplot lib, Flask/Django, unit test and py test, SQLite.
Unit 2 Control Statements 4
2.1 Sequence Control – Precedence of operators, Type conversion
2.2 Conditional Statements: if, if-else, nested if-else
2.3 Looping- for, while, nested loops, loop control statements (break, continue, pass) 2.4
Strings: declaration, manipulation, special operations, escape character, string formatting
operator, Raw String, Unicode strings, Built-in String methods.
Unit 3 Lists, functions, tuples and dictionaries, 10
Sets
3.1 Python Lists- built-in List functions and methods
3.2 Functions- Anonymous functions, Recursion, Functional programming tools lambda
forms
3.3 Tuples and Dictionaries: Basic tuples operations, Built-in tuple
functions, Methods, Operations in Dictionary, Built-In Dictionary &Methods 3.4 Sets-
working with sets.
Unit 4 Modules, Working with files, Exception 13
handling
4.1 Modules
4.2 Packages
4.3 Working with files
4.4 Regular Expression
4.5 Exception Handling
Learning Outcomes:
On completion of this course, students will be able to:
1. Setting up an effective python scripting Environment to provide security.
2. Apply the Core capabilities built in to python.
3. Leveraging the python standard library to ensure data protection
4. Solving hard digital investigation challenges through hands-on practical exercise. 5.
Working with various files database with python tools.
Learning Resources:
1. Python Programming : Beginners Guide by Sundarrajan M , Mani Deepak Choudhry,
Jeevanandham S
2. Core Python Programming -Dr. R Nageswara Rao, Third Edition
3. Python For Everybody-Charles Severance, Shroff Publisher, First Edition