0% found this document useful (0 votes)
47 views5 pages

Python Programming 1 1723888682740

Uploaded by

suyogtaware229
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
47 views5 pages

Python Programming 1 1723888682740

Uploaded by

suyogtaware229
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 5

Name of the BTECH CSE Semester: 3 Level: UG

Program:
Course Name Python Programming Course Code/ UBTCE203/PCC
Course Type
Course Pattern 2024 Version 1.0
Teaching Scheme Assessment Scheme
Theory Practical Tutorial Total Hours CIA ESA Practical/
Credits (Continuous (End Oral
Internal Semester
Assessment) Assessment)
3 - - 3 3 40 60 -
Pre-Requisite:
1. Basic knowledge of Programming in C
Course Objectives (CO): The objectives of Python Programming are:
1. To learn the fundamentals of the
Python programming language.
2. To create Python list tuple to
represent compound data.
3. To write and execute simple as well
as complex Python programs.
4. To analyze the concepts of procedural
as well as object-oriented Python
programs.
5. To perform files handling operations
and handle exceptions using Python.

Course Learning Outcomes (CLO): Students would be able to:


1. Elaborate the features of Python
programming language.
2. Apply the conditional and looping
constructs using python.
3. Use the multidimensional array and
string operations using python.
4. Analyze and apply the object-oriented
concepts using python programming.
5. Apply the file handling and exception
handling using python programming.
Course Contents/Syllabus:

Descriptors/Topics CLO Hours


UNIT I
Introduction to Python: CLO 1 9
Python Introduction- Features, Identifiers, Reserved words,
Indentation, Comments, Built-in Data types and their Methods:
Strings, List, Tuples, Dictionary, and Set - Type Conversion-
Operators. Execution of a Python, Program, Writing Our First
Python Program, Statements Precedence of Operators.
UNIT II
Decision Making and looping: Conditional (if), Alternative (if- CLO 2 9
else), Chained Conditional (if-elif-else); Iteration: state, while, for,
break, continue, pass; Math and Random number functions.
UNIT III
Array and String: CLO 3 9
Arrays in Python, Strings and Characters. Strings: String Slices,
Immutability, String Functions and Methods, String Module; Lists
as Arrays, Sum an Array of Numbers, Linear Search, Binary Search.
UNIT IV
Function and OOPs concept: CLO 4 9
User defined functions - function arguments & its types, OOPs
Concepts -Class and Objects, Constructors – Data hiding- Data
Abstraction- Inheritance.
UNIT V
Files and Exception: CLO 5 9
Text Files, Reading and Writing Files, Format Operator; Command
Line Arguments, Errors and Exceptions, Handling Exceptions,
Modules, Packages; Illustrative Programs: Word Count, Copy File.
Total Hours 45

Learning Resources

Textbooks:
1. Y. Daniel Liang, “Introduction to Programming using Python”, Pearson, 2012.
2. Wes McKinney, “Python for Data Analysis: Data Wrangling with Pandas, NumPy,
and Python”, O’Reilly, 2nd Edition, 2018.

Reference Books:
1. Wesley J. Chun, “Core Python Programming”, Prentice Hall, 2006
2. Mark Lutz, “Learning Python”, O’Reilly, 4th Edition, 2009
Online Resources/E-Learning Resources:
1. https://www.w3schools.com/python/
2. https://www.learnpython.org/
Name of the BTECH CSE Semester: 3 Level: UG
Program:
Course Name Python Programming Course Code/ UBTCE204/PCC
Laboratory Course Type
Course Pattern 2024 Version 1.0
Teaching Scheme Assessment Scheme
Theory Practical Tutorial Total Hours CIA ESA Practical/ Oral
Credits (Continuous (End Semester
Internal Assessment)
Assessment)
- 1 - 1 2 25 - 25
Pre-Requisite:
1. Basic knowledge of Programming in C
Course Objectives (CO): The objectives of Python Programming are:
1. To learn the python graphical user
interface and editors to implement
Python programming language.
2. To create Python list, tuple to
represent compound data.
3. To write simple as well as complex
Python programs.
4. To analyze the concepts of procedural
as well as object-oriented Python
programs.
5. To perform files handling operations
and handle exceptions using Python.

Course Learning Outcomes (CLO): Students would be able to:


1. Create data structures using Python
programming language.
2. Apply the conditional and looping
constructs using python.
3. Use the multidimensional array and
string operations using python.
4. Analyze and apply the object-oriented
concepts using python programming.
5. Apply the file handling and exception
handling using python programming.
Course Contents/Syllabus:
Practical Plan
Assignment Assignment Week Details CLO Ho
/Practical/ /Practical/ Number ur
Activity Activity / Turn s
Number Title
1 Practical 1: Week To write a python program that takes in CLO1 2
Command 1/Turn 1 command line arguments as input and
Line print the number of arguments.
Argument
2 Practical 2: Week To write a python program to perform CLO1 6
Data 2/Turn 1 Creation, indexing, slicing, concatenation
structure Week and repetition operations on Python built-
3/Turn 1 in data types: Strings, List, Tuples,
Week Dictionary, and Set.
4/Turn 1
3 Practical 3: Week To write a python program to Solve CLO2 4
Control 5/Turn 1 problems using decision and looping
Statements Week statements.
6/Turn 1
4 Practical 4: Week To write a python program to perform CLO2 2
Linear 7/Turn 1 linear search.
Search
5 Practical 5: Week To write a python program to perform CLO3 2
Binary 8/Turn 1 Binary search using strings.
Search
6 Practical 6: Week To write a python program to handle CLO3 2
Numerical 9/Turn 1 numerical operations using math and
Operations random number functions.
7 Practical 7: Week 10 To write a python program to Create CLO4 4
User /Turn 1, user-defined functions with different
Defined Week 11 types of function arguments.
Functions /Turn 1
8 Practical 8: Week 12 To write a python program to Create CLO4 2
Packages /Turn 1 packages and import modules from
and packages.
Modules
9 Practical 9: Week 13 To write a python program to perform CLO5 2
File /Turn 1 File manipulations- open, close, read,
Handling write, append and copy from one file to
Operations another.
10 Practical Week 14 To write a python program to handle CLO5 4
10: /Turn 1 Exceptions using Python Built-in
Exception Week 15 Exceptions.
Handling /Turn 1
Operations

Learning Resources

Textbooks:
1. Y. Daniel Liang, “Introduction to Programming using Python”, Pearson, 2012.
2. Wes McKinney, “Python for Data Analysis: Data Wrangling with Pandas, NumPy,
and Python”, O’Reilly, 2nd Edition, 2018.

Reference Books:
1. Wesley J. Chun, “Core Python Programming”, Prentice Hall, 2006
2. Mark Lutz, “Learning Python”, O’Reilly, 4th Edition, 2009

Online Resources/E-Learning Resources:


1. https://www.w3schools.com/python/
2. https://www.learnpython.org/

You might also like