0% found this document useful (0 votes)
16 views

INT108L0

Uploaded by

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

INT108L0

Uploaded by

bubipalo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 37

Lecture 0

INT108:: PYTHON PROGRAMMING


Course Overview
• Course Code: INT108

• Course Title: PYTHON PROGRAMMING

• L T P: 3 0 2

• Credit: 4
Program Outcomes (PO)
Outcome Heading Description
PO1 Engineering knowledge Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering specialization to the
solution of complex engineering problems.

PO2 Problem analysis Identify, formulate, review research literature, and analyze complex engineering problems reaching substantiated
conclusions using first principles of mathematics, natural sciences, and engineering sciences.

PO3 Design/development of solutions Design solutions for complex engineering problems and design system components or processes that meet the
specified needs with appropriate consideration for the public health and safety, and the cultural, societal, and
environmental considerations.
PO4 Conduct investigations of complex Use research-based knowledge and research methods including design of experiments, analysis and interpretation of
problems data, and synthesis of the information to provide valid conclusions.

PO5 Modern tool usage Create, select, and apply appropriate techniques, resources, and modern engineering and IT tools including prediction
and modeling to complex engineering activities with an understanding of the limitations

PO6 The engineer and society Apply reasoning informed by the contextual knowledge to assess societal, health, safety, legal and cultural issues and
the consequent responsibilities relevant to the professional engineering practice.

PO7 Environment and sustainability Understand the impact of the professional engineering solutions in societal and environmental contexts, and
demonstrate the knowledge of, and need for sustainable development.

PO8 Ethics Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering practice.
PO9 Individual and team work Function effectively as an individual, and as a member or leader in diverse teams, and in multidisciplinary settings.
PO10 Communication Communicate effectively on complex engineering activities with the engineering community and with society at
large, such as, being able to comprehend and write effective reports and design documentation, make effective
presentations, and give and receive clear instructions.

PO11 Project management and finance Demonstrate knowledge and understanding of the engineering, management principles and apply the same to one’s
own work, as a member or a leader in a team, manage projects efficiently in respective disciplines and
multidisciplinary environments after consideration of economic and financial factors.

PO12 Life-long learning Recognize the need for, and have the preparation and ability to engage in independent and life-long learning in the
broadest context of technological change.
Program Specific Outcomes (PSO)

⚫ Apply acquired skills in software engineering, networking, security,


databases, intelligent systems, cloud computing and operating systems to
adapt and deploy innovative software solutions for diverse applications.
⚫ Apply diverse IT skills to design, develop, and evaluate innovative
solutions for business environments, considering risks, and utilizing
interdisciplinary knowledge for efficient real-time projects benefiting
society.
Course Outcomes
⚫ 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.
Course Outcomes PO PO PO3 PO4 PO5 PO6 PO7 PO8 PO9 P10 P11 P12 PSO1 PSO2
1 2
CO1: Describe the 3 3 2 3
installation of python
environment and
basics of Python
language
CO2: apply the 3 3 2 3
conditional and
iterative statements for
evaluating the
appropriate alternates
CO3: Explore 3 3 2 3
functions, including
recursion, with
parameters and
arguments in Python.
CO4 :: construct the 3 3 2 3
core data structures
like lists, dictionaries,
tuples and sets in
Python to store,
process and sort the
data
CO5 :: apply the 3 3 2 3
concepts of Object-
oriented programming
as used in Python
using encapsulation,
polymorphism, and
inheritance
CO6: Examine file 3 3 2 3
handling operations
and effectively apply
regular expressions for
pattern matching
Why languages?
Computer Language vs. Human Language
Different Computer Languages
Compiler vs. Interpreter
Make language your Friend
Overview of Unit 1
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
Overview of Unit 2
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
Unit 3
Functions and recursion : function calls, type conversion
and coercion, math functions, adding new function,
parameters and argument, recursion and its use
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
Unit 5
Classes and objects : Creating classes, creating instance objects,
accessing attributes
Object oriented programming terminology : Class Inheritance,
Overriding Methods, Data Hiding, Function Overloading
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
CA and ETP

CA
Programming Practice(Mandatory) 40 marks

Best 2 out of 3 Test Code -Based each of 30 marks

ETP
2 Coding Problems(70 marks) + viva(30 marks )
Marks Breakup
• Marks Breakup:
Activity Marks
Attendance 5
Continuous Assessment 50(20+15+15)
(CA)*
End-Term Practical (ETP) 45

Note :
20 Marks for programming practice, 15 marks for test code based.
Important information
⚫ Programming practice(Python Programming course)
Student will complete it unit wise on CodeTantra
platform.

⚫ All code based test will be conducted on CodeTantra


platform.

⚫ ETP will be conducted on CodeTantra platform.


