Python Programming syllabus
ICT.Ed.4776 units · 73 topicsAcademic year 2083/84
Browse the units
1Python Programming Fundamentals (8 Hours)
Write and Execute Python Program
Describe basic structure of python program, data types, variables, operators, comments and constants
Perform input and output operation
Explore print function and display formatted output with f-string
Python Introduction
Data Types and Type Conversion
Comments
Variables, Constants, Operators and Performing Calculations
Reading Input from Keyboard
Print function, Displaying Formatted Output with F-strings
Practical WorksWrite program to illustrate variables, constants, data types and type conversion
Write program to demonstrate different types of operators available in python and perform calculations
Write program to make use of I/O functions
2Control Statements in Python (8 Hours)
Explain control statements
Write decision making problems using if, match, break and continue statements
Apply different types of loop and make distinction among them through program
Discuss different problems and how they are transformed to programs using nested loop and infinite loop
Demonstrate skills to write program using control statements in Python
if statement
match statement
break statement
continue statement
Loop statement: while and for
Nested loop
Infinite loop
Practical WorksWrite program to apply if, match, break and continue statements for decision making
Write program to utilize different loop statements to solve meaningful problems
Write program to demonstrate input validation using loop
Write program to create different patterns using nested loop
Write program to make use of infinite loop
3List, Tuple, Dictionaries, Sets and Strings (16 Hours)
Describe List, Tuples, Dictionary, Sets and Strings in python
Elaborate List Comprehension, Dictionary operations, Set Operations, Tuples Operations, List slicing
Solve simple computing problems using List methods
Use different string methods to manipulate strings
Describe Searching and Sorting problem
Demonstrate skills for writing program
Introduction to Lists: List Slicing, in operator, List Methods (append, index, insert, sort, remove, reverse, min, max)
List Comprehension
Two-Dimensional Lists
Tuples
Dictionaries: Creating dictionary, retrieving, adding and removing elements
Sets: Creating Set, Adding and Removing Elements, Set Operations (union, intersection, difference)
Strings: String Operations (Slicing, Testing, Searching, and Manipulating)
Practical WorksWrite program to create list, add elements in list, remove elements from list and display list items
Write program to make use of list slicing concept to display elements of list
Write program to elaborate different list methods
Write program to apply list comprehension
Write program to illustrate two-dimensional list
Write program to create tuple, add elements in tuple, remove elements from tuple and display tuple items
Write program to create dictionary, add elements in dictionary, remove elements from dictionary and display dictionary items
Write program to create set, add elements in set, remove elements from set and display set items
Write program to perform set operations
Write program to make use of string manipulation methods and also perform different string operations
4Object Oriented Programming with Python (10 Hours)
Define object oriented paradigm with python
Demonstrate class and object with data hiding concept
Describe the use of self-keyword in programs
Compare and contrast different types of inheritance
Elaborate polymorphism concept
Class and Object
__init__ method
self keyword
Inheritance
Polymorphism and Data Hiding
Practical WorksWrite program to elaborate object oriented concept with simple examples
Write program to make use of __init__ method to initialize objects
Write program to apply different types of inheritance
Write program to elaborate polymorphism and data hiding concept
5Function, Exception and File Handling (10 Hours)
Clarify the concept of functions
Create function with arguments, without arguments, and returning values
Describe exception and how to handle them in programs
Explain the use of file in program
Demonstrate the file operations with examples
Introduction to Functions
Defining and Calling Function
Passing Arguments to Functions
Value-Returning Functions
Introduction to File Input and Output
Using Loops to Process Files
Exception Handling
Practical WorksWrite program to divide work in functions
Write different variety of functions: function with arguments, value returning function, function without arguments
Write program to store output in file
Write program to read input from file
Write program to handle different types of exception
6Database and GUI Programming (12 Hours)
Discuss the use of database and GUI programming
Demonstrate CRUD operation in database
Design simple GUI with frames and widgets
Perform simple calculations using GUI
Draw different geometrical shapes using canvas
Opening and Closing Database Connection with SQLite
Creating and Deleting Tables
Adding Data to a Table
CRUD Operations
Using the tkinter Module
Working with Widgets: Label, Button, Info Dialog Boxes, Entry, Radio and Check Buttons
Organizing Widgets with Frames
Drawing Shapes with Canvas Widget
Practical WorksWrite program to establish connection with database and create or delete database and table
Write program to store data in database and manipulate the data
Write program to perform CRUD operation in database
Write program to create simple GUI with widgets: label, text entry, radio buttons, check buttons
Write program to organize the different widgets with frame to create attractive designs
Write program to draw different geometrical shapes using canvas widget