Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
12 views

Python Cho (Updated)

course handout for python

Uploaded by

bewosi4132
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Python Cho (Updated)

course handout for python

Uploaded by

bewosi4132
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

(Established under the Presidency University Act, 2013 of the Karnataka Act 41 of 2013)

[2023-24 Even SEMESTER]

COURSE PLAN

SCHOOL: SOCSE&IS DEPT: CSE DATE OF ISSUE: 28-02-2024

NAME OF THE PROGRAM : B. Tech in Computer Science & Engineering

P.R.C.APPROVAL REF. : PU/AC-18/CSE17/CBC//2022

SEMESTER/YEAR : VI

COURSE TITLE & CODE : Coding Skills in Python & CSE3119

COURSE CREDIT STRUCTURE : 2-2-3

CONTACT HOURS : 4 Hours Per Week

COURSE IC :

COURSE INSTRUCTOR(S) :

COURSE URL : https://www.camu.in/index

PROGRAM OUTCOMES :

Graduates of the B. Tech. Program in Computer Science and Engineering will be able to:

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 problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information to
provide valid conclusions.

PO5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineeringandITtoolsincludingpredictionandmodelingtocomplexengineeringactivitieswithan 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 and
management principles and apply these to one’s own work, as a member and leader in a team, to manage
projects and in multidisciplinary environments.

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:

At the end of the B. Tech. Program in Computer Science and Engineering the students shall:
PSO1. Problem Analysis: Identify, formulate, research literature, and analyze complex engineering
problems related to AI & ML principles and practices, Programming and Computing technologies
reaching substantiated conclusions using first principles of mathematics, natural sciences and engineering
sciences
PSO2. Design/development of Solutions: Design solutions for complex engineering problems related to
AI & ML principles and practices, Programming and Computing technologies and design system
components or processes that meet the specified needs with appropriate consideration for the public
health and safety, cultural, societal and environmental considerations.
PSO3. Modern Tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modelling to complex engineering activities related to
AI & ML principles and practices, Programming AI & ML Computing & analytics with an understanding
of the limitations.
COURSE PREREQUISITES:

Basic knowledge of Computers and Mathematics


COURSE DESCRIPTION:

The purpose of this course is to enable the students to develop python scripts using its basic programming
features and also to familiarize the Python IDLE and other software’s. This course develops analytical
skills to enhance the programming abilities.
The associated laboratory provides an opportunity to validate the concepts taught and enhances the ability
to build real time applications.
COURSE OBJECTIVES: The objective of the course is to familiarize the learners with Coding Skills in
Python and attain SKILL DEVELOPMENT through Experiential Learning techniques.
COURSE OUTCOMES:

On successful completion of the course the students shall be able to:

TABLE 1: COURSE OUTCOMES


CO CO Expected BLOOMS
Number LEVEL
CO1 Summarize the basic Concepts of python. Comprehension

CO2 Demonstrate proficiency in using data structures. Application

CO3 Illustrate Input, Output Operations and user-defined functions, Application


Exception Handling
CO4 OOPs and Built-in libraries- Array and Numpy Application

MAPPING OF C.O. WITH P.O [H-HIGH, M- MODERATE, L-LOW]

TABLE 2a: CO PO Mapping ARTICULATION MATRIX


CO.
No PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO 10 PO 11 PO 12
CO1 H - - - - - - M - L L M
CO2 H H H - - - - M M M M M
CO3 H H H M - M - M M M M M
CO4 H M M - H - - M M M M M

TABLE 2b: CO PSO Mapping ARTICULATION MATRIX


CO. No PSO1 PSO2 PSO3
CO1 M M H
CO2 H H H
CO3 H H H
CO4 H H H
COURSE CONTENT (SYLLABUS):

MODULE I: Basics of Python Programming [10 Sessions] [Comprehension]

Python Language Fundamentals, Python Variables, Data types, operators and Expressions, Input and Output
Statements. Control Structures – Selective and Repetitive structures

