Programming with Python
0%
Course Title: Programming with Python
Course No: IT 243
Nature of the Course: Theory + Lab
Semester: 5
Credit Hours: 3
Course Description
Course Objectives
Course Contents
1. Introduction
3 hrs
2.2. Selection Statements
- if statements
- match-case statement
2.4. Looping Statements
- for Loops
- while Loops
3.2. Numeric Types
- Integers
- Floating Point Numbers
- Complex Numbers
3.3. String
- Indexing and Slicing
- String Formatting
- Escape Sequences
3.5. List
- Indexing and Slicing
- Changing Items
- Adding and Removing Items
- Looping
- Copying
- List Comprehension
- Sorting
- Copying and Joining
3.6. Tuple
- Updating
- Indexing and Slicing
- Unpacking
- Looping
- Joining
3.7. Set
- Accessing
- Adding and Removing Items
- Set Operations
4. Functions
3 hrs
5.2. Object-Oriented Principles
- Classes and Objects
- Encapsulation
- Inheritance
- Polymorphism
- Abstraction
5.3. Defining a Class
- Adding Instance Variables
- Adding Instance Methods
- Adding Class Variables
- Adding Class Methods
- Adding Static Methods
6. File Handling
3 hrs
7.1. Numpy
- Introduction
- Array Creating
- Dimensions
- Data Types
- Array Attributes
- Indexing and Slicing
- Array Copy and View
- Creating Array from Numerical Range
- Array Broadcasting
- Iterating Over Array
- Sorting and Searching
- Statistical Functions
7.2. Pandas
- Series and DataFrames
- Creating DataFrames
- The head and tail Functions
- Attributes
- Working with Missing Data
- Indexing, Slicing, and Subsetting
- Merging and Joining DataFrames
- Working with CSV Files
7.3. Matplotlib
- Introduction
- Marker
- Line
- Color
- Label
- Grid Lines
- Subplot
- Scatter Plot
- Bar Graph
- Histogram
- Pie chart
- Box plot
Laboratory Works
- 1.Python Programs on Introduction
- 2.Python Programs on Control Statements
- 3.Python Programs on Built-In Data Types
- 4.Python Programs on Functions
- 5.Python Programs on Object-oriented Programming
- 6.Python Programs on File Handling
- 7.Python Programs on Common Python Libraries
- 8.Python Programs on Advanced Topics
Reference Books
- 1.Fabrizio Romano and Heinrich Kruger, Learn Python Programming – An in-depth Introduction to the fundamentals of Python, Third Edition, Packt Publishing, 2021
- 2.Kenneth A Lampart, Fundamental of python, Cengage Learning Publishing.
- 3.Cody Jackson (2018): Learn programming in Python with cody Jackson, Packt Publishing, Wesley.
- 4.Mark Summerfield: "Programming in Python 3: A Complete Introduction to the Python Language", Addison-Wesley Professional.