You are on page 1of 11

BCSE 1003 Application oriented programming using L T P C

Python
Version1.1 Date of Approval: 0 0 2 2
Pre-requisites//Exposure Any Programming Language
co-requisites

Course Objectives
The objective of this course is to:
1. Apply basic programming constructs –Tokens, data types.
2. Use basic control structures in python.
3. Create functions and modules.
4. Use libraries for string manipulation
5. Apply in-built data structures in python – Lists, Tuples, Dictionary
6. Solve problems using text and CSVFiles as source and destination.

Course Outcomes
At the end of this course students will be able to:
1. Demonstrate proficient use of Tokens & Data types.
2. Exploitfeatures of program control structures for controlling/managing program
flow control.
3. Competently exploit codere-usage using user defined and pre defined Functions &
Modules
4. Skillfully operate upon strings using String handling functions.
5. Exploit features of various data structures like Lists, Tuples, and Dictionaries.
6. Store and Retrieve data using Text and Comma separated version files for data
processing.

Catalog Description
This course introduces the student to the Python language. Upon completion of this class,
the student will be able to write non trivial Python programs dealing with a wide variety of
subject matter domains. Topics include language components, the IDLE environment,
control flow constructs, strings, I/O, collections, classes, modules, and regular expressions.
The course is supplemented with many hands on labs using Windows.

Text Books

1. Tony Gaddis, Starting Out with Python, 3rd edition, Pearson


2. Y. Daniel Liang, Introduction to Programming Using Python, Pearson
3. Budd T A, Exploring Python , 2011, Tata McGraw Hill Education
4. Learning Python, Fourth Edition, Mark Lutz, O’Reilly publication
5. Programming & Problem Solving with Python By A.K. Kamthane & A. A. Kamthane, 2018,
Tata McGraw Hill Education

Reference Books
1. Downey, Allen B., Think Python: How to Think Like a Computer Scientist. O’Reilly,
2012.Obtain free PDF at http://www.greenteapress.com/thinkpython/
2. Python Programming: An Introduction to Computer Science (Second Edition) John Zelle,
ISBN 978-1-59028-241-0-9, Franklin, Beedle& Associates Inc., 2004.
3. Python: The Complete Reference (Paperback) by Martin C. Brown , Tata McGraw Hill
Education

Course Content
Unit I:Introduction 8 Lecture hours
History, Features,Installing Python, Working with Python, basic python syntax, Basic Input Output,
interactive shell, editing, saving, and running a script, Input/Output. Tokens : Keywords, ,
Identifiers, Literals, Operators, Seperators/Delimeters, Data types; variables, assignments;
immutable variables; numerical types; Boolean expressions. Debugging, comments in the program;
understanding error messages; Built-in functions – type(), id(), eval(), random, chr(), ord();

Unit II : Control Structures & Input Output 8 Lecture hours


Control Structures : If, If-else, Nested if-else; Loops: For, While, Nested loops; Control Statements:
Break, Continue, Pass;
Input and output : Taking input from user through keyboard, manipulation of input, formatted
input, formatted output.

Unit III :Function and Strings 8Lecture hours

Functions in Python: Defining a function, Calling a function, Types of functions, Function


Arguments, Global and local variables.
Strings: Single quoted, double quoted & triple quoted, String manipulations: subscript operator,
indexing, slicing a string; strings and number system: converting strings to numbers and vice versa.

Unit IV:Lists, Tuples and Dictionaries 8Lecture hours

Basic List operators, iterating over a list, replacing, inserting, removing an element; searching and
sorting lists,calculating the sum and average of items in a list; Tuples - sequence of values ,
immutability, Comparing tuples, Tuple assignment: Dictionary- Store data as key-value pairs in
dictionaries, search for values, change existing values, add new, key-value pairs, and delete key-
value pairs, nesting objects, sorting, dictionary literals, adding and removing keys, accessing and
replacing values; traversing dictionaries.
Unit V :Files, Regular Expressions & Usage Of Standard Modules12lecture hours

Introduction to Class, Object, Member Variables, Member Functions. Accessing members,


Reading/writing text and numbers from/to a file in text files and csv files; Regular expressions,
importing and creating modules, running modules as script, Packages : Manipulating files and
directories. Accessing and Converting time, Sending group and scheduled Emails.

Relationship between the Course Outcomes (COs)


and Program Outcomes (POs)
Mapping between Cos and Pos
Knowledge Mapped Programme
Sl. No. Course Outcomes (COs)
level Outcomes
Demonstrate proficient use of
BCSE1003.CO
Tokens & Data types. K3 1,5,12,PSO1
1
Exploit features of program
control structures for
BCSE1003.CO
controlling/managing program K3/K4 1,2,5,12,PSO1
2
flow control.

Competently exploit code re-


usage using user defined and
BCSE1003.CO
pre defined Functions & K3 1,2,5,12,PSO1
3
Modules.

Skillfully operate upon strings


BCSE1003.CO
using String handling functions. K3 1,5,12,PSO1
4
Exploit features of various data
BCSE1003.CO structures like Lists, Tuples, and
K3/K4 1,2,5,12,PSO1
5 Dictionaries.

Store and Retrieve data using


