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

Python Programming Sem1

python

Uploaded by

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

Python Programming Sem1

python

Uploaded by

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

DEPARTMENT - SCIENCES (NCR)

COURSE PACK
for
PRINCIPALS OF PROGRAMMING - DSC001-1N

DSC001-1N - PRINCIPALS OF PROGRAMMING

Total Teaching Hours For Semester :


30 No of Lecture Hours/Week : 2

Max Marks :
50
:0

Course Description and Course Objectives:

To enable the students to understand the fundamental concepts of problem solving and programming structures. The Objective of the course is to teach students the basic
principles of programming. These principles will help lay a solid foundation for the students in pursuing courses related to programming during the program. The Course lays
emphasis on the fundamentals of programming.

Course Outcomes

1.CO1 - Understand main control structures of procedural programming languages.

2.CO2 - Apply major programming logic in problem solving

3.CO3 - Use modern object-oriented programming paradigm.

4.CO4 - Understand the principles of data storage and manipulation.

Unit-
1
Hours:7

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Skill Development,

3.Integration of Cross Cutting Issues:Professional Ethics,

General Problem-Solving concepts

Types of Problems – Problem solving with Computers – Difficulties with problem solving – problem solving concepts for the computer – Constants and Variables –
Rules for Naming and using variables – Data types – numeric data – character data – logical data – rules for data types – examples of data types – storing the data in
computer - Functions – Operators – Expressions and Equations

Unit-
2
Hours:7

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Skill Development,

3.Integration of Cross Cutting Issues:Professional Ethics,

Fundamentals of Programming and Data Types

How a Computer Solves a problem-Various stages, Execution, Constants and Variables, Syntax and Logical Errors, Data Types, Tokens, ASCII code, Characters,
Strings, Variables, Assignments, Input/Output/Assignment Statements.

Unit-
3

Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
Hours:8

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Skill Development,Entrepreneurship,

3.Integration of Cross Cutting Issues:Professional Ethics,

Programming Paradigms and Logic

Functional Paradigm, Logic Programming Paradigm, Sequence Logic, Selection Logic-Boolean Expressions, if/if-else constructs, Repetition Logic-Looping
statements, for/while construct, increment/decrement operators, keep a count problem-Object-oriented Paradigm.

Unit-
4
Hours:8

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Entrepreneurship,Skill Development,Employability,

3.Integration of Cross Cutting Issues:Professional Ethics,

Functions, Arrays and Strings

Functional Programming, Functions-Header, Parameters/Arguments, Return, Types of Functions, Array- Structure, Declaration, Array storage, Array of Characters,
String-Representation in memory, String Processing, String Operations.

Essential References:

[1] Noel Kalicharan, Learn to Program with C, 1st Edition, Apress Publishers, 2015

Recommended References:

[1] Maureen Sprankle and Jim Hubbard, Problem-solving and programming concepts, PHI, 9th Edition, 2012

Additional Information

With each semester, the language and communication skills components will be progressively graded to aid development of skills that would help learners in day to day
communication and academic pursuits preparing them for their professional endeavours in future. Emphasis will be on all the basic skills of language and analysis and critical
appreciation of texts.

Evaluation Pattern

CIA 50%

ESE 50%

Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
DEPARTMENT - SCIENCES (NCR)

COURSE PACK
for
PYTHON PROGRAMMING - DSC161-1N

DSC161-1N - PYTHON PROGRAMMING

Total Teaching Hours For Semester :


45 No of Lecture Hours/Week : 3

Max Marks :
100
:3

Course Description and Course Objectives:

This course covers the programming paradigms associated with Python. It provides a comprehensive understanding of Python data types, functions and modules
with a focus on modular programming.

Course Outcomes

1.CO1 - Understand and apply core programming concepts

2.CO2 - To develop Python programs with conditionals and loops.

3.CO3 - Demonstrate significant experience with python program development environment.

4.CO4 - Design and implement fully-functional programs using commonly used modules andcustom functions

Unit-
1
Hours:9

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Employability,

3.Integration of Cross Cutting Issues:Sustainability,

Introducing Python

Introduction, Python Fundamentals, Features of Python, Components of a Python Program, Understanding the interpreter.
Python basics:
Identifiers, Basic Types, Operators, Precedence and Associativity, Decision Control Structures, Looping Structures, Console input, output.

LAB 1. Implement Basic data types, Control structures and operators.

Unit-
2
Hours:9

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Employability,

3.Integration of Cross Cutting Issues:Sustainability,

Python Data Types

Lists and Tuples

Strings, Lists: Accessing elements, Basic List operations, Built-in methods

Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
Tuples: working with elements, Basic Tuple operation, Tuple methods and Type of Tuples
LAB 2: Implement Lists

LAB3: Implement Tuples

Unit-
3
Hours:9

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Employability,

