8
G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION Course Title PYTHON PROGRAMMING Course Code 13A05806 Programme IV B.Tech Semester II Course Type core Regulation R-13 Course Structure Lectures Tutorials Practicals Credits 3 1 - 3 Course Coordinator N. Parshuram Course Faculty P. Rama Rao, Assistant Professor I. Course Overview: This course teaches the fundamental ideas behind the object-oriented approach to programming; through python programming language. Concentrating on aspects of python that best demonstrate object-oriented principles and good practice, student gains a solid basis for further study of the python language, and of object-oriented software development. Makes be confident to write any complex application easily. By the end of the course, the successful student will be able to do: 1. Understand and apply object oriented programming to complex system 2. Able to develop applications to real time problems 3. Understand the concept of exception handling for reliable programming II. Prerequisite(s) Level Credits Periods/ Week Prerequisites UG 4 4 Problem solving ability, C, C++ III. Marks Distribution: . Sessional Marks University End Exam Marks Total Marks There shall be 2 midterm examinations. Each midterm examination consists of subjective and objective tests. The subjective test is for 20 marks, with duration of 90 minutes and objective test is for 10 marks with duration of 20 minutes. Subjective paper shall contain 5 questions of which student have answer 3 questions evaluated for 20 marks. The objective paper is set for 20 bits for 10 marks. First midterm examination shall be conducted for the first twounits of syllabus and second midterm examination shall be conducted for the remaining three units. Final internal marks shall be arrived at by considering the marks secured by the student in both the mid examinations with 80% weightage to the better mid exam and 20% to the other. 70 100

COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION

G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452

COMPUTER SCIENCE AND ENGINEERING

COURSE DESCRIPTION

Course Title PYTHON PROGRAMMING

Course Code 13A05806

Programme IV B.Tech

Semester II

Course Type core

Regulation R-13

Course Structure Lectures Tutorials Practicals Credits

3 1 - 3

Course Coordinator N. Parshuram

Course Faculty P. Rama Rao, Assistant Professor

I. Course Overview: This course teaches the fundamental ideas behind the object-oriented approach to programming; through python programming language. Concentrating on aspects of python that best demonstrate object-oriented principles and good practice, student gains a solid basis for further study of the python language, and of object-oriented software development. Makes be confident to write any complex application easily. By the end of the course, the successful student will be able to do: 1. Understand and apply object oriented programming to complex system 2. Able to develop applications to real time problems 3. Understand the concept of exception handling for reliable programming

II. Prerequisite(s)

Level Credits Periods/ Week Prerequisites

UG 4 4 Problem solving ability, C,

C++

III. Marks Distribution: .

Sessional Marks University End Exam

Marks

Total Marks

There shall be 2 midterm examinations. Each midterm examination consists of subjective and objective tests. The subjective test is for 20 marks, with duration of 90 minutes and objective test is for 10 marks with duration of 20 minutes. Subjective paper shall contain 5 questions of which student have answer 3 questions evaluated for 20 marks. The objective paper is set for 20 bits for 10 marks. First midterm examination shall be conducted for the first twounits of syllabus and second midterm examination shall be conducted for the remaining three units. Final internal marks shall be arrived at by considering the marks secured by the student in both the mid examinations with 80% weightage to the better mid exam and 20% to the other.

70 100

Page 2: COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION

IV. Evaluation Scheme:

V. Course Outcomes:

1. Analyze the importance of object oriented programming over structured programming 2. Understand and apply the concepts of packages, handling, multithreading and socket programming 3. Design user interface using Tkinter and turtle graphics for application development . 4. Develop applications for real time problems by applying object oriented programming concepts. 5. Use modern tools for creation and running a python program. 6. Function effectively as a member or leader in a team by participating in the development of software Project using oops concepts in python.

VI How Course Outcomes are assessed:

S.No Component Duration (hours)

Marks Average

1 I Mid Examination 1 hour 50 min 30 30

2 II Mid Examination 1 hour 50 min 30

3 External Examination 3 70 70

4 Total Marks 100

Program Outcomes Level Proficiency assessed by

PO1 Engineering Knowledge: Apply the knowledge of mathematics, science, engineering Fundamentals and an engineering specialization to the solution of complex engineering problems

S Discussions

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

H Assignments

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

H Laboratory experiments

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.

N --

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