BCSE1003.CO Text and Comma separated K3 1,5,12,PSO1
6 version files for data processing.
CO PO Articulation Matrix (NBA)

Program Outcomes (PO)

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, 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 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 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 (PSO)

PSO1: To train them in trending technologies.

PSO2: To introduce upcoming domains like artificial intelligence, Robotics,


Augmented reality, Data analytics, Ubiquitous Computing to develop insights
for problem solving.
CO/PO Mapping
(S/M/L indicates strength of correlation) S-Strong, M-Medium, L-Low
Cos Program Outcomes(POs)
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2

CO1 L M M L M

CO2 L M L M

CO3 L M M L M

CO4 L M L M

CO5 L M M L M

CO6 L M L M

CO7 S L L M M M M M M

Correlation Values between CO’s and PO’s

S - Strong
M - Medium
L - Low
LESSON PLAN
Fall 2018-2019
BCSE 1003 - Application oriented programming using Python.
B.Tech – Second Sem.
Course Coordinator : Sanjay Sharma
Total
Cou Lect
Learning
Lect Lectur Topics rse ures
Objectives
ure e / Lab. to be Mod /
No. No. covered ule Labs Reference Chap./Sec. (Book)

Lecture Introduc
1 /Lab. 1 tion T 5 / CH 1 / Sec 1.1 to1.5
Tokens
Lecture Basic in
2 /Lab. 2 knowledge Python T 5 / CH 2, 3 / Sec 2.3, 3.1 to 3.8
about Basic
Lecture python, its Data
syntax & Unit
3 /Lab. 3 Types 5 T 5 / CH 2 / Sec 2.4
interpretor 1
Debuggi
ng in
python
Lecture progra
4 /Lab. 4 m T 5 / CH 1 / Sec 1.6
Usage of Built in
Lecture few inbuilt Functio
5 /Lab. 5 Functions. ns T 5 / CH 2 / Sec 2.5, 2.9, 2.12

Usage of
Lecture Branchi
various
6 /Lab. 6 ng T 5 / CH 4 / Sec 4.1 to 4.8
execution
control
Lecture structures. Iteratio
7 /Lab. 7 n T 5 / CH 5 / Sec 5.1 to 5.7
Usage of Input Unit
4
Lecture various and 2
8 /Lab. 8 functions Output
for
interacting
with
Lecture outside Formatt
9 /Lab. 9 world. ed I/O T 5 / CH 2 / Sec 2.9 to 2.11
10 Lecture Creation Functio Unit 3 T 5 / CH 6 / Sec 6.1 to 6.8
/Lab. and usage ns 3
10
of user
Lecture Functio
defined
/Lab. ns
functions.
11 11 Contd….
Usage of
various
features &
functions
required
Lecture for string String
/Lab. manipulati Manipul
12 12 on. ation T 5 / CH 7 / Sec 7.1 to 7.8
Lecture Usage of
/Lab. various
13 13 features & Lists T 5 / CH 8 / Sec 8.1 to 8.14
Lecture functions
/Lab. required
14 14 for various Tupels
Lecture data
/Lab. structures Dictiona Unit
15 15 available. ries 4 3 T 5 / CH 11 / Sec 11.1 to 11.3.14
Lecture Usage of Handlin
/Lab. various g Text
16 16 features Files
Lecture available Handlin
/Lab. for storing g CSV
17 17 and Files
retrieving
data in File
Lecture various Handlin
/Lab. types of g
18 18 Files. Contd…. T 5 / CH 13 / Sec 13.1 to 13.5
Usage of
module, Unit
9
functions 5
& features
Lecture available Regular
/Lab. for pattern Expressi https://docs.python.org/3/howto/regex.ht
19 19 matching. on ml
Creation
and usage Module
Lecture of user s&
/Lab. defined Package
20 20 modules. s R 3 / CH 5
Lecture Usage of Director
/Lab. functionalit y and
21 21 y available File T 5 / CH 13 / Sec 13.6
for
accessing
Directories Handlin
and files. g
Exploring
the
features
available
for
accessing Accessin
Lecture time & g&
/Lab. scheduling Converti
22 22 tasks. ng Time https://pymotw.com/2/time/
Exploit
various
features
avaiable
for
automatin
g email
Lecture sending Email
/Lab. and Handlin https://www.tutorialspoint.com/python/py
23 23 recieveing. g thon_sending_email.htm
Implement
ationof
knwoledge Value
Lecture gained in Added
/Lab. real time Progra Problems given by concerned faculty
24 24 problems. ms member
ASSESSMENT SCHEME
Mode of Evaluation: Quiz/Assignment/ Seminar/Written Examination

Assessment Scheme

TYPE OF EVALUATION MAX. MARKS FOR WHICH THE EXAM IS MARKS IN PREVIOUS COLUMN ARE CONVERTED
  CONDUCTED TO
Quiz 60 marks 6 marks

Assignments 60 marks 6 marks

VPL Each quiz will be conducted for a 18marks


  minimum of 10 marks
Internal Exam In the form of a report, seminar, 20 marks
  presentation, quiz, experiment,  
GD, etc. as defined in the course
syllabus/ course plan
External Exam 100 marks 50 marks
Total 100 marks

You might also like