MODULE II: Indexed and Associative Data Structures [20 Sessions] [Apply]

Sequences in Python (Strings, Lists, Sets, Tuples, byte, byte array), Mapping Types (Dictionaries)

MODULE III: Functions, Exception handling [12 Sessions] [Apply]

Input and Output Operations, Functions and Exception handling


MODULE IV: OOPs methodology and Built-in libraries Array and Numpy [10 Sessions] [Apply]
Classes and objects basics, constructors, Relationship among classes, Inheritance, Encapsulation,
Abstraction, array and Numpy

SKILL SETS TO BE DEVLOPED:


Graduate of the B.Tech. Program in Computer Science and Engineering shall be able to:

SK1. An attitude of enquiry.


SK2. Confidence and ability to tackle new problems.
SK3. Ability to interpret events and results.
SK4. Ability to work as a leader and as a member of a team.
SK5. Assess errors in systems/processes/programs/computations and eliminate them.
SK6. Observe and measure physical phenomena.
SK7. Write reports.
SK8. Select suitable equipment, instrument, materials & software
SK9. Locate faults in system/Processes/software.
SK10. Manipulative skills for setting and handling systems/Process/ Issues
SK11. The ability to follow standard /legal procedures.
SK12. An awareness of the Professional Ethics.
SK13. Need to observe safety/General precautions.
SK14. To judge magnitudes/Results/issues without actual measurement/actual contacts.
SCHEDULE OF INSTRUCTION FOR THE THEORY COMPONENT:
Main pedagogy: PPT + Chalk Board and Lecture

TABLE 3a: DETAILED COURSE SCHEDULE/ LESSON PLAN(THEORY)


Topics / Learning
Sess Objectives LOL HOL Teaching
Course Pedagogy
ion (Lower (Higher Reference
Outcom
no. Lesson Title Order Order (Chapter
LO: Student shall e
Learning) Learnin & Pg. No)
be able to
g)
1 Module 1: Introduction to the
Basics of course and
Python evaluation pattern,
programming introduction to
Python, Data types,
Literals, Variables CO1 PPT/Interactive
and Identifiers L1 Lecture
LO1: Define the
key elements of L2 --
python
LO2: Explain the L2
different data types
in python
LO3: Differentiate
the Literals and
variables
2 Basics of Operators,
Python Expressions,
programming input/output
functions,
Familiarization of
Python IDLE, L2
Pycharm and CO1 PPT/Interactive
Programming L3 -- Lecture
Exercises
LO1: Explain the L2
operators in Python
LO2: Recognize the
I/O functions
LO3: Interpret the
syntax of python
constructs.
3 Basics of Selective and
Python iterative control
programming structures, range(),
break, continue and CO1 PPT/Interactive
PASS statements L2 Lecture
LO1: Identify the
different selective
and iterative control
structures L2
LO2: Compare
iterative control L3
structures
LO3: Interpret the
usage of break,
continue and PASS
statements.
4 Basics of Programming
Python exercises on
programming Selective and
iterative control L3
structures.
LO1: Apply the L3 PPT/Interactive
different selective Lecture
control structures L3 CO1
LO2: Apply the
different iterative
control structures
LO3: Apply
break, continue
and PASS
statements.
5 Module 2: Strings – len(),
Sequence looping and
and Mapping counting, in
Datatypes operator, string
methods, parsing, L1
strings. --
Programming CO2 PPT/Interactive
exercises on strings L3 Lecture
LO1: Explain
different string L3
operations.
LO2: Interpret the
usage of string
methods.
LO3: Apply string
functions
6 Module 2: Lists Data Types –
Sequence accessing a list, list
and Mapping slicing, operations
Data types done on a list – PPT/Interactive
changing, adding, -- CO2 Lecture
inserting, deleting,
elements from a list
List methods,
assigning and
copying lists,
iterating over lists,
built in range(),
programming
exercises on lists L2
Programming
exercises on nested L3
lists and list
comprehension L3
LO1: Explain
different List
operations.
LO2: Interpret the
usage of List
methods.
LO3: Apply List
methods.
7 Module 2: Tuples – creating,
Sequence accessing elements,
and Mapping slicing, changing or
Data types deleting a tuple,
membership test, CO2 PPT/Interactive
basic programs on Lecture
tuples. --
Operations on L2
tuples –
concatenation, L3
repetition, built-in L3
tuple functions,
advantages over
lists with examples,
programming
exercises on Tuples
LO1: Explain
different Tuple
operations.
LO2: Interpret the
usage of Tuple
methods.
LO3: Apply Tuple
methods
8 Module 2: Dictionaries –
Sequence creating a
and Mapping dictionary,
Data types accessing values, -- CO2 PPT/Interactive
updating and Lecture
deleting.
Operations on L2
dictionary-traversal, L3
membership, built-
in dictionary L3
methods. Set
operations Simple
programs on
dictionaries and
sets.
Byte and Byte
array.
LO1: Explain
different Dictionary
and Set operations.
LO2: Interpret the
usage of Dictionary
and Set methods.
LO3: Apply
Dictionary and Set
methods.
9
Revision and Course Integration
10
Midterm
11
Midterm
12
Midterm
13
Midterm
14 Module 3: Programming exercises
Input and on python input and --
Output output functions.
Operations, LO1: Interpret the
Functions and usage of Input and
Exception Output operations
handling LO2: Apply those CO3 PPT/Interact
operations while L3 ive Lecture
solving problems. L3
15 Module 3: User defined functions
Input and – definition, non-value L2 CO3 PPT/Interact
Output returning functions, L3 -- ive Lecture
Operations, actual and formal
Functions and arguments, mutable
Exception and immutable
handling arguments, Positional,
keyword and default
arguments, variable
scope, functions
returning a collection,
programming exercises
on Functions
LO1: Interpret the
usage of parameter and
argument passing
LO2: Apply modular
approach to solve problems.

