Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
129 views

Python Syllabus

The document outlines the objectives and units of a Programming in Python course. The objectives are to understand Python programming basics, study control statements, functions, strings, lists, tuples, dictionaries, files, modules and exception handling. The 5 units cover basics of computers and Python, control statements and functions, strings and lists, tuples and dictionaries, and files and modules. Experiments are listed to implement various Python concepts. Course outcomes are to classify Python elements, develop programs using statements, strings, lists, tuples, files and exceptions. Text and reference books are provided.

Uploaded by

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

Python Syllabus

The document outlines the objectives and units of a Programming in Python course. The objectives are to understand Python programming basics, study control statements, functions, strings, lists, tuples, dictionaries, files, modules and exception handling. The 5 units cover basics of computers and Python, control statements and functions, strings and lists, tuples and dictionaries, and files and modules. Experiments are listed to implement various Python concepts. Course outcomes are to classify Python elements, develop programs using statements, strings, lists, tuples, files and exceptions. Text and reference books are provided.

Uploaded by

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

PROGRAMMING IN PYTHON 2 0 2 3

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.

UNIT I BASICS OF COMPUTER AND PYTHON PROGRAMMING 9

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.

UNIT II CONTROL STATEMENTS AND FUNCTIONS IN PYTHON 9

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.

UNIT III STRINGS AND LISTS 9


Strings: String slices, immutability, string methods and operations. Lists: creating lists, list operations, list methods,
mutability, aliasing, cloning lists
UNIT IV TUPLES AND DICTIONARIES 9

Tuples: Tuple assignment, Operations on Tuples, lists and tuples, Tuple as return value. Dictionaries: operations and
methods, Nested Dictionaries.

UNIT V FILES AND MODULES 9

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/)

You might also like