Python Programming
Python Programming
Python Programming
Course Outcomes:
Upon completion of the course, the students will be able to:
CO
Course Outcomes
Number
CO1 Apply the Python fundamentals to solve elementary problems.
Demonstrate the use of Control Statements and Functions for efficient program flow
CO2
and modularity.
CO3 Perform various operations in strings, list and tuple.
CO4 Demonstrate the different methods in Dictionary, Set and Regular Expression.
Integrate the knowledge of Python syntax, libraries, and frameworks in building
CO5
applications.
Syllabus
Module I Python Basics, Data Types, Expressions and Operators 9+6
Python Basic Concepts: Interactive Mode and Script Mode - Comments - Statements and
Indentation-Keywords - Identifiers and Variables - Data Types: int, float, boolean, string and
Sequence data types - Type Casting - Operators.
Self Study Topics
Using python interactive mode as a calculator - Augmented Assignment Operator
Case Study Problems
a. Write a python program to solve the expression 2+4**2/4-(5-3).
b. Program to convert the int value to float value and vice versa.
c. Program to find the average of five subject marks.
d. An employee working in a company and getting a salary of 35000, after promotion an
employee gets 10% increment. Write a python program to find the current salary.
e. Program to find maximum of three numbers
f. Python program to check data type of the given input.
Module II Control Flow and Functions 9+6
Conditional statements: if, if-else, if-elif-else- Iterative statements: While, For loop – break -
continue – pass