3.Integration of Cross Cutting Issues:Sustainability,

Python Data Types : Sets and Dictionaries

Sets: Definition, Set Elements, Built-in methods, basic set operations, Mathematical Set operation, Variety of Sets.

Dictionaries: Defining a dictionary, accessing elements, basic operations, methods


LAB4: Implement Dictionary

LAB5: Implement Set

Unit-
4
Hours:9

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Employability,

3.Integration of Cross Cutting Issues:Sustainability,

Comprehensions, Functions and Modules

Comprehensions: List Comprehensions, Set Comprehension, Dictionary Comprehension.


Functions: Defining a function, Types of arguments, unpacking arguments.
Recursive functions. Main module, built-in, custom modules, importing a module.
LAB6: Implement List, Set and Dictionary Comprehensions

LAB 7: Implement Recursive function

Unit-
5
Hours:9

Syllabus Unit Mapping

1.Development Needs:Global,

2.Skill Focused:Employability,

3.Integration of Cross Cutting Issues:Sustainability,

Introduction to Numpy and Pandas

Introduction to NumPy, Aggregations Computation on Arrays, Comparisons, Sorting Arrays.

Introduction to Pandas: Data indexing and Selection, Operating on Data, Handling Missing Data.

LAB8: Implement the modules of Pandas and NumPy for Data handling.

Essential References:

[1] Martin Brown, Python:The Complete Reference, McGraw Hill Publications,4th Edition March 2018.

[2] Yashavant Kanetkar,Aditya Kanetkar, Let Us Python, BPB Publications ,4th Edition 2022.

Recommended References:

Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
[1]Reema Thareja ,Python Programming using problem solving Approach , Oxford University, Higher Education Oxford University Press, 2017

[2]Zhang.Y ,An Introduction to Python and Computer Programming, Springer Publications,2015

Additional Information

With each semester, the language and communication skills components will be progressively graded to aid development of skills that would help learners in day to day
communication and academic pursuits preparing them for their professional endeavours in future. Emphasis will be on all the basic skills of language and analysis and critical
appreciation of texts.

Evaluation Pattern

50% CIA

50% ESE

