0% found this document useful (0 votes)
2 views4 pages

Python

The document outlines a comprehensive curriculum for a Python Programming course (CSIT232) aimed at undergraduate students, covering fundamental programming concepts, Python syntax, control structures, and key libraries for data analysis. It includes course objectives, learning outcomes, assessment methods, and a detailed syllabus divided into modules focusing on various topics such as data types, functions, file handling, and data visualization. Additionally, it provides a list of textbooks and web resources for further learning.

Uploaded by

Yash Verma
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)
2 views4 pages

Python

The document outlines a comprehensive curriculum for a Python Programming course (CSIT232) aimed at undergraduate students, covering fundamental programming concepts, Python syntax, control structures, and key libraries for data analysis. It includes course objectives, learning outcomes, assessment methods, and a detailed syllabus divided into modules focusing on various topics such as data types, functions, file handling, and data visualization. Additionally, it provides a list of textbooks and web resources for further learning.

Uploaded by

Yash Verma
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

Course Curriculum

Course Title: Python Programming


Course Code: CSIT232 L T P/S SW [Link] Total
Credit Units: 04 PSDA Credit
Unit
CourseLevel: UG
3 0 2 0 0 4
Syllabus Version – I

Course Description:

This course is an in-depth introduction to Python, one of the most widely used programming languages in the
world. Designed for beginners with little or no prior coding experience, the course covers the fundamentals of
programming through practical, hands-on examples.

Students will learn Python syntax, control structures, functions, data types, and object-oriented programming.
The course also introduces key libraries such as NumPy, Pandas, and matplotlib, providing a foundation for
data analysis and scripting. By the end of the course, participants will be able to write clear, efficient, and
well-structured Python programs.

CourseObjectives:
CO1: Understand basic features and history of Python.
CO2: Conceptual different types of modules.
CO3: Apply suitable Python programming constructs, built-in functions, data structures using Python
libraries to solve a problem.
CO4: Analyze basic Data visualization and File handling, Exception Handling in Python.

Prerequisites:
Understanding of Problem solving techniques using a programming language and basic
python programing.

CourseContents/Syllabus:

Weightage( Lecture
%) Hour
ModuleI:
Introduction: History and Application areas of Python; Structure of Python Program;
Identifiers and Keywords; Operators and Precedence; Basic Data Types and type 15
conversion; Statements and expressions; Input / Output statements. 25
Strings: Creating and Storing Strings, Built-in functions for strings; string operators,
String slicing and joining; Formatting Strings.
Control Flow Statements: Conditional Flow statements; Loop Control Statements;
Nested control Flow; continue and break statements, continue, Pass and exit.
ModuleII: 10
Mutable and Immutable objects: Lists, Tuples and Dictionaries; Commonly used 25
Functions on Lists, Tuples and Dictionaries. Passing Lists, tuples and
Dictionaries as arguments to functions. Using Math and Numpy module for its
of integers and arrays.
25 15

ModuleIII:
15

Functions: Built-In Functions, Function Definition and call; Scope and Lifetime of
Variables, Default Parameters, Command Line Arguments; Lambda Functions; Assert 25 10
statement; Importing User defined module;
ModuleIV:
Files: Types of Files; Creating, Reading and writing on Text and Binary Files; The
Pickle Module, Reading and Writing CSV Files. Reading and writing of csv and JSON 25
10
files.
Exception Handling:Try-except-else-finally block, raise statement, hierarchy of
exceptions, adding exceptions. Datavisualization:Plottingvarious 2Dand 3Dgraphics;
Histogram; Pi charts; Sineand cosine curves.

Course Learning Outcomes (CLOs):


CLO1: Understand - Explain the basic syntax, keywords, and structure of Python programs.
CLO2: Apply - Use conditional statements and loops to control the flow of execution in Python scripts.
CLO3: Create - Create and use classes and objects, and apply principles such as inheritance and encapsulation.
CLO4: Analyze – Analyze basic Data visualization and File handling, Exception Handling in Python.

Assessment/ExaminationScheme:
TheoryL/T (%) Lab/Practical/Studio(%) TOTAL