16 Module 3: Handling Exception-


Input and try except block, Try L2 PPT/Interact
Output with multi except, -- CO3 ive Lecture
Operations, Handling multiple L3
Functions and exceptions with single
Exception except block, Finally
handling block, Raise Keyword
and
Programming exercises
on Exception handling.
LO1: Explain the need
of exception handling
LO2: Apply exception
handling techniques to
solve problems.

17 Module 4: Oops methodology- L2 -- CO4


Oops concepts Classes and objects , PPT/Interact
and Built-in role of constructor, ive Lecture
module relationship among L3
classes
Programming exercises
on classes and objects.
LO1: Explain the need
of constructor
LO2: Apply relation
ship among the classes
to solve problems
18 Module 4: Array and Numpy L2 -- C04 PPT/Interact
Oops concepts Programming exercises ive Lecture
and Array and on Numpy.
Numpy library LO1: Explain the need L3
of nd array
LO2: Apply Numpy to
solve problems

19
Revision and Course Integration
20 CO1,CO
Program Integration 2,
CO3,CO
4
21 CO1,CO
Revision and Conclusion of the Course 2,
CO3,CO
4

COURSE CONTENT &TASK SCHEDULE FOR LABORATORY COMPONENT:

TABLE 3b: DETAILED COURSE SCHEDULE/ LESSON PLAN(PRACTICALS)


