PYTHON PROGRAMMING KNC402
|
|
Course Outcome ( CO) |
Bloom’s Knowledge Level (KL) |
|
||
|
|
|
|
|
|
|
|
|
At the
end of course , the student will be able to understand |
|
|
||
|
|
|
|
|
|
|
CO 1 |
|
To read and
write simple Python programs. |
|
K1, K2 |
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
CO 2 |
|
To develop
Python programs with conditionals and loops. |
|
K2, K4 |
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
CO 3 |
|
To define
Python functions |
and to use
Python data structures –- lists, tuples, dictionaries |
K3 |
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
CO 4 |
|
To do input/output
with files in Python |
|
K2 |
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
CO 5 |
|
To do
searching ,sorting and merging in Python |
|
K2, K4 |
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
DETAILED SYLLABUS |
|
3-1-0 |
|
|
|
|
|
|
|
|
Unit |
|
|
Topic |
|
Proposed |
|
|
|
|
|
|
Lecture |
|
|
|
|
|
|||
|
Introduction: The Programming Cycle for
Python , Python IDE, Interacting with Python Programs , |
|
|
|||
I |
Elements of Python, Type Conversion. |
|
08 |
|
||
Basics: Expressions, Assignment Statement, Arithmetic Operators,
Operator Precedence, Boolean |
|
|||||
|
|
|
||||
|
Expression. |
|
|
|
|
|
|
|
|
|
|||
|
Conditionals:Â ConditionalÂ
statement in PythonÂ
(if-else statement, itsÂ
working and execution), |
|
|
|||
II |
Nested-if statement and Elif statement in Python,
Expression Evaluation & Float Representation. |
08 |
|
|||
|
|
|
|
|
||
|
Loops: Purpose and working of loops , While loop including its
working, For Loop , Nested Loops , |
|
|
|||
|
Break and Continue. |
|
|
|
|
|
|
Function: Parts of A Function ,
Execution of A Function , Keyword and Default Arguments ,Scope |
|
|
|||
|
Rules. |
|
|
|
|
|
III |
Strings : Length of the string and perform Concatenation and Repeat
operations in it. Indexing and |
|
|
|||
Slicing of
Strings. |
|
|
08 |
|
||
|
|
|
|
|||
|
Python DataÂ
Structure : TuplesÂ
, Unpacking SequencesÂ
, Lists ,Â
Mutable Sequences ,Â
List |
|
|
|||
|
Comprehension , Sets , Dictionaries |
|
|
|
||
|
Higher Order Functions: Treat functions as first class Objects , Lambda
Expressions |
|
|
|
Sieve of Eratosthenes: generate prime numbers with the help of an algorithm
given by the Greek |
|
|
|
Mathematician named Eratosthenes, whose algorithm is known
as Sieve of Eratosthenes. |
|
|
|
File I/O : File input and output operations in Python Programming |
|
|
|
Exceptions and Assertions |
|
|
IV |
Modules : Introduction , Importing
Modules , |
08 |
|
|
Abstract
Data Types :
Abstract data types and ADT interface in Python Programming. |
|
|
|
Classes : Class definition and other operations in the classes , Special
Methods ( such as _init_, |
|
|
|
_str_, comparison methods and Arithmetic methods etc.) ,
Class Example , Inheritance , Inheritance |
|
|
|
and OOP. |
|
|
|
|
|
|
|
Iterators
& Recursion:
Recursive Fibonacci , Tower Of Hanoi |
|
|
V |
Search : Simple Search and Estimating
Search Time , Binary Search and Estimating Binary Search |
08 |
|
Time |
|
||
|
|
|
|
|
Sorting & Merging: Selection Sort , Merge List , Merge Sort , Higher Order
Sort |
|
|
|
|
|
|
Mapped With : https://ict.iitk.ac.in/product/python-programming-a-practical-approach/
|
Course Outcomes (CO) |
Bloom’s
Knowledge Level (KL) |
|
CO 1 |
Students are able to understand and read and write simple
Python programs. |
K2 |
|
|
|||
|
|
|
|
CO 2 |
Students are able to understand and develop Python
programs with conditionals and loops. |
K2, K6 |
|
|
|||
|
|
|
|
CO 3 |
Students are
able to understand and define Python functions and to use Python data
structures |
K1, K2 |
|
–- lists, tuples, dictionaries. |
|
||
|
|||
|
|||
CO 4 |
Students are able to understand and do input/output with
files in Python. |
K1, K2 |
|
|
|||
|
|
|
|
CO 5 |
Students are able to understand and do searching, sorting
and merging in Python. |
K1, K2 |
|
|
|||
|
|
|
Python Programming (KNC402)
CO |
PO1 |
PO2 |
PO3 |
PO4 |
PO5 |
PO6 |
PO7 |
PO8 |
PO9 |
PO10 |
PO11 |
PO12 |
KNC402.1 |
2 |
3 |
3 |
|
3 |
|
3 |
2 |
2 |
|
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
KNC402.2 |
3 |
3 |
3 |
2 |
3 |
2 |
2 |
2 |
3 |
|
|
3 |
KNC402.3 |
3 |
3 |
2 |
3 |
3 |
3 |
3 |
2 |
3 |
|
|
3 |
KNC402.4 |
3 |
3 |
3 |
3 |
3 |
3 |
2 |
2 |
3 |
|
|
3 |
KNC402.5 |
3 |
3 |
3 |
3 |
3 |
3 |
2 |
2 |
3 |
|
|
3 |
KNC402 |
3 |
3 |
3 |
2 |
3 |
2 |
2 |
2 |
3 |
|
|
3 |
CO |
PSO1 |
PSO2 |
KNC402.1 |
2 |
2 |
|
|
|
KNC402.2 |
3 |
3 |
KNC402.3 |
3 |
3 |
KNC402.4 |
3 |
3 |
KNC402.5 |
3 |
3 |
KNC402 |
3 |
3 |