Gujarat University
K. S. School of Business Management and Information Technology
[Five Years’ (Full – Time) M.Sc. (CA&IT) Integrated Degree Course]
Second Year M.Sc. (CA&IT) (Semester - IV)
Course Name: Advance Programming- Practical
Course Code: DSC-M- IMSCIT-244P
Course Credit: 2
Objective:
This course aims to provide students with hands-on experience in Python programming. The
primary focus is on implementing foundational and advanced Python concepts covered in the
theory syllabus. Students will learn to apply control structures, data structures, functions, object-
oriented programming, file handling, and advanced features such as regular expressions, exception
handling, and working with external libraries.
Course Outcomes:
By completing this course a student will:
Write Python programs using control structures, functions, and loops.
Perform file handling operations in Python to read and write data.
Use Python’s object-oriented features to create and manipulate objects.
Work with lists, dictionaries, sets, and tuples to manage data.
Apply regular expressions for text processing and pattern matching.
Implement error handling and debugging in Python programs.
Utilize Python libraries such as NumPy, Pandas, and Matplotlib for data analysis and
visualization.
Gujarat University
K. S. School of Business Management and Information Technology
[Five Years’ (Full – Time) M.Sc. (CA&IT) Integrated Degree Course]
Second Year M.Sc. (CA&IT) (Semester - IV)
Contents:
Unit Course Content Hours Credits
No.
Core Python Programming: 30 1
Introduction to Python Programming Environment
Setting up Python IDEs (Jupyter Notebook, VS Code)
Writing and executing basic Python programs
Objective: Introduction to Python syntax and environment
setup.
Data Types, Variables, and Operators
Working with basic data types (int, float, string, list, tuple, dict)
Performing operations using operators (arithmetic, relational,
logical, and bitwise)
1 Control Structures and Loops
Implementing conditional statements (`if`, `if-else`, `elif`)
Using loops (`for`, `while`) for iterations
Functions and Modules
Creating and using user-defined functions
Working with built-in Python modules (`math`, `random`,
`datetime`)
Strings and String Methods
String operations (slicing, concatenation, formatting)
Using built-in string methods (`upper()`, `lower()`, `find()`,
`replace()`)
Advanced Python Programming : 30 1
File Handling in Python
Reading and writing text files and CSV files
Handling exceptions during file operations
Object-Oriented Programming (OOP)
2 Defining classes, objects, constructors, and methods
Implementing inheritance, polymorphism, and encapsulation
Working with Lists, Tuples, Sets, and Dictionaries
Creating and manipulating lists, tuples, sets, and dictionaries
Using list comprehensions and dictionary methods
Gujarat University
K. S. School of Business Management and Information Technology
[Five Years’ (Full – Time) M.Sc. (CA&IT) Integrated Degree Course]
Second Year M.Sc. (CA&IT) (Semester - IV)
Regular Expressions (Regex) and Pattern Matching
Introduction to the `re` module for regex
Performing pattern matching, searching, and replacing
Exception Handling and Debugging
Using `try`, `except`, `finally` blocks for error handling
Debugging Python programs using the `pdb` module
Introduction to Data Science Libraries
Introduction to NumPy and Pandas for data manipulation
Simple data visualization with Matplotlib
Reference Books:
1. Gowrishankar S, Veena A, Introduction to Python Programming, CRC Press, 2018.
2. Eric Matthes, Python Crash Course: A Hands-On, Project-Based Introduction to
Programming, 2nd Edition, No Starch Press, 2019.
3. Wesley J. Chun, Core Python Applications Programming, 3rd Edition, Pearson Education,
2016.
Accomplishments of the student after completing the Course :-
Develop practical Python programming skills.
Write efficient code for data manipulation.
Perform file operations effectively.
Apply object-oriented design principles.
Utilize advanced features like regular expressions and error handling.
Conduct basic data science operations.
Prepare for advanced study or entry-level positions in software development.