Number
Task RBT of Lab Skills to be Course
Sl. No Task & Sessions developed Outcome
No Learning LOL HOL required to be
Objectives (Lower (Higher to developed
LO: Student shall Order Order complete
be able to Learning) Learning) the
task
1. Software Setup:
P1 Installing Python
IDLE and Pycharm L3
LO1: Demonstrate
SK1, CO1
the different data L3 1
types in Python SK2,SK3,SK5,SK8,SK14
LO2: Demonstrate
the usage of literals
in python
2. P2 Operators,
expressions L3
LO1: Demonstrate
the different L3 SK1, CO1
operators in Python 1 SK2,SK3,SK5,SK8,SK14
LO2: Demonstrate
the expression
evaluation in
python
3. P3 Input output
statements L3
LO1: Demonstrate
the input statements L3 SK1, CO1
in Python 1 SK2,SK3,SK5,SK8,SK14
LO2: Demonstrate
the output
statements in
python
4. P4 Control Structures
LO1: Demonstrate L3 SK1, CO1
the usage of 1 SK2,SK3,SK5,SK8,SK14
Control Structures
in python
5. P5 Selective structures
LO1: Demonstrate L3 SK1, CO1
the usage of 1 SK2,SK3,SK5,SK8,SK14
Control Structures
in python
6. P6 Repetitive
structures L3
SK1, CO1
LO1: Demonstrate
1 SK2,SK3,SK5,SK8,SK14
the usage of
Control Structures
in python
7. P7 List data structure
LO1: Demonstrate L3 SK1, CO2
the usage of List 2 SK2,SK3,SK5,SK8,SK14
and its functions in
python.
8. P8 Tuple data structure
LO1: Demonstrate L3 SK1, CO2
the usage of Tuple 2 SK2,SK3,SK5,SK8,SK14
and its functions in
python.
9. P9 Set data structure
LO1: Demonstrate L3 SK1, CO2
the usage of Set 2 SK2,SK3,SK5,SK8,SK14
and its functions in
python.
10. P10 Set data structure SK1, CO2
3
LO1: Demonstrate L3 SK2,SK3,SK5,SK8,SK14
the usage of
Dictionaries and its
functions in
python.
11. P11 Input and Output
Operations L3
LO1: Demonstrate SK1, CO3
the usage of Input 2 SK2,SK3,SK5,SK8,SK14
and Output
operations of
python.
12. P12 User defined
functions L3
LO1: Demonstrate SK1, CO3
the usage of 2 SK2,SK3,SK5,SK8,SK14
functions in
python.

13. P13 Exception handling


LO1: Demonstrate L3 SK1, CO3
the usage of 2 SK2,SK3,SK5,SK8,SK14
Exception handling
in python.
14 P14 OPPs methodology L3
LO1: Demonstrate SK1, CO3
the usage of classes 2 SK2,SK3,SK5,SK8,SK14
and objects in
python
15 P15 Relationships L3
among the classes
and abstraction and
Encapsulation S K1,
2 SK2,SK3,SK5,SK8,SK14 CO3
LO1: Demonstrate
the usage of
relationships
among classes
16 P16 Built-in libraries: L3 SK1,
1 SK2,SK3,SK5,SK8,SK14 CO3
Array and Numpy
DELIVERY PROCEDURE (PEDAGOGY):

TABLE 4: SPECIAL DELIVERY METHOD/ PEDAGOGY PLANNED WITH TOPICS


S. No Lecture Subtopic as per Pedagogy title/ short ** At end of semester
Number lesson Plan explanation of adopted please update whether
pedagogy activity was done
1 Flipped Class pedagogy
Activity Based Learning –
2
DEMO OF CODE

REFERENCE MATERIALS:

Textbook(s):
T1: Martin C. Brown, “Python: The Complete Reference”, McGraw Hill Education, Forth edition
(20 March 2018).
T2: Alex Campbell, “Python for Beginners: Comprehensive Guide to the Basics of Programming,
Machine Learning, Data Science and Analysis with Python”, August 29, 2021.
T3: Charles Dierbach, “Introduction to Computer Science Using Python”, Wiley India Edition, 2015.

