166x Filetype PDF File size 3.00 MB Source: mrcet.com
PYTHON PROGRAMMING [R18A0513] B.TECH III YEAR – I SEM (R18) (2021-22) DEPARTMENT OF INFORMATION TECHNOLOGY MALLA REDDY COLLEGE OF ENGINEERING &TECHNOLOGY (Autonomous Institution – UGC, Govt. of India) Recognized under 2(f) and 12 (B) of UGC ACT 1956 (Affiliated to JNTUH, Hyderabad, Approved by AICTE - Accredited by NBA & NAAC – „A‟ Grade - ISO 9001:2015Certified) Maisammaguda, Dhulapally (Post Via. Hakimpet), Secunderabad – 500100, Telangana State, India Python Programming SYLLABUS MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY III Year B. Tech IT -I SEM L T/P/D C 3 - / - / - 3 (R18A0513) PYTHON PROGRAMMING OBJECTIVES: To read and write simple Python programs. To develop Python programs with conditionals and loops. To define Python functions and call them. To use Python data structures –- lists, tuples, dictionaries. To do input/output with files in Python. UNIT I INTRODUCTION DATA, EXPRESSIONS, STATEMENTS Introduction to Python and installation, variables, expressions, statements, Numeric data types: Int, float, Boolean, string. Basic data types: list--- list operations, list slices, list methods, list loop, mutability, aliasing, cloning lists, list parameters. Tuple --- tuple assignment, tuple as return value, tuple methods. Sets: operations and methods. Dictionaries: operations and methods. UNIT II CONTROL FLOW, LOOPS, FUNCTIONS Conditionals: Boolean values and operators, conditional (if), alternative (if-else), chained conditional (if- elif-else); Iteration: statements break, continue.Functions--- function and its use, pass keyword, flow of execution, parameters and arguments. UNIT III ADVANCED FUNCTIONS, ARRAYS Fruitful functions: return values, parameters, local and global scope, function composition, recursion; Advanced Functions: lambda, map, filter, reduce, basic data type comprehensions. Python arrays: create an array, Access the Elements of an Array, array methods. UNIT IV FILES,EXCEPTIONS File I/O, Exception Handling, introduction to basic standard libraries, Installation of pip, Demonstrate Modules: Turtle, pandas, numpy, pdb, Explore packages. UNIT V OOPS,FRAMEWORK : Object,Class,Method,Inheritance, Polymorphism,Data Abstraction, Encapsulation, Python Frameworks: Explore django framework with an example Python Programming OUTCOMES: Upon completion of the course, students will be able to Read, write, execute by hand simple Python programs. Structure simple Python programs for solving problems. Decompose a Python program into functions. Represent compound data using Python lists, tuples, dictionaries. Read and write data from/to files in Python Programs TEXT BOOKS 1. Allen B. Downey, ``Think Python: How to Think Like a Computer Scientist‗‗, 2nd edition, Updated for Python 3, Shroff/O‗Reilly Publishers, 2016. 2. R. Nageswara Rao, ―Core Python Programming‖, dreamtech 3. Python Programming: A Modern Approach, Vamsi Kurama, Pearson REFERENCE BOOKS: 1. Core Python Programming, W.Chun, Pearson. 2. Introduction to Python, Kenneth A. Lambert, Cengage 3. Learning Python, Mark Lutz, Orielly Python Programming INDEX UNIT TOPIC PAGE NO INTRODUCTION DATA, EXPRESSIONS, STATEMENTS Introduction to Python and installation 6-10 Variables 11-13 Expressions, Statements 14-18 Data types: Int, float, Boolean, string. 19-30 Basic data types: list--- list operations, list 31-38 slices, list methods, I list loop, mutability, aliasing, cloning lists, list 39-47 parameters. Tuple --- tuple assignment, tuple as return 48-50 value, tuple methods Dictionaries: operations and methods. 51-56 CONTROL FLOW, LOOPS, FUNCTIONS Conditionals: Boolean values and operators 57-59 Conditional (if), alternative (if-else), Chained 59-63 II conditional (if-elif-else) Iterations 64-71 Statements break, continue. 72-77 Functions and its use 78-82 Pass keyword, flow of execution, parameters 83-92 and arguments. ADVANCED FUNCTIONS, ARRAYS Fruitful functions: return values, parameters, 93-96 Local and Global scope, function 97-99 Composition III Recursion, lambda, map, filter, reduce, 100-101 Basic data type comprehensions 102-103 Python arrays: create an array, 103-106 Access the Elements of an Array, array methods. Python Programming
no reviews yet
Please Login to review.