60 40 100

TheoryAssessment(L&T):
Continuous Assessment/Internal Assessment (40 %) End Term
Examination
(60%)
Viva Class Test Home Attendance End Term
Components (Drop
Assignment
down)
Weightage (%) 5 20 10 5 60

Lab/ Practical/ Studio Assessment:


Continuous Assessment/Internal Assessment (40 %) End Term Examination
(60%)

Components (Drop Class Test Lab Record Continuous Internal Attendan Practical Viva
down) (Practical Performance Viva ce Evaluation
based)
Weightage (%) 10 10 10 5 5 40 20
Digital Image Processing:LabProblems [30 Hr.]

[Link]. Experiment Practical


Hours
1 Write a program to find whether a number is a prime number 2Hr
2 Write a program to print m raise to power n, where m and n are read from the user 2Hr
3 Write a program having a parameterized function that returns True or False 2Hr
depending on whether the parameter passed is even or odd
4 Write a program to print the summation of the following series up to n terms:1-2+3- 2Hr
4+5- 6+7……..n
5 Write a menu driven program to perform the following operations on 2Hr
strings using string built in functions.
a. Find the frequency of a character in a string
b. Replace a character by another character in a string.
c. Remove the first occurrence of a character from a string.
d. Remove all occurrences of a character from a string.

6 Write a program that accepts two strings and returns theindices ofall the occurrences 2Hr
of the second string in the first string as a list. If the second string is not present in
the first string, then it should return -1
7 Using Numpy module write menu driven program to do following 2Hr
• Create an array filled with 1’s.
• Find maximum and minimum values from an array
• Dot product of 2 arrays.
Reshape 1-D array to 2-D array
8 Write a function that takes a sentence as input from the user and calculates the 2Hr
frequency of each letter. Use a variable of dictionary type to maintain the count
9 Consider a tuple t1=(1,2,5,7,9,2,4,6,8,10). Write a program to perform following 2Hr
operations:
• Print content soft1 in 2 separate lines such that half values come on oneline
And other half in the next line.
• Print all even values of t1 as another tuple t2.
• Concatenate a tuple t2=(11,13,15) with t1.
Return maximum and minimum value from t1
10 Write a function that reads a file file1 and copies only alternative lines to another file 3Hr
file2. Alternative lines copied should be the odd numbered lines
11 Write a Python program to handle a Zero Division Error exception when dividing a 2 Hr
number by zero
12 Write a program that reads a list of integers from the user and throws an exception if 2Hr
any numbers are duplicates
13 Write a program that makes use of a function to display sine, cosine, polynomial and 2Hr
exponential curves
14 Take as input in the months and profits made by a company ABC over a year. 3Hr
Represent this data using a line plot. Generated line plot must include X axis label
name = Month Number and Y axis label name = Total profit

Mapping Continuous Evaluation components/PSDA with CLOs


S Bloom’s Course Learning Outcomes Class Projec Viva
N Level Test t
1 Understand Understand basic features and history of Python.   

2 Conceptual Conceptual different types of modules.   

3 Apply Apply suitable Python programming constructs, built-in functions, data   


structures using Python libraries to solve a problem.

4 Analyze Analyze basic Data visualization and File handling, Exception   


Handling in Python.

Text Books:
1. Venkatesh, NagarajuY, Introduction to Python Programming, Khanna Publishing House,2021.
2. Jeeva Jose, Introduction to Computing & Problem Solving With PYTHON,
Khanna Publishing House, 2023.
3. Sheetal Taneja & Naveen kumar: Python Programming a Modular approach– A Modular
approach with Graphics, Database, Mobile and Web applications, Pearson, 2017.
ReferenceBooks:

1. Think Python, by Allen Downey, 2nd edition, 2015, O’Reilly.


[Link]
2. An introduction to Python for absolute be ginners, by Bob Dowling, Cambridge Univ.
3. Introduction to Computation and Programming using Python, by John Guttag, 2ndedition, 2016, PHI
India.
Web Resources:
1. [Link]
2. [Link]

You might also like