Programming practice
⚫ Each student must solve a mandatory set of 100 static
problems(50 MCQ +50 Coding problems) during the
class.

⚫ For each unit (6 units in total), students must solve 40


randomized problems in form of test totaling 240
problems across all units. These problems are
weighted which will be considered during final
calculation.
Mandatory condition
First 50 percent of questions are mandatory to attempt
in programming practice.
Mandatory conditions
⚫ To qualify for programming practice marks, students
must solve at least 50% of the programming
questions and 50% of the MCQ questions.
⚫ Each Code based test will contain 10 MCQ questions
each of 1 marks and 2 coding questions each of 10
marks.
⚫ Duration for code based test will be 1 hour.
Calculation of Final Programming Practice Marks
(Out of 40):
⚫ Eligibility Calculation:
⚫ Determine the percentage of problems solved out of the total
required (example: 192 out of 240 problems solved equals
80%).
⚫ Calculate the eligible marks based on this percentage from a
maximum of 40 marks.
⚫ Proctored Coding Contests (CAs) Calculation:
⚫ Calculate the percentage of marks scored in the proctored
Coding Contests (example: 24 out of 30 marks equals 80%).
⚫ Final Marks Calculation:
⚫ Multiply the eligible marks by the percentage scored in the
CAs.
⚫ Round up the final marks to the nearest whole number.
Example
1. If a student solves 192 out of 240 questions :
Percentage of questions solved: 192/240×100=80%
2. Eligible marks: 80%×40=32 marks
3. If the student scores 24 out of 30 in2 best CAs:
4. Percentage of marks scored in CAs:
48/60×100=80%
5. Final Programming Practice Marks:80%×32=25.6
6. Rounded up to 26 marks out of 40 for Programming
Practice
Questions Percentage Eligible CA Score Percentage in Final Marks Final Marks
Solved (out of Solved Marks (Out of (Out of 60) CA Calculation (Out of 40)
240) 40)

80% of 32 =
25.6, rounded
192 80% 32 48 80% up 26

50% of 20 =
10, rounded
120 50% 20 30 50% up 10

96 40% Not eligible 36 60% Not eligible 0

70% of 24 =
16.8, rounded
144 60% 24 42 70% up 17

90% of 36 =
32.4, rounded
216 90% 36 54 90% up 33

60 25% Not eligible 18 30% Not eligible 0

70% of 30 =
21, rounded
180 75% 30 42 70% up 21
Star Course
Hands-on Practice: A good course which include
interactive coding exercises to help you apply what
you've learned.

This course is a short bite-sized courses that help


students develop foundational-level knowledge and
skills in Python language. Although the course is
packed with high quality content that helps students
further with their learning and earn credits.
Blended learning
⚫ Third party platform for assessment CodeTantra
Open Educational Resource
Course Course Unit mapped Broad topic OER Type Title of *%age unit mapped Source URL
Code Title OER with OER (approx)
Unit 1 Setting up your Reading Introductio 80 https://www.w3scho
python material n to ols.com/python/pyth
environment (Text) Python on_intro.asp
and variables, Program https://www.w3scho
ols.com/python/pyth
expression and ming/ on_comments.asp
statements https://www.w3scho
INT108: Python ols.com/python/pyth
Programming on_variables.asp
https://www.w3scho
ols.com/python/pyth
on_operators.asp
https://
www.w3schools.co
m/python/
python_comments.a
sp
Unit 2 Conditional and Reading Conditiona 95 https://www.w3scho
iterative material l and ols.com/python/pyth
statements (Text) iterative on_conditions.asp
statements https://www.w3scho
ols.com/python/pyth
on_while_loops.asp
https://
www.w3schools.co
m/python/
python_for_loops.as
p
Unit 3 Function and -Reading Function and 80 https://www.w3schools.c
recursion Materials recursion om/python/python_functi
*Text ons.asp
https://
www.w3schools.com/
python/
python_lambda.asp

Unit 4 String, List, tuple Reading Different 90 https://www.w3schools.c


and dictionary Materials data types om/python/python_string
(Pdf) and s.asp
operations https://www.w3schools.c
om/python/python_lists.a
sp
https://www.w3schools.c
om/python/python_tuple
s.asp
https://
www.w3schools.com/
python/
python_dictionaries.asp
Unit 5 Classes and objects, -Reading Classes, 75 https://www.w3schools.co
object oriented Materials inheritance, m/python/python_classes.
programming *Text operator asp
terminology overloading, https://www.w3schools.co
m/python/python_inherita
data hiding nce.asp

Unit 6 Files and -Reading File and 75 https://www.w3schools.co


exceptions, regular Materials exception m/python/python_file_han
expression *Text handling dling.asp
https://www.w3schools.co
m/python/python_file_ope
n.asp
https://www.w3schools.co
m/python/python_try_exc
ept.asp

You might also like