References
R1. E. Balagurusamy, “Introduction to Computing and Problem Solving Using Python”, Tata
McGraw-Hill, 2016
R2. Y. Daniel Liang, “Introduction to Programming Using Python”, Pearson, 2017
R3. Brady Ellison, “Python for Beginners: A crash course to learn Python Programming in 1 Week
(Programming Languages for Beginners)”, August 25, 2021.

Web Based Resources and E-books:

Digital Learning Resources (Library Resources)

W1: Python Tutor - Visualize Python, Java, C, C++, JavaScript, TypeScript, and Ruby code execution
W2: https://practice.geeksforgeeks.org/courses/Python-Foundation
W3: PU Library Link: https://puniversity.informaticsglobal.com/login or: http://182.72.188.193/

Tool/IDLE: Python IDLE/Pycharm/VS code

SPECIFIC GUIDELINES TO STUDENTS:

1. Preparatory work for lab sessions is mandatory.


2. Avoid being absent in labs as it will affect the understanding of the experiments.
COURSE SCHEDULE:

TABLE 5: COURSE BROAD SCHEDULE

Sl. No. ACTIVITY PLANNED PLANNED TOTAL NUMBER


STARTING CONCLUDING OF PERIODS
DATE DATE
1. Introduction to Python and 05/02/2024 23/02/2024 10
Installation procedure
Lab Sheet – 1,2,3
2. Lab Continuous Assessment 1 08/03/2024 08/03/2024 2
3. Python Data structures 23/02/2024 29/03/2024 20
Lab Sheet – 4,5,6
4. Lab Continuous Assessment 2 05/04/2024 05/04/2024 2
5. Mid Term Theory Exam 28/03/2024 29/03/2024 2
6. Functions, Exception handling 01/04/2024 19/04/2024 12
Lab Sheet-7,8,9
7. Oops methodology and Built- 22/04/2024 15/05/2024 10
in libraries- Array and Numpy
8. Lab Continuous Assessment 3 03/05/2024 03/05/2024 2
9. Last Instruction Day
ASSESSMENT SCHEDULE:

TABLE 6 ASSESSMENT SCHEDULE

Sl. Assessment type Contents Course Duratio mar Weig Venue,


no outcome n ks htag DATE
Number In e &TIME
Hours
1 MID-TERM MODULE 1 & MODULE CO1 &CO2 3 Hours 60 30%
TBA
2
2 QUIZ/ASSIGNM MODULE 3 CO1,CO2,C
1Hour 10 5%
ENT O3 TBA
3 LAB RECORD MODULE-1,2,3 CO1,CO2,C
- 20 10% -
O3
4 OBSERVATION MODULE-1,2,3 CO1,CO2,C
- 10 5% -
BOOK O3
5 END-TERM MODULE-1,2,3 CO1,CO2,C 3 Hours 100 50%
TBA
EXAMINATION O3

COURSE CLEARANCE CRITERIA:

“AS PER ACADEMICREGULATIONS OF THE UNIVERSITY”

MAKEUP EXAM POLICY:

“AS PER ACADEMICREGULATIONS OF THE UNIVERSITY”

CONTACT TIMINGS IN THE CHAMBER FOR ANY DISCUSSIONS:


As per the prior appointment from the faculty, students can meet the faculty member.
Will be announced in the class.

SAMPLE THOUGHT PROVOKING QUESTIONS:

TABLE 7: SAMPLE THOUGHT PROVOKING QUESTIONS


SL QUESTION MARKS COURSE BLOOM’S
NO OUTCOME LEVEL
NO.
1 Design an application to store n students marks 10 1 Application
of n subjects for each student.
The application has to store the all students
marks all subjects in a single collection object.
The application has to presents the data of each
student marks in linear format.
The application has to find sum of each student
marks and should display.
You are assigned to task of evaluating the 10 1 Application
2 candidate for the given position.
For the profile, only Male candidates are
Eligible'.
The candidate should get a score of 60 average
in the given test and the candidate/should
belongs to local region.
3 Write a python program to create a dictionary 10 2 Application
for shopping list from user. The dictionary
contains item name as key and cost of each item
as value. Later, if a particular item input from
the keyboard is present in the shopping list,
program should print its cost, otherwise print
“the item is not in the shopping list”.
4 WAP to read Employee Salary data from 20 3 Application
user and store into
collection object List.
• The main method should read all elements
from user.
• The data of the list should be passed to a
function, to increment the salaries with a bonus
of 5000 for each employee.
• The process of incrementation should be
implemented using recursive process.
TARGET SET FOR COURSE OUTCOME ATTAINMENT:

