Back close

Course Detail

Course Name Python Scripting for Security
Course Code 26CSA585
Program M. C. A.
Credits 1
Campuses Amritapuri, Mysuru

Syllabus

Unit 1

Python Fundamentals & Data Structures

  • Write a Python program to demonstrate the use of variables, input/output operations, and basic data types.
  • Develop programs using conditional statements and looping constructs to solve simple problems (e.g., number classification, factorial).
  • Implement user-defined functions and recursion to solve problems such as Fibonacci series and GCD calculation.
  • Write programs to perform operations on lists, tuples, dictionaries, and sets.
  • Demonstrate mutable vs immutable data types using suitable examples.
  • Implement list comprehensions and dictionary comprehensions for data transformation tasks.
Unit 2

Object-Oriented Programming & File Handling 

  • Design a Python program using classes and objects to model a real-world application (e.g., Bank Account / Student Management System). 
  • Implement inheritance and method overriding in Python. 
  • Write a program to serialize and deserialize objects using JSON. 
  • Develop a program to serialize and deserialize Python objects using Pickle. 
  • Implement exception handling mechanisms and demonstrate debugging techniques. 
  • Create and use custom Python modules and packages. 
Unit 3

Scripting, File System and Process Management

  • Write Python scripts to create, delete, and traverse files and directories using os and pathlib.
  • Develop a program to automate file organization based on file types.
  • Execute system commands using os.system() and subprocess module.
  • Implement process creation and management using os.fork() and os.exec.()
  • Write a program to demonstrate inter-process communication and process termination using os.kill().
Unit 4

Networking & Cryptography 

  • Develop a client-server application using socket programming for data transmission. 
  • Implement a secure socket communication using SSL. 
  • Write programs to generate cryptographically secure random numbers using secrets module. 
  • Implement hashing using hashlib and verify data integrity. 
  • Demonstrate message authentication using MAC and HMAC. 
  • Implement symmetric encryption and decryption using Fernet. 
Unit 5

Web Automation, Data Processing & Visualization 

  • Develop a Python program to automate HTTP requests using the requests library. 
  • Scrape data from a website using Beautiful Soup. 
  • Automate web interactions such as form filling and navigation using Selenium. 
  • Process and analyze datasets using NumPy and Pandas. 
  • Visualize data using Pandas and Seaborn (bar chart, line graph, heatmap). 
  • Mini Project: Develop an end-to-end Python application integrating web data extraction, processing, and visualization. 

Objectives and Outcomes

Course Objectives 

In this course students will learn to program in python, using an object-oriented approach. Students will learn and write short and long programs to use python to write programs that automate common security tasks.  

Course Outcomes 

COs 

Description 

CO1 

 Explain the fundamentals of computing with python.  

CO2 

Solve tasks with OOP python scripts.  

CO3 

Implement Python OS module functions 

CO4 

Build networking concepts with Python 

CO5 

Describe Data processing and Visualization libraries in Python 

CO-PO Mapping 

PO/PSO 

PO1 

 PO2 

 PO3 

 PO4 

 PO5 

 PO6 

PO7 

PO8 

CO 

CO1 

– 

– 

– 

– 

CO2 

– 

– 

– 

– 

CO3 

– 

– 

– 

– 

CO4 

– 

– 

– 

– 

CO5 

– 

– 

– 

– 

– 

– 

– 

Textbooks / References

  • Wesley J. Chun, “Core Python Applications Programming”, 3rd Edition, Pearson Education, 2016.
  • https://automatetheboringstuff.com/ (free online version)
  • realpython.com (free articles only)
  • https://jakevdp.github.io/PythonDataScienceHandbook/ (free online version)

DISCLAIMER: The appearance of external links on this web site does not constitute endorsement by the School of Biotechnology/Amrita Vishwa Vidyapeetham or the information, products or services contained therein. For other than authorized activities, the Amrita Vishwa Vidyapeetham does not exercise any editorial control over the information you may find at these locations. These links are provided consistent with the stated purpose of this web site.

Admissions Apply Now