This is the Python Programming syllabus prescribed for 3rd Semester Undergraduate Computer Science and Engineering Programme starting from the year 2019 at Dr.Ambedkar Institute of Technology (Dr.AIT), Bengaluru, Karnataka, India.
|Sub Title: PYTHON PROGRAMMING|
|Sub Code: 19CS35|
|Exam Duration: 3 hours|
|No. of Credits: 4= 4: 0: 0 (L: T: P)|
|No. of lecture hours/week: 4 Hours|
|Total No. of Contact Hours: 52 Hours|
Learn the syntax and semantics of Python programming language.
Appraise the need for working with strings and lists.
Illustrate the process of structuring the data using dictionaries, tuples and sets.
Demonstrate the use of built-in functions to navigate the file system.
Interpret the Object-oriented Programming concepts in Python.
|UNIT No||Syllabus Content||No of Hours|
|1||Parts of Python Programming Language, Identifiers, Keywords, Statements and Expressions, Variables, Operators, Precedence and Associativity, Data Types, Indentation, Comments, Reading Input, Print Output, Type Conversions, The type() Function and Is Operator, Dynamic and Strongly Typed Language, Control Flow Statements, The if Decision Control Flow Statement, The if…else Decision Control Flow Statement, The if…elif…else Decision Control Statement, Nested if Statement, The while Loop, The for Loop, The continue and break Statements, Catching Exceptions Using try and except Statement, Functions , Built-In Functions, Commonly Used Modules, Function Definition and Calling the Function, The return Statement and void Function, Scope and Lifetime of Variables, Default Parameters, Keyword Arguments, *args and **kwargs, Command Line Arguments.||11|
|2||Strings, Creating and Storing Strings, Basic String Operations, Accessing Characters in String by Index Number, String Slicing and Joining, String Methods, Formatting Strings, Lists, Creating Lists, Basic List Operations, Indexing and Slicing in Lists, Built-In Functions Used on Lists, List Methods, The del Statement.||10|
|3||Dictionaries, Creating Dictionary, Accessing and Modifying key:value Pairs in Dictionaries, Built-In Functions Used on Dictionaries, Dictionary Methods, The del Statement, Tuples and Sets, Creating Tuples, Basic Tuple Operations, Indexing and Slicing in Tuples, Built-In Functions Used on Tuples, Relation between Tuples and Lists, Relation between Tuples and Dictionaries, Tuple Methods, Using zip() Function, Sets, Set Methods, Traversing of Sets, Frozenset.||10|
|4||Files, Types of Files, Creating and Reading Text Data, File Methods to Read and Write Data, Reading and Writing Binary Files, The Pickle Module, Reading and Writing CSV Files, Python os and os.path Modules, Regular Expression Operations, Using Special Characters, Regular Expression Methods, Named Groups in Python Regular Expressions, Regular Expression with glob Module.||10|
|5||Object-Oriented Programming, Classes and Objects, Creating Classes in Python, Creating Objects in Python, The Constructor Method, Classes with Multiple Objects, Class Attributes versus Data Attributes, Encapsulation, Inheritance, The Polymorphism||11|
CO1: Examine the Python syntax and semantics and be fluent in the use of Python flow control and functions.
CO2: Demonstrate proficiency in handling Strings and lists.
CO3: Identify the methods to create and manipulate Python programs using data structures like Dictionaries, Tuples and Sets.
CO4: Discover the commonly used operations involving file systems and regular expressions.
CO5: Implement the concepts of Object-Oriented Programming as used in Python.
- Gowrishankar S, Veena A, “Introduction to Python Programming”, 1st Edition, CRC Press/Taylor & Francis, 2018. ISBN-13: 978-0815394372
REFERENCE BOOKS / WEBLINKS:
- Jake VanderPlas, “Python Data Science Handbook: Essential Tools for Working with Data”, 1st Edition, O'Reilly Media, 2016. ISBN-13: 978-1491912058
- Aurelien Geron, Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems”, 1st Edition,O'Reilly Media, 2017. ISBN – 13: 978-1491962299.
- Wesley J Chun, “Core Python Applications Programming”, 3rd Edition, Pearson Education India, 2015. ISBN-13: 978-9332555365
- Miguel Grinberg, “Flask Web Development: Developing Web Applications with Python”, 2nd Edition, O'Reilly Media, 2018. ISBN-13: 978-1491991732.