H Laboratory experiments

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 engineeringpractice

N --

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

N

PO8 Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering practice.

N --

Page 3: COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION

N = None S = Supportive H = Highly Related

VII How Program Specific Outcomes are assessed:

Program Specific Outcomes Level Proficiency assessed by

PSO1 Design, Develop, test and maintain software systems for business applications

H Lectures, Assignments,

PSO2 Evaluate and tune software systems for better performance. S Guest Lectures

S-Supportive H-Highly Related

VIII. Syllabus:

UNIT – I:

Introduction:History of Python, Need of Python Programming, Applications Basics of Python

Programming Using the REPL(Shell), Running Python Scripts, Variables, Assignment, Keywords, Input-

Output, Indentation. Types - Integers, Strings, Booleans;

UNIT – II: Operators and Expressions: Operators- Arithmetic Operators, Comparison (Relational) Operators,

Assignment Operators, Logical Operators, Bitwise Operators, Membership Operators, Identity Operators,

Expressions and order of evaluations Data Structures Lists - Operations, Slicing, Methods; Tuples, Sets, Dictionaries, Sequences. Comprehensions.

UNIT – III: Control Flow - if, if-elif-else, for, while, break, continue, pass Functions - Defining Functions, Calling Functions, Passing Arguments, Keyword Arguments,

Default Arguments, Variable-length arguments, Anonymous Functions, Fruitful Functions(Function

Returning Values), Scope of the Variables in a Function - Global and Local Variables.

PO9 Individual and team work: Function effectively as an individual, and as a member or leader in diverse teams, and in multidisciplinary settings

H Mini Project

PO10

Communications: 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 receive clear instructions.

N --

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

N --

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.

S

Page 4: COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION

UNIT – IV: Modules: Creating modules, import statement, from ..import statement, name spacing, Python packages, Introduction to PIP, Installing Packages via PIP, Using Python Packages

Error and Exceptions: Difference between an error and Exception, Handling Exception, try except

block, Raising Exceptions, User Defined Exceptions

Object Oriented Programming OOP in Python: Classes, 'self variable', Methods, Constructor Method, Inheritance, Overriding Methods, Data Hiding,

UNIT – V:

Brief Tour of the Standard Library - Operating System Interface - String Pattern Matching,

Mathematics, Internet Access, Dates and Times, Data Compression, Multi Threading, GUI

Programming, Turtle Graphics

Testing: Why testing is required ?, Basic concepts of testing, Unit testing in Python, Writing

Test cases, Running Tests.

TEXT BOOKS 1. Python Programming: A Modern Approach, Vamsi Kurama, Pearson 2. Learning Python, Mark Lutz, Orielly

Reference Books: 1. Think Python, Allen Downey, Green Tea Press 2. Core Python Programming, W.Chun, Pearson. 3. Introduction to Python, Kenneth A. Lambert, Cengage

IX . COURSE PLAN:

The course plan is meant as a guideline. There may probably be changes.

Lecture Learning Objective Topics to be covered Reference

Web Reference

No.

UNIT-I

To know the history and need Unit -1: Introduction:History of Python, T2 https://www.tu

1-2 torialspoint.co

of python language Need of Python Programming Pg: 3-22

m/python/

To learn about the usage of Applications Basics of Python T2

https://www.

3-4

python shell for running Programming Using the REPL(Shell), tutorialspoint.

Pg: 27-32

com/python/

programs

Running Python Scripts

To know about variable Variables, Assignment, Keywords T2 https://www.

5-6 creation and data reading and Input-Output, Indentation Pg: 90-94 tutorialspoint.

printing the results

com/python/

Page 5: COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION

To understand the different Types – Integers T2 https://www.tu

7-8

Pg:95-100 torialspoint.co

data type available in python Strings, Booleans

m/python/

UNIT-II

9-10 To learn about the different UNIT – II: Operators and Expressions: Operators- Arithmetic Operators,

T2 Pg:136-156

https://www. tutorialspoint.

types of operators available in

python programming Comparison (Relational) Operators, com/python/

Assignment Operators, Logical Operators,

Bitwise Operators

To learn the different operators

Membership Operators, Identity Operators, T2 https://www.

11-12 Expressions and order of evaluations Pg:157-160 tutorialspoint.

used for data structures

com/python/

To understand about the data Data Structures Lists - Operations, Slicing, T2 https://www.

