Python PBL-2

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Course overview:

The course will consist of ten classes, each class being two hours long.
The curriculum will cover basic and intermediate Python concepts, including data types,
control structures, functions, classes, and modules.
Students will work on project-based assignments in each class, which will be
progressively more challenging and geared towards AI, Cybersecurity, IoT.
Class 1: Python Basics

● Introduction to Python and its applications in AI, Cybersecurity, IoT.


● Basic data types: strings, integers, and floats.
● Input and Output statements.
● Conditional statements: If, elif and else statements.
Project: Create a simple program that takes user input and performs a calculation using
conditional statements.
Class 2: Python Data Types and Loops

● Recap of data types and conditional statements.


● Lists and Tuples data structures.
● Looping structures: For and While loops.
Project: Write a program to process a list or tuple of values, filter, and output the results
using looping structures.
Class 3: Python Functions

● Introduction to functions.
● Writing and calling functions.
● Function arguments, default arguments, and keyword arguments.
● Lambda functions.
Project: Write a program that calculates mathematical functions using lambda
functions.
Class 4: Python Modules

● Introduction to modules.
● Importing modules.
● Creating and importing custom modules.
● Working with third-party modules.
Project: Develop a simple module and use it in a program.
Class 5: Python Files and Exceptions

● Reading and writing files.


● Exception handling.
Project: Write a program that reads data from a file, processes the data, and writes the
results to a new file.
Class 6: Python Classes and Objects

● Introduction to classes and objects.


● Creating classes and objects.
● Class attributes and methods.
● Inheritance and polymorphism.
Project: Develop a simple program that uses classes to model real-world objects.
Class 7: Python Web Development

● Introduction to web development using Flask.


● Creating a Flask application.
● HTTP methods: GET and POST.
Project: Develop a simple web application that interacts with a database.
Class 8: Python Networking

● Introduction to networking.
● Sockets and protocols.
● Creating a client-server application.
Project: Develop a simple networked application.
Class 9: Python Cybersecurity

● Introduction to cybersecurity.
● Cryptography and encryption.
● Network security.
Project: Develop a simple program that uses cryptography to secure network
communication.
Class 10: Python Artificial Intelligence

● Introduction to artificial intelligence.


● Machine learning and deep learning.
● Working with Python libraries for AI, such as NumPy, TensorFlow, and Keras.
Project: Develop a simple AI program that uses machine learning or deep learning
techniques.

Methodology:

To engage students, each class should follow a project-based learning approach, where
students work on projects that build on the concepts covered in each class. Projects should be
interesting, relevant, and geared towards real-world applications. Students should work in
groups, and each group should present their project to the class at the end of each session.
To ensure that the curriculum takes the shortest time possible, the projects should be
progressively more challenging, and students should be encouraged to work on their projects
outside of class time. Additionally, students should be provided with plenty of resources, such
as tutorials, videos, and code examples, to help them understand the concepts covered in each
class.

You might also like