TABLE 8: TARGET SET FOR ATTAINMENT OF EACH CO and ATTAINMENT ANALYSIS AFTER
RESULTS
Sl.no C.O. Course Outcomes Threshold Target set Actual Remarks on
No. Set for for C.O. attainment
the CO attainment Attainment &Measures
in In to enhance
percentage Percentage the
* attainment *
CO1 Solve the problem using
01 basics of python. 50% 65%
(Application)
CO2 Demonstrate proficiency in
using various programming
constructs and data
02 50% 65%
structures such as lists,
tuples and dictionaries of
Python. (Application)
CO3 Write user defined functions
(Application)
Handling the Exception
03 using Try and Except Block 50% 65%
and also creating User
defined
Exceptions(Application)
CO4 Oops concepts and Built-in
04 libraries – Array and 50% 60%
Numpy

* LAST TWO COLUMNS ARE TO BE FILLED AFTER END TERM EXAM WITH ACTUAL
ATTAINMENT VALUES

Signature of the course Instructor In-Charge (s)

APPROVAL:

This course has been duly verified Approved by the D.A.C.

Signature of the Chairperson D.A.C.


Name and signature of the Instructor In-Charge (s)AFTER completing entries in Table number 3 and 8 at end of
semester:

Name and signature of the DAC Chairperson AFTER completing entries in Table number 3 and 8 at end of
semester:

BLOOM'S TAXONOMYSAMPLE VERBS

Learning Outcomes Verbs at Each Bloom Taxonomy Level to be used for writing the course Outcomes.

TABLE 9: REFERENCE SAMPLES OF BLOOMS TAXONOMY VERBS


Cognitive Level Illustrative Verbs Definitions
arrange, define, describe, duplicate, identify, label,
list, match, memorize, name, order, outline, remembering previously learned
Knowledge
recognize, relate, recall, repeat, reproduce, select, information
state
classify, convert, defend, discuss, distinguish,
estimate, explain, express, extend, generalize, give
Comprehension example(s), identify, indicate, infer, locate, grasping the meaning of information
paraphrase, predict, recognize, rewrite, report,
restate, review, select, summarize, translate
apply, change, choose, compute, demonstrate,
discover, dramatize, employ, illustrate, interpret,
applying knowledge to actual
Application manipulate, modify, operate, practice, predict,
situations
prepare, produce, relate schedule, show, sketch,
solve, use write
analyze, appraise, breakdown, calculate,
categorize, classify, compare, contrast, criticize,
derive, diagram, differentiate, discriminate, breaking down objects or ideas into
Analysis distinguish, examine, experiment, identify, simpler parts and seeing how the parts
illustrate, infer, interpret, model, outline, point relate and are organized
out, question, relate, select, separate, subdivide,
test
arrange, assemble, categorize, collect, combine,
comply, compose, construct, create, design,
develop, devise, explain, formulate, generate, rearranging component ideas into a
Synthesis
plan, prepare, propose, rearrange, reconstruct, new whole
relate, reorganize, revise, rewrite, set up,
summarize, synthesize, tell, write
appraise, argue, assess, attach, choose, compare,
conclude, contrast, defend, describe, discriminate,
making judgments based on internal
Evaluation estimate, evaluate, explain, judge, justify,
evidence or external criteria
interpret, relate, predict, rate, select, summarize,
support, value

You might also like