13-14 structure to store the data. Methods Pg:239-250 tutorialspoint.

com/python/

To understand about the data

Tuples, Sets, Dictionaries, Sequences. T2:

https://www.

15-18 Comprehensions tutorialspoint.

structure to store the data. Pg:250-294

com/python/

UNIT-III

To learn about the basic of

Control Flow - if, if-elif-else, for, while, T2 https://www.

19-22 break, continue, pass Pg:319-333 tutorialspoint.

control statements

com/python/

To understand the creation of Functions - Defining Functions T2 https://www.

23-24 functions Pg:473-479 tutorialspoint.

com/python/

To learn invocation of function Calling Functions, Passing Arguments, T2 https://www.

25-26 and parameter passing Keyword Arguments, Default Arguments Pg:523-541 tutorialspoint.

methods

com/python/

To know how to return the Variable-length arguments, Anonymous T2 https://www.

27-28 values to called functions Functions, Fruitful Functions tutorialspoint.

Pg:542-549

com/python/

To understand the difference Scope of the Variables in a Function - T2 https://www.

29-30 between local and global Global and Local Variables tutorialspoint.

Pg:623-661

variables

com/python/

UNIT-IV

To understand the creation and Modules: Creating modules, import T2 https://www.

31-33 usage of modules. statement, from ..import statement, name Pg:669-684 tutorialspoint.

com/python/

spacing

To understand the process of Python packages, Introduction to PIP, T2 https://www.

34-35 creating packages

Installing Packages via PIP

tutorialspoint.

Pg:707-728

com/python/

To understand the difference Difference between an error and Exception, https://www.

36-38 between exception and error Handling Exception, try except block, T2 tutorialspoint.

Pg:1081-1108 com/python/

Raising Exceptions

Page 6: COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION

To learn about the creation of User Defined Exceptions T2 https://www.

39-40 user defined exception tutorialspoint.

Pg:1141-1155

com/python/

To learn solving problems Classes, 'self variable', Methods, T2 https://www.

41-43 using OOP principles

Constructor Method

tutorialspoint.

Pg:783-816

com/python/

44-46

To know about the application of OOP concepts

Inheritance, Overriding Methods, Data

Hiding

T2 Pg:865-871

https://www. tutorialspoint. com/python/

UNIT- V

To learn about string searching Operating System Interface, String Pattern R2 https://www.

47-49 and using built in function for Matching, Mathematics Pg:367-400 tutorialspoint.

mathematical calculations

com/python/

To lean about to access the Internet Access, Dates and Times, Data T2: https://www.

50-52 Compression Pg:880-900 tutorialspoint.

internet and Data and Time.

com/python/

To learn about the creation Multi Threading T2 https://www.

53-54

Pg:900-910 tutorialspoint.

multiple processes

com/python/

To learn creation of graphical GUI Programming, Turtle Graphics T2 https://www.

55-57

Pg:415-585 tutorialspoint.

user application

com/python/

To understanding about the Testing: Why testing is required ?, Basic T2: https://www.

Pg:774-779 tutorialspoint.

58-60 requirement of testing and concepts of testing, Unit testing in Python,

com/python/

testing the application. Writing Test cases, Running Tests

Page 7: COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION

X Mapping of course outcomes leading to the achievement of Program outcomes and program specific outcomes:

Course

Outcomes

Program Outcomes Program Specific

Outcomes

PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO1

2 PSO1 PSO2

C424.1 3 3 2 2 1 -- -- -- -- -- 1 1 2 3

C424.2 2 3 3 2 2 -- -- -- -- -- 2 2 3 2

C424.3 2 2 3 2 2 -- -- -- 2 -- 2 1 3 1

C424.4 2 3 3 3 2 -- -- -- 2 -- 2 1 3 2

C424.5 2 2 3 -- 3 -- -- -- -- -- 2 2 3 1

C424.6 2 3 3 2 3 -- -- -- 2 -- 3 2 2 1

C424 2 2 3 2 2 - - - 2 - 2 2 2 1

1-Partially 2-Moderate 3-Highly related

Prepared By : P. Rama Rao, Assistant Professor, CSE

HOD CSE

Page 8: COMPUTER SCIENCE AND ENGINEERING · 2018. 3. 13. · G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Nandikotkur Road, Kurnool-518452 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION