0% found this document useful (0 votes)
1 views3 pages

3.PST Using Python

The document outlines a course titled 'Problem Solving and Techniques Using Python' aimed at introducing computational thinking and programming skills using Python. It covers topics such as control structures, data structures, functions, and file handling, along with practical experiments and projects. The course includes a total of 120 hours of instruction, practical work, and self-learning, with specified textbooks and reference materials.

Uploaded by

dhurgadevi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views3 pages

3.PST Using Python

The document outlines a course titled 'Problem Solving and Techniques Using Python' aimed at introducing computational thinking and programming skills using Python. It covers topics such as control structures, data structures, functions, and file handling, along with practical experiments and projects. The course includes a total of 120 hours of instruction, practical work, and self-learning, with specified textbooks and reference materials.

Uploaded by

dhurgadevi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

25ES101 PROBLEM SOLVING AND TECHNIQUES USING PYTHON L T P SL C

45 0 30 45 4
Pre-requisite: PROBLEM SOLVING AND TECHNIQUES I SDG:4,8, 9,17

Course Objectives:
1. To introduce computational thinking concepts, algorithms and problem-solving techniques using
Python programming.
2. To develop programming skills using control structures, operators and string manipulation
techniques.
3. To enable students to apply data structures such as lists, tuples, sets and dictionaries for solving
computational problems.
4. To provide knowledge of functions, recursion and object-oriented programming concepts in Python.
5. To familiarize students with file handling, exception handling and basic data analysis using NumPy
and Pandas.

Course Content:
UNIT I COMPUTATIONAL THINKING AND PROBLEM SOLVING 9
Fundamentals of Computing – Identification of Computational Problems -Algorithms, building blocks
of algorithms (sequence, selection, Iteration), pseudo code and flow chart, Problem solving, Python -
Introduction to python, Interpreter and Interactive mode, Data types in python.
Activities: Write an algorithm, represent it using pseudo code and flowchart, Python program in
interpreter/interactive mode, Python data types with simple operations.

UNIT II CONTROL FLOW, STRINGS 9


Operators, Conditional: Boolean, conditional (if), alternative (if-else), chained conditional (if-elif- else);
match case, Iteration: while, for, break, continue, pass; Strings: string slices, immutability, string
functions and methods, string module;
Activities: Decision Making Statements, String Operations

UNIT III LISTS, TUPLES, SET, DICTIONARIES 9


Lists: list operations, list slices, list methods, list loop, mutability, aliasing, cloning lists, list parameters;
Tuples: tuple assignment, tuple as return value; Dictionaries: operations and methods; Set: Operations
and Methods
Activities: Programming with list concept (linear search), Programming using Dictionary

UNIT IV FUNCTIONS, CLASS AND OBJECTS 9


Fruitful functions: return values, parameters, local and global scope, function composition, recursion;
Class and Objects, access specifiers, Implementation of student details using class and objects.
Activities: Implementation of functions in python, Implementation of recursive function with (Binary
search), Implementation of class and object in python.

UNIT V FILE AND DATA HANDLING - INTRODUCTION TO NUMPY AND 9


PANDAS:
Files, Exceptions, Modules, and Packages; Basics of NumPy (array creation, indexing, simple
operations) and Introduction to Pandas (Series, Data Frames, reading CSV, simple data exploration).
Activities: File Operations in python, Mini Project – 1-EDA Analysis on a Dataset
TOTAL LECTURE HOURS 75 Hours

1
Course Outcome: On completion of the course, students will be able to
1. Explain computational thinking concepts by developing algorithms and flowcharts
for problem solving.
2. Apply Python programming constructs to develop programs for computational PO1
tasks
3. Construct programs using Python data structures to manage and process data PO2,PO3
effectively.
4. Conduct experiments using functions and object-oriented concepts to analyze PO4
program behavior.
5. Develop simple applications or mini-projects using file handling and data analysis PO4,PO5,PO6,
techniques. PO7,PO8

Text Books:
1. Allen B. Downey, Think Python: How to Think Like a Computer Scientist, 2nd Edition, O’Reilly Media,
2015.
2. Karl Beecher, “Computational Thinking: A Beginner's Guide to Problem Solving and Programming”,
first Edition, BCS Learning & Development Limited, 2017.

Reference Books:
1. Paul Gries, Jennifer Campbell, Jason Montojo, Practical Programming: An Introduction to
Computer Science Using Python 3, 3rd Edition, Pragmatic Bookshelf, 2013.
2. John V. Guttag, Introduction to Computation and Programming Using Python, 2nd Edition, MIT
Press, 2013.
3. Wes McKinney, Python for Data Analysis, 2nd Edition, O’Reilly Media, 2017.
4. Reema Thareja, Python Programming, 2nd Edition, Oxford University Press, 2017.

List of Experiments:
1. Write and execute a simple Python program to demonstrate basic program structure and execution.
2. Demonstrate different Python data types (int, float, string, list, tuple, dictionary) using suitable operations.
3. Develop Python programs using conditional statements to implement decision-making logic.
4. Perform various string operations such as slicing, concatenation, searching and application of built-in string
functions in Python.
5. Implement linear search using a list of elements and analyze the search result.
6. Create and manipulate dictionaries to perform insertion, deletion, updating and searching operations
7. Develop Python programs using user-defined functions with parameters and return values.
8. Design and implement Python programs using classes and objects to model real-world entities.
9. Design and implement Python programs using classes and objects to represent real-world entities.
10. Perform file handling operations to create, read, write and append data in text files using Python.
11. Perform a mini project on Exploratory Data Analysis (EDA) using a dataset and present observations and
results.
TOTAL PRACTICAL HOURS 30 Hours
TOTAL TERM WORK AND SELF LEARNING HOURS 45 Hours
TOTAL NO. OF HOURS PER SEMESTER 120 Hours

List of Equipments: (for batch of 30 students)


1. Stand alone computers 30 Nos
2. Operating System: Windows 10/11

2
3. Python 3.8 or above/ VS Code

Web Links:
1. [Link]
2. [Link]
3. [Link]

You might also like