COURSE PLAN
Odd Semester 2024-25
SECTION I
Semester I Class B.Sc Data Science and Artificial Intelligence
Course Code DSC161-1N Course Title Python Programming
Hours 45 Hours per week 3
8689048848
Faculty name Dr Preety Contact Details
[email protected]
Strictly adhere to the class policies of the University/Department (https://ncr.christuniversity.in/general-regulations)
The dress code is compulsory.
Eatables are not allowed in the classroom.
Class Policies Attendance will be taken within the first 5 minutes. Latecomers will not be entertained for attendance.
and Guidelines All communication will be done through Google Classroom/Email.
for E-Learning All students should bring their laptops with the necessary software installation. Use a laptop only when instructed in class.
Students must use genuine, sincere, and fair means to accomplish the tests, tasks, or projects from which progress evaluations shall be
determined. Students found plagiarising, copying, or cheating in any way will receive automatic zeros.
Course This course covers the programming paradigms associated with Python. It provides a comprehensive understanding of Python data types,
Description functions, and modules, focusing on modular programming.
Course To provide comprehensive knowledge of Python programming paradigms.
Objectives
CO1 - Understand and apply core programming concepts.

Course CO2 - To develop Python programs with conditionals and loops.


Outcomes
CO3 - Demonstrate significant experience with Python program development environment.
CO4 - Design and implement fully functional programs using commonly used modules and custom functions.

SECTION II: WEEKWISE & UNITWISE DESCRIPTION

Hours Pedagogy /activities and or


Unit Topic Details Week class trips/ dates for Reference Details
Per Week assessment
Introduction, Python Week 1 Problem-solving Martin Brown, Python: The
Unit I- Introducing Fundamentals, Features of Python, 3 Lecture Complete Reference, McGraw Hill
Python Components of a Python Program, (15/7/24 - Discussion Publications, 4th Edition, March
Understanding the Interpreter. 20/7/23) 2018.
Python basics: Identifiers, Basic Week 2 Problem-solving Martin Brown, Python: The
Unit I- Introducing Types, Operators, 3 Lecture Complete Reference, McGraw Hill
Python (22/7/24 - Discussion Publications, 4th Edition, March
Precedence and Associativity, 27/7/24) 2018.
Decision Control Structures,
Unit I- Introducing Looping Structures, Console input, Week 3 Martin Brown, Python: The
output. Problem-solving
Python 3 Lecture Complete Reference, McGraw Hill
(29/7/24 - Publications, 4th Edition, March
(CIA - I) LAB 1. Implement Basic data 03/8/24) Discussion 2018.
types, Control structures and
operators.
Strings, Lists: Accessing elements, Week 4 Martin Brown, Python: The
UNIT II- Python Data Basic List operations, Built-in Problem-solving
Types: Lists and methods. (05/8/24 3 Lecture Complete Reference, McGraw Hill
Tuples Discussion Publications, 4th Edition, March
LAB 2: Implement Lists 10/8/24) 2018.
Week 5 Martin Brown, Python: The
UNIT II- Python Data Tuples: working with elements, Problem-solving Complete Reference, McGraw Hill
Types: Lists and (12/8/24 3 Lecture
Tuples Basic Tuple operation Discussion Publications, 4th Edition, March
- 17/8/24) 2018.
Week 6
Revision (19/8/24 - 3 Revision
24/8/24)
UNIT II- Python Data Tuple methods and Types of Tuples Week 7 Problem-solving Martin Brown, Python: The
Complete Reference, McGraw Hill
Types: Lists and (26/8/24 - 3 Lecture Publications, 4th Edition, March
Tuples LAB3: Implement Tuples Discussion
31/8/24) 2018.

Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
Week 8 Martin Brown, Python: The
UNIT III Python Data Sets: Definition, Set Elements, Problem-solving Complete Reference, McGraw Hill
Types: Sets and Built-in methods, basic set (02/9/24 3 Lecture Publications, 4th Edition, March
Dictionaries operations Discussion
07/9/24) 2018.
UNIT III Python Data Mathematical Set operation, Week 9 Martin Brown, Python: The
Types: Sets and Problem-solving
Dictionaries Variety of Sets ,Dictionaries: (09/9/24- 3 Lecture Complete Reference, McGraw Hill
Discussion Publications, 4th Edition, March
CIA-IIA&CIA-IIB LAB4: Implement Set 14/9/24) 2018.
Defining a dictionary, accessing Week 10 Martin Brown, Python: The
UNIT III Python Data elements, basic operations, Problem-solving Complete Reference, McGraw Hill
Types: Sets and methods. 3 Lecture
Dictionaries (16/9/24 - Discussion Publications, 4th Edition, March
21/9/24) 2018.
LAB5: Implement Dictionary
Week 11
MSE (23/9/24 - MSE
28/9/24)
Comprehensions: List
UNIT IV - Comprehensions, Set Week 12 Martin Brown, Python: The
Comprehension, Dictionary Problem-solving
Comprehensions, Comprehension. 3 Lecture Complete Reference, McGraw Hill
Functions and (30/9/24 - Discussion Publications, 4th Edition, March
Modules LAB6: Implement List, Set and 05/10/24) 2018.
Dictionary Comprehensions
UNIT IV - Functions: Defining a function, Week 13 Problem-solving Martin Brown, Python: The
Comprehensions, Complete Reference, McGraw Hill
Functions and Types of arguments, unpacking (7/10/24 - 3 Lecture Publications, 4th Edition, March
Modules arguments. 12/10/24) Discussion 2018.
UNIT IV - Recursive functions. Main module,
Comprehensions, built-in, custom modules, Week 14 Problem-solving Martin Brown, Python: The
Functions and importing a module. 3 Lecture Complete Reference, McGraw Hill
Modules (14/10/24 - Discussion Publications, 4th Edition, March
LAB 7: Implement Recursive 19/10/24) 2018.
CIA-III function
Introduction to NumPy, Week 15 Problem-solving Martin Brown, Python: The
UNIT V Introduction Aggregations Computation on 3 Lecture Complete Reference, McGraw Hill
to Numpy and Pandas (21/10/24 - Publications, 4th Edition, March
Arrays, 26/10/24) Discussion 2018.
Comparisons, Sorting Arrays. Week 16 Problem-solving Martin Brown, Python: The
UNIT V Introduction Introduction to Pandas: Data 3 Lecture Complete Reference, McGraw Hill
to Numpy and Pandas indexing and (28/10/24 - Discussion Publications, 4th Edition, March
02/11/24) 2018.
Selection, Operating on Data, Week 17 Martin Brown, Python: The
UNIT V Introduction Handling Missing Data.LAB8: Problem-solving Complete Reference, McGraw Hill
3 Lecture
to Numpy and Pandas Implement the modules of Pandas (04/11/24 - Discussion Publications, 4th Edition, March
and NumPy for Data handling. 09/11/24) 2018.
Revision Week 18
Revision
ESE-I (11/11/24 - 14/11/24)
SECTION III
Mapping:
Program Outcomes
Course Outcomes
PO1 PO2 PO3 PO4 PO5 PO6 PO7

CO1: Understand and apply core programming concepts 3 2 3 3 2 2 3

CO2: To develop Python programs with conditionals and loops 3 2 2 3 2 3 3

CO3: Demonstrate significant experience with python program development 3 3 3 3 2 3 2


environment.
CO4: Design and implement fully-functional programs using commonly used modules 2 3 3 2 3 2 2
and custom functions

Mapping the Course Outcomes against the Components of Assessment:

Course Component
CO Mapping
CIA-I CIA II A CIA II B CIA-III ESE-I

CO 1 10 10 10 5 15

CO 2 10 5 10 5 25

CO 3 10 5 5 30

CO4 5 30

Components CIA-I CIA II A CIA II B CIA III ATT ESE-I

Marks/Percentage 10% 12.5% 12.5% 10% 5% 50%

SECTION IV

Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
Individual Assignment Details: CIA-I

Assignment Description:

Assignment Topic Objective Type Test

Total Number of Questions 25

Duration 25 minutes

Technology Tool Used Google form

Topics Covered Unit 1 & 2

General Instructions 25 objective type questions covering the specified syllabus

Score 20 Marks

Date of Test Week 3

Evaluation Rubrics:

Evaluation Rubrics Marks

R1: Accuracy Correct Answer 1mark


Wrong Answer 0 mark

Assessment Description:

Individual Assignment Details: CIA II A

Assignment Description:

Nature of Assignment Individual assessment


Units Covered Unit1, Unit 2, Unit 3

Students will be given set of question based on real world scenario. The students are required to write the relevant answers for the given
Description questions and should implement and execute the instruction code.

Maximum Marks 25 Marks

Duration of the test 2 hours

Date of the test Week 9

Evaluation Rubric/s:

Rubrics Components Marks

1 Successful implementation along with proper instructions/ code 45-50

2 Successful implementation of the task with incomplete/partial Instruction/ code 35-45


Evaluation
Rubric/s:
3 Partial implementation of the task with incomplete/partial correct Instructions/ code 25-30

4 Partial implementation of the task with incomplete or wrong instructions /code 15-25

5 Not accomplished the task 0

Individual Assignment Details: CIA II B

Assignment description:

Assessment Component Presentation Based Learning

Nature of the assignment Presentation ( 2 to 3 members per team)

Presentation Topic Unit 1, 2 and 3

Submission mode presentation in classroom

Date of Submission Week 9

Presentation duration 20 -25 Mins (each group)

Maximum marks: 10

General Instructions Each member in the team should cover the assigned topic properly.
Each member should contribute minimum 5-10 minutes

Evaluation Rubrics:
Evaluation Rubrics Max marks Criteria [Mark]

Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
R1: Concept 10 Concept Correctness and relevancy with Concept Correctness with no relevant Concept incorrect and few relevant
Proficiency examples [4] examples [2-3] examples [1]
R2: Good communication, proper body language, Good communication and proper
7 Good Communication [1]
Presentation Skill and Innovation in presentation [3] body language [2]
R3:
Synchronized content delivery with a very good Synchronized content delivery with a
PPT Content 8 script [3] good script [2] Synchronized content delivery [1]
Organization
Assessment Description:

Individual Assignment Details: CIA III

Assignment Description:

Nature of Assignment Coding Challenge / Presentations

Units Covered Units 1, 2, 3, 4 and 5

Students will be given a case study. The students are required to write the relevant answers for the given Case study and followed by a
Description viva voce.

Exam Week 14

Maximum Marks 20 Marks

Evaluation Rubric/s:

Criteria Excellent Good Fair Needs Improvement


Followed instructions and were Attempted to follow
Followed Directions[5] appropriately attempted to Followed instructions Poorly followed instructions
enhance the study instructions
Demonstrated a thorough
understandings of the skills being Demonstrated a thorough Demonstrated a basic Has trouble in
Use of Learned Skills[5] studied, showed the personal understandings of the skills understandings of the skills demonstrating the skills
investment in the program being studied being studied studied
resulted in new knowledge
Work completed on time, with no Work completed on time, Work was not completed on Work was not completed on
Structure and Naming or mostly free of errors, followed with little errors, followed all time, it contained some time, it contained many
conventions[5] all the name conventions the name conventions errors, followed some of the errors, did not follow
required name conventions required naming conventions
Viva Voce[5] able to answer more than 85% of able to answer more than able to answer more than 65% able to answer less than
queries 85-65% of queries -50% of queries 50% of queries
Individual Assignment Details: ESE-I

Assignment Description:

Nature of Assignment Individual assessment


Units Covered All Units

Description Students will be given set of questions based on theory and practical. The students are required to write the relevant answers for the
given questions along with suitable example.

Exam Last Week

Maximum Marks 100 Marks

Evaluation Rubric/s:

Rubrics Components Marks

1 Successful implementation along with proper instructions/ code 95-100

2 Successful implementation of the task with incomplete/partial Instruction/ code 70-95


Evaluation
Rubric/s:
3 Partial implementation of the task with incomplete/partial correct Instructions/ code 50-70

4 Partial implementation of the task with incomplete or wrong instructions /code 10-40

5 Not accomplished the task 0

Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF

You might also like