INT108: Python Programming
Lecture-0
I am your Course Instructor – Dr. Vikas Verma
School of Computer Science Engineering, LPU
Course Overview
Course Code: •INT108
Course Title: •PYTHON PROGRAMMING
L-T-P: •3-0-2
Credits: •4
School Mission
School Vision
• To build computational skills through
hands-on and practice-based learning with
measurable outcomes.
To be a globally
recognized school • To establish a strong connect with industry
through excellence in
teaching, learning and for in-demand technology driven
research for creating curriculum.
Computer Science
professionals, leaders • To build the infrastructure for meaningful
and entrepreneurs of
future contributing to research around societal problems.
society and industry
for sustainable
• To nurture future leaders through
growth. research-infused education and lifelong
learning.
• To create smart and ethical professionals
and entrepreneurs who are recognized
globally.
Course Outcomes (CO)
Describe the installation of python environment and basics of
CO1 :: Python language.
Apply the conditional and iterative statements for evaluating
CO2 :: the appropriate alternates.
Explore functions, including recursion, with parameters and
CO3 :: arguments in Python.
Construct the core data structures like lists, dictionaries, tuples
CO4 :: and sets in Python to store, process and sort the data.
Apply the concepts of Object-oriented programming as used in
CO5 :: Python using encapsulation, polymorphism, and inheritance.
Examine file handling operations and effectively apply regular
CO6 :: expressions for pattern matching.
Program Outcomes (PO)
• Apply the knowledge of mathematics, science, engineering fundamentals, and an
PO1: Engineering knowledge
engineering specialization to the solution of complex engineering problems.
• Identify, formulate, review research literature, and analyze complex engineering
PO2: Problem analysis problems reaching substantiated conclusions using first principles of mathematics,
natural sciences, and engineering sciences.
• Design solutions for complex engineering problems and design system components or
PO3: Design/development of
processes that meet the specified needs with appropriate consideration for the public
solutions
health and safety, and the cultural, societal, and environmental considerations.
• Use research-based knowledge and research methods including design of experiments,
PO4: Conduct investigations
analysis and interpretation of data, and synthesis of the information to provide valid
of complex problems
conclusions.
• Create, select, and apply appropriate techniques, resources, and modern engineering
PO5: Modern tool usage and IT tools including prediction and modeling to complex engineering activities with
an understanding of the limitations.
• Apply reasoning informed by the contextual knowledge to assess societal, health,
PO6: The engineer and
safety, legal and cultural issues and the consequent responsibilities relevant to the
society
professional engineering practice.
Program Outcomes (PO)
• Understand the impact of the professional engineering solutions in societal and
PO7: Environment and
environmental contexts, and demonstrate the knowledge of, and need for sustainable
sustainability
development.
• Apply ethical principles and commit to professional ethics and responsibilities and
PO8: Ethics
norms of the engineering practice.
PO9: Individual and team • Function effectively as an individual, and as a member or leader in diverse teams,
work and in multidisciplinary settings.
• Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write
PO10: Communication
effective reports and design documentation, make effective presentations, and give
and receive clear instructions.
• Demonstrate knowledge and understanding of the engineering, management
PO11: Project management principles and apply the same to one’s own work, as a member or a leader in a team,
and finance manage projects efficiently in respective disciplines and multidisciplinary
environments after consideration of economic and financial factors.
• Recognize the need for, and have the preparation and ability to engage in
PO12: Life-long learning
independent and life-long learning in the broadest context of technological change.
Program Specific Outcomes (PSO)
PSO1 PSO2
• Apply acquired skills in • Apply diverse IT skills to
software engineering, design, develop, and
networking, security, evaluate innovative solutions
databases, intelligent for business environments,
systems, cloud computing considering risks, and
and operating systems to utilizing interdisciplinary
adapt and deploy innovative knowledge for efficient real-
software solutions for time projects benefiting
diverse applications. society.
CO-PO-PSO Mapping
Course Outcome PO3: PO5: PO12: PSO2:
Design/ Modern tool usage Life-long learning Apply diverse IT skills
development of to design, develop,
solutions and evaluate
innovative solutions…
CO1: Describe the installation of python
environment and basics of Python language
CO2: Apply the conditional and iterative
statements for evaluating the appropriate
alternates
CO3: Explore functions, including recursion,
with parameters and arguments in Python
CO4: Construct the core data structures like
lists, dictionaries, tuples and sets in Python
to store, process and sort the data
CO5: Apply the concepts of Object-oriented
programming as used in Python using
encapsulation, polymorphism, and
inheritance
CO6: Examine file handling operations and
effectively apply regular expressions for
pattern matching
Why languages?
Computer Language v/s Human Language
Hindi | English | French
Binary C
Assembly Java
Python
Programming Languages
Machine
Programming
Language
Languages
Assembly
Language
High-Level
Language
Programming Languages
Machine
Programming
Language
Languages
Assembly
Language
High-Level
Language
Different Computer Languages
• Some of the 2500+ programming languages
You can refer to the lists of prominent programming languages at following sources:
https://en.wikipedia.org/wiki/List_of_programming_languages | https://divnotes.com/blog/list-of-programming-languages
https://www.geeksforgeeks.org/blogs/a-categorical-list-of-programming-languages/
Compiled vs. Interpreted Languages
Compiled and interpreted languages represent another important
distinction in programming. The key difference lies in how the code
is executed.
Compiled languages, Interpreted languages,
Slower, but offer
Transformed Faster performance
flexibility to run
since the code is Executed line-
into machine Like Python, code in a more
already translated by-line by an
like C or C++, code before HTML, dynamic & flexible
into a format the interpreter at environment
being run by machine can JavaScript,
runtime. without need to be
the computer. directly execute.
pre-compiled.
Make Language your friend!
• Let’s talk about Python
Key Features of Python Programming Language
Python Applications
A few of the Prominent Companies that use Python
And many more…!
Course Syllabus
• Unit-1
• Setting up your Programming Environment: Python versions,
Python on windows, running a ‘Hello World’ program
• Variables, Expression and Statements: Naming and using
variables, Avoiding Name Error when using variables, Values and
types, variables, variables name and keywords, statements,
operators and operand, order of operations, operations on string,
composition and comments
Course Syllabus
• Unit-2
• Conditional statements: modulus operator, Random numbers,
Boolean expressions, logic operators, conditional, nested
conditionals
• Iterative statements: while statements, for loop statement,
Nested for, Nested while, Random numbers in loops,
encapsulation and generalization
Course Syllabus
• Unit-3
• Functions and recursion: function calls, type conversion and coercion, math functions,
adding new function, parameters and argument, recursion and its use
Course Syllabus
• Unit-4
• String: string a compound data type, length,
string traversal, string slices, comparison, find
function, looping and counting
• Lists: list values, length, membership,
operations, slices, deletion, accessing
elements, list and for loops, list parameters
and nested list.
• Tuples and Dictionaries: mutability and
tuples, tuple assignment, tuple as return
values, dictionaries operations and methods,
sparse matrices, aliasing and coping
Course Syllabus
• Unit-5
• Classes and objects: Creating classes, creating
instance objects, accessing attributes
• Object oriented programming terminology: Class
Inheritance, Overriding Methods, Data Hiding,
Function Overloading
Course Syllabus
• Unit-6
• Files and Exceptions: text files, writing variables, Reading from
a file, writing to a file, directories, pickling, handling the zero
Division error exception, using try-except blocks, The else
block, Handling the File Not found error exception
• Regular Expressions: Concept of regular expression, various
types of regular expressions, using match function, Web
Scraping by using Regular Expressions
Components of Evaluation
Marks Distribution
Component Marks
Attendance 5
Continuous Assessment (CA)* 50 (20+15+15)
End-Term Practical (ETP) 45 (prorated from 100)
Total 100
Continuous Assessment (CA)
• Components of CA
• Best 1 out of 2 Tests (Code-based): 15 Marks
• Written Test (Mandatory): 20 Marks
• Programming Practice (Mandatory): 15 Marks
• All code-based test will be conducted on CodeTantra platform.
• Each Code based test will contain 10 MCQ questions each of 1 marks and 2
coding questions each of 10 marks.
• Programming Practice details on next slide…
Continuous Assessment (CA) – Programming Practice
• Programming practice (Python Programming course) Student will complete it unit wise on
CodeTantra platform.
• Student will be provided with certain static questions unit wise (Mixture of coding and MCQ). These questions will
be discussed by faculty in class.
• For each unit (6 units in total), students must solve 15 randomized problems in form of test totalling 90 problems
across all units. These problems are weighted which will be considered during final calculation.
• Mandatory Condition: To qualify for programming practice marks, students must solve
at least 50% of the programming questions and 50% of the MCQ questions.
Continuous Assessment (CA) – Programming Practice
• Eligibility Calculation:
• Percentage of problems solved out of the total required will be calculated
(example: 192 out of 294 problems solved equals 65.31%).
• Eligible marks will be calculated based on this percentage from a maximum
of 15 marks.
• Proctored Coding Contests (CAs) Calculation:
• The percentage of marks scored in the proctored Coding Contest and
written test will be calculated (example 15 out of 35 marks equals 42.86%).
• Final Marks Calculation:
• The eligible marks by the percentage scored in the Cas will be
multiplied and final marks will be rounded-up to the nearest
whole number.
Continuous Assessment (CA) – Programming Practice
Step Description Formula / Data Result
1 Problems Solved 192 out of 294 192 / 294
2 Eligibility Percentage (192 ÷ 294) × 100 65.31%
3 Eligible Marks (out of 15) (65.31 ÷ 100) × 15 9.80
4 Other CA Component’s score 15 out of 35 15 / 35
5 Other CA’s Score Percentage (15 ÷ 35) × 100 42.86%
Programming Practice’ Final Marks
6 (42.86 ÷ 100) × 9.80 4.20
before Rounding
Programming Practice’
7
Final Rounded-up Marks (out of 15)
Round-Up(4.20) 5 / 15
End Term Practical (ETP)
• ETP
• Execution: 30 Marks
• Viva: 40 Marks
• Written: 30 Marks
• ETP will be conducted on CodeTantra platform.
• Important: Students who score 60% or above in the combined viva and written
component will be awarded marks for execution without proration. Those scoring below
60% in [Viva+Written] components will receive get their Execution marks prorated
(reduced) according to their percentage performance in viva and written component.
Case Execution Marks Viva+Written Marks Proration Final Execution Score
I 25/30 45/70 i.e. 64% >=60% NO 25/30 (no change)
II 25/30 35/70 i.e. 50% < 60% YES 50% of 25/30 ➔ 12.5/30
III 25/30 7/70 i.e. 10% < 60% YES 10% of 25/30 ➔ 2.5/30
Blended Learning
• Third party platform for practice and assessment:
• Download the app:
From: https://myclass.lpu.in/
Recognition of Prior Learning (RPL) for Python
Programming (Under EduRev)
• The MOOC course “Programming in Python” (available on NPTEL) is included under the
Recognition of Prior Learning (RPL) scheme offered by EduRev.
• This provides an excellent opportunity for learners who have previously acquired
relevant knowledge or experience in the field—either through
• self-study,
• industry work,
• projects, or
• informal learning pathways.
• Benefits to Learners
• Saves Time: No need to re-learn content already mastered.
• Cost-Effective: Avoids paying for and attending a course unnecessarily.
• Recognizes Experience: Validates prior work or independent learning in AI.
• Supports Lifelong Learning: Encourages learners from diverse backgrounds to
participate in formal education.
Recognition of Prior Learning (RPL) for Python
Programming (Under EduRev)
• How RPL is Applicable:
• Under the EduRev RPL Framework, the following process is followed:
• 1. Eligibility for RPL
• Learners who believe they already possess the skills and understanding covered in the Python
programming course may apply for RPL.
• 2. Assessment Process
• Once the RPL application is accepted, the student will be required to appear for an RPL
assessment/examination.
• This exam is designed to evaluate the learner’s knowledge in python programming.
• 3. Performance-Based Exemption
• If the student achieves marks above the defined threshold set by EduRev, they will be
considered to have met the learning outcomes of the course.
• In such cases, the course requirement will be exempted, and the student may proceed to
other subjects or stages of their academic program without taking the full course again.
• 4. Certification and Records
• Upon successful RPL approval, the exemption is recorded officially, and the learner’s academic
transcript or learning portfolio will reflect the credited course based on RPL.
Recognition of Prior Learning (RPL) for Python
Programming (Under EduRev)
• How to Apply:
• UMS link to apply for EDU Revolution initiatives:
UMS Navigation → LMS → EDU Revolution: BE THE CHANGE
• Queries:
• For course specific query, you may approach me as your first point of contact.
• OR, raise a ticket for resolution through RMS at the following path:
UMS Navigation → Relationship management system → EDU Revolution: BE THE CHANGE
• OR, get your queries resolved through the Helpline Number: 01824-520150.
Open Educational Resources (OERs) for INT108
Course Code Unit Broad topic OER Type Title of *%age unit Source URL
Course Title mapped OER mapped with
OER (approx)
Unit 1 Setting up your Reading Introduc 80 https://www.w3schools.com/python/python_intro.asp
python material tion to https://www.w3schools.com/python/python_comment
environment (Text) Python s.asp
and variables, Progra https://www.w3schools.com/python/python_variables.
expression and mming/ asp
statements https://www.w3schools.com/python/python_operators
INT108: .asp
Python https://www.w3schools.com/python/python_comment
Programming s.asp
Unit 2 Conditional Reading Conditio 95 https://www.w3schools.com/python/python_condition
and iterative material nal and s.asp
statements (Text) iterative https://www.w3schools.com/python/python_while_loo
stateme ps.asp
nts https://www.w3schools.com/python/python_for_loops.
asp
Open Educational Resources (OERs) for INT108
Course Code Unit Broad topic OER Type Title of *%age unit Source URL
Course Title mapped OER mapped with
OER (approx)
Unit 3 Function and -Reading Function 80 https://www.w3schools.com/python/python_functions
recursion Materials and .asp
*Text recursio https://www.w3schools.com/python/python_lambda.a
n sp
Unit 4 String, List, Reading Differen 90 https://www.w3schools.com/python/python_strings.as
INT108: tuple and Materials t data p
Python dictionary (Pdf) types https://www.w3schools.com/python/python_lists.asp
Programming and https://www.w3schools.com/python/python_tuples.as
operatio p
ns https://www.w3schools.com/python/python_dictionari
es.asp
Open Educational Resources (OERs) for INT108
Course Code Unit Broad topic OER Type Title of *%age unit Source URL
Course Title mapped OER mapped with
OER (approx)
Unit 5 Classes and -Reading Classes, 75 https://www.w3schools.com/python/python_classes.as
objects, object- Materials inherita p
oriented *Text nce, https://www.w3schools.com/python/python_inheritan
programming operator ce.asp
terminology overload
ing, data
INT108: hiding
Python Unit 6 Files and -Reading File and 75 https://www.w3schools.com/python/python_file_hand
Programming exceptions, Materials exceptio ling.asp
regular *Text n https://www.w3schools.com/python/python_file_open
expression handling .asp
https://www.w3schools.com/python/python_try_exce
pt.asp
Follow this for getting instant solution for your Academic
queries:
Division of International Affairs
Division of International Affairs
Division of International Affairs
Division of International Affairs
Follow your school Social Media Handles
Follow your school Social Media Handles
Follow your school Social Media Handles
Follow your school Social Media Handles
Feedback
• Scan this QR Code and fill the feedback form:
• https://forms.gle/CjsijkyM9cbsPArB6
Closing…