Python Syllabus
Python Syllabus
COURSE OBJECTIVES
To understand the basics of computer and basic elements of python programming.
To study various looping statements, control statements and functions in python.
To analyze different string operations and lists.
To learn how to use tuples and dictionaries in python program.
To study the exception handling mechanism and file handling.
Introduction to Computer: Generation and classification of computers – basic organization of computer – Number
Systems (Binary, Decimal, Octal and Hexadecimal) – Algorithm – Flowchart – Pseudo code. Introduction to Python:
Python Interpreter-Interactive and script mode -Values and types, operators, expressions, statements, precedence of
operators, multiple assignments, comments.
Conditional and looping Statements: Conditional (if), alternative (if-else), chained conditional (if-elif-else)-Iteration-
while, for, break, continue, pass. Functions: Introduction, inbuilt functions, user defined functions, passing parameters,
return values, recursion, Lambda functions.
Tuples: Tuple assignment, Operations on Tuples, lists and tuples, Tuple as return value. Dictionaries: operations and
methods, Nested Dictionaries.
Files: Text files, reading and writing files(read number of characters, lines and words in a file) , format Operator ,
command line arguments – errors and exceptions. Modules: Python Modules - Creating own Python Modules.
TOTAL PERIODS 30
LIST OF EXPERIMENTS
1. Implement various control statements in python.
2. Create python programs to implement looping statements.
3. Implement user defined functions using python
4. Develop python programs to perform various string operations.
5. Develop python programs to perform operations on list.
6. Develop python programs to work with Tuples.
7. Create python program to implement dictionary.
8. Implement python program to perform file operations.
9. Implement python programs using modules.
10. Create python program to handle exceptions. TOTAL PERIODS 30
COURSE OUTCOMES
At the end of this course, students will be able to
classify and make use of python programming elements to solve and debug simple logical problems
experiment various control statements, looping statements and functions in python.
develop python programs using strings and lists.
implement tuples and dictionaries in python program.
create python programs to work with files and handling exceptions.
TEXT BOOKS
1. Ashok Namdev Kamthane, Amit Ashok Kamthane, “Programming and Problem Solving with Python” , Mc-
Graw Hill Education,2018.
REFERENCES
1. Allen B. Downey, “Think Python: How to Think Like a Computer Scientist”, Second edition, Updated for
Python 3, Shroff / O’Reilly Publishers, 2016.
2. Robert Sedgewick, Kevin Wayne, Robert Dondero, “Introduction to Programming in Python: An Inter-
disciplinary Approach”, Pearson India Education Services Pvt. Ltd., 2016.
3. Timothy A. Budd,” Exploring Python”, Mc-Graw Hill Education (India) Private Ltd., 2015.
4. Kenneth A. Lambert, “Fundamentals of Python: First Programs”, CENGAGE Learning, 2012.
5. Charles Dierbach, “Introduction to Computer Science using Python: A Computational Problem Solving
Focus”, Wiley India Edition, 2013.
WEB LINKS
1. www.mhhe.com/kamthane/python
2. Allen B. Downey, Think Python: How to Think Like a Computer Scientist, Second edition, Updated for
Python 3, Shroff / O’Reilly Publishers, 2016 (http://greenteapress.com/wp/think-python/)