From e3cfce28fc2ad4d5be896fb246115fd7ead760d9 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 14 Feb 2025 12:47:27 +0100 Subject: [PATCH 1/5] Lesson material on Introduction to database: overview of sql and relational databases --- ...ql-and-Relational-Databases-Lesson Note.md | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 Batch24/LessonMaterials/Batch23-24-25-Introdution-To-Databases-Overview-Sql-and-Relational-Databases-Lesson Note.md diff --git a/Batch24/LessonMaterials/Batch23-24-25-Introdution-To-Databases-Overview-Sql-and-Relational-Databases-Lesson Note.md b/Batch24/LessonMaterials/Batch23-24-25-Introdution-To-Databases-Overview-Sql-and-Relational-Databases-Lesson Note.md new file mode 100644 index 0000000..f352873 --- /dev/null +++ b/Batch24/LessonMaterials/Batch23-24-25-Introdution-To-Databases-Overview-Sql-and-Relational-Databases-Lesson Note.md @@ -0,0 +1,88 @@ + +Introduction To Databases : Overview Of Sql And Relational Databases. +(Batch 23/24/25) + +Lesson Date: 10|02|2025. + +Introduction: +A database is an organized collection of data that can be easily accessed, managed, and updated. +They allow for efficient data storage, retrieval, and manipulation, which is essential for dynamic applications. + +Relational databases are a specific type of database that stores data in tables (or relations). Each table consists of rows and columns, +where each row represents individual entry or a record that exists in a table and each column holds specific information about +every record in the table. + +SQL (Structured Query Language) as the standard language used to communicate with relational databases. It is used for querying, updating, +and managing data. + +During this course, we will cover the following topics: + + +1. What a Database Is. + + Material Used: + Dotnet Tutorials. + W3 Schoool Tutorials. + +2. The Types of Databases. + + Material Used: + Dotnet Tutorials. + W3 Schoool Tutorials. + Udemy video. + +3. What a Relational Database Is. + + Material Used: + Dotnet Tutorials. + W3 Schoool Tutorials. + Udemy video. + +4. Types Of Relational Database. + + Materials Used: + Dotnet Tutorials. + W3 Schoool Tutorials + +5. What SQL is. + + Materials Used: + Dotnet Tutorials. + W3 Schoool Tutorials. + Udemy video. + +6. The Most Important SQl Command + + Materials Used: + Dotnet Tutorials. + W3 Schoool Tutorials. + Udemy video. + +7. Installation of Mysql with Mysql Workbench. + + Materials Used: + Udemy Video. + +8. Write SQl Querry with Mysql and Workbench. + +9. Data Types in Mysql. + + Materials Used: + Udemy video + +10. What Primary Key Is. + + Materials Used: + Udemy video. + +11. What Foreign Key Is. + + Materials Used: + Udemy video. + +12. Unique, Not Null, Null and Check Constraints. + + Materials Used: + Udemy video. + +13.Code examples will be provided. \ No newline at end of file From d78e177488725034260d8806332ae85f5a082e3b Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 14 Feb 2025 15:15:10 +0100 Subject: [PATCH 2/5] Lesson note on MySQl: Practice Creating Databases, Tables and Performing Crud --- ...ng-Databases-Tables-and-Performing-Crud.md | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Batch24/LessonMaterials/Batch-23-24-25-MySQl-Practice-Creating-Databases-Tables-and-Performing-Crud.md diff --git a/Batch24/LessonMaterials/Batch-23-24-25-MySQl-Practice-Creating-Databases-Tables-and-Performing-Crud.md b/Batch24/LessonMaterials/Batch-23-24-25-MySQl-Practice-Creating-Databases-Tables-and-Performing-Crud.md new file mode 100644 index 0000000..2f1a218 --- /dev/null +++ b/Batch24/LessonMaterials/Batch-23-24-25-MySQl-Practice-Creating-Databases-Tables-and-Performing-Crud.md @@ -0,0 +1,70 @@ + +SQL Basics: MySQl: Practice Creating Databases, Tables and Performing Crud in c#. + +(Batch 23/24/25) + +Lesson Date: 10|02|2025. + +Introduction: +This course is designed to provide you with essential skills in SQL and database management using MySQL, +with a specific focus on integrating these skills into C# applications. + +During this course, we will cover the following topics: + +1. What Object Relation Mapper(ORM) Is: + + Materials Used: + Dotnet Tutorials. + W3 Schoool Tutorials. + Udemy video. + +2. Types Of Object Relational Mapper(ORM): + + Materials Used: + Dotnet Tutorials. + W3 Schoool Tutorials. + Udemy video. + +3. Installation of Mysql.Data(External Package): + + Materials Used: + Udemy video. + Internet. + +4. Explanation of Important Classes and Method in Myqsl.Data Namespace. + + Materials Used: + Dotnet Tutorials. + Udemy video. + +5. Importance of Opening and Closing Conncection. + + Materials Used: + Dotnet Tutorials. + Udemy video. + +6. How To Use Connection String in c# Applications. + + Materials Used: + Dotnet Tutorials. + Udemy video. + + +7. How To Connect c# Applications To MySQL Database. + + Materials Used: + Dotnet Tutorials. + Udemy video. + +8. Create Databases and Tables: + + Materials Used: + W3 Schoool Tutorials. + Udemy video. + Intrnet. + +9. Build Practical Application Using Student Entity, To Perform Crud Operation. + + Materials Used: + Udemy video. + From 663e333f04f69fb2bb5393967556d84bb90b97a5 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 15 Feb 2025 05:23:20 +0100 Subject: [PATCH 3/5] Lesson note on Polymorphism : Implement Method Overriding and Overloading. --- ...-Overriding-and-Overloading-Lesson-Note.md | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 Batch26/LessonMaterials/Batch26-Polymorphism-Implement-Method-Overriding-and-Overloading-Lesson-Note.md diff --git a/Batch26/LessonMaterials/Batch26-Polymorphism-Implement-Method-Overriding-and-Overloading-Lesson-Note.md b/Batch26/LessonMaterials/Batch26-Polymorphism-Implement-Method-Overriding-and-Overloading-Lesson-Note.md new file mode 100644 index 0000000..df7b115 --- /dev/null +++ b/Batch26/LessonMaterials/Batch26-Polymorphism-Implement-Method-Overriding-and-Overloading-Lesson-Note.md @@ -0,0 +1,108 @@ + + + +Polymorphism : Implement Method Overriding and Overloading. + +(Batch 26). + +Lesson Date: 11/02/2025. + +Introduction. +polymorphism is one of the fundamental of oop concepts that enhances the flexibility and scalability of code. +Derived from the Greek words "poly" (meaning many) and "morph" (meaning forms), polymorphism allows objects to be treated as instances of their parent class, +enabling a single interface to represent different underlying forms (data types). + +In this course, we will cover the following topics: + +1. What Polymorphism is. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +2. Types of Polymorphism. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +3. What Method Overloading Is. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +4. Ways To Overload A Method in c# + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +5. Understand What Makes Up A Method Signature. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +6. Multiple Examples to Understand Method Overloading. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +7. What Method Overriding Is. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +8. Inheritance and Method Overriding. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +9. When Do We Need to Override a Method in C#. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +10. When a Subclass Method is Treated as an Overridden Method in C# + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +11. How a Method is Overridden in C# + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +12. Multiple Examples to Understand Method Overriding. + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +13. How to Execute the Superclass Method if it is Overridden in the Subclass + + Materials Used: + w3 School Tutorials. + Dotnet Tutorials. + Internet. + +14. Code example will be provided From a31d5c0cae5e5dbe224c22a51c095f9c9a1da30a Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 15 Feb 2025 05:52:17 +0100 Subject: [PATCH 4/5] Lessson note on Abstract Classes and Methods. --- .../Batch26-Abstract-Classes-and-Methods.md | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 Batch26/LessonMaterials/Batch26-Abstract-Classes-and-Methods.md diff --git a/Batch26/LessonMaterials/Batch26-Abstract-Classes-and-Methods.md b/Batch26/LessonMaterials/Batch26-Abstract-Classes-and-Methods.md new file mode 100644 index 0000000..51b730a --- /dev/null +++ b/Batch26/LessonMaterials/Batch26-Abstract-Classes-and-Methods.md @@ -0,0 +1,75 @@ + + + +Abstract Classes and Methods. + +(Batch 26). + +Lesson Date: 11/02/2025. + +Introduction. +An abstract class serves as a blueprint for other classes. It cannot be instantiated on its own and is designed to be inherited by subclasses. +Abstract classes can contain both abstract methods (which have no implementation) and concrete methods (which do have implementation). +This allows for a mix of defined behavior and enforced structure in derived classes. + +Abstract Methods: An abstract method is a method that is declared without an implementation. +Subclasses that inherit from the abstract class are required to provide concrete implementations for these methods. +This enforces a contract that ensures certain methods are implemented in derived classes, +promoting consistency across different implementations. + +In this course, we will cover the following topics: + +1. What Abstract Class is. + + Materials Used: + Sharp Corner. com Material. + Programiz.com Material + Dotnet Tutorials. + Internet. + +2. Inheriting an Abstract Class. + + Materials Used: + Sharp Corner. com Material. + Programiz.com Material + Dotnet Tutorials. + Internet. + +3. Implementation of Abstract Class with examples. + + Materials Used: + Sharp Corner. com Material. + Programiz.com Material + Dotnet Tutorials. + Internet. + +4. What Abstract Method is + + Materials Used: + Sharp Corner. com Material. + Programiz.com Material + Dotnet Tutorials. + Internet. + +5. Inheriting an Abstract Method. + + Materials Used: + Sharp Corner. com Material. + Programiz.com Material + Dotnet Tutorials. + Internet. + +6. Implementation of Abstract Method with examples. + + Materials Used: + Sharp Corner. com Material. + Programiz.com Material + Dotnet Tutorials. + Internet. + +7. Differences Between Method Overriding and Abstract Method + + Materials Used: + Sharp Corner. com Material. + +8. Code example will be provided From 66be05a595c5fdcc566d332f5eb7b8c339a1189d Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 24 Feb 2025 00:56:54 +0100 Subject: [PATCH 5/5] Batch26. Sorting Algorithm: Bubble Sort: Implement and Analyse Bubble Sort --- ...lement-And-Analyze-Bubble-Sort-Exercise.md | 63 ++++++++++++++ ...rting-Algorithm-Bubble Sort-Lesson-Note.md | 85 +++++++++++++++++++ 2 files changed, 148 insertions(+) create mode 100644 Batch26/Assignments/Batch26-02-18-2025-Sorting Algorithms-Bubble-Sort-Implement-And-Analyze-Bubble-Sort-Exercise.md create mode 100644 Batch26/LessonMaterials/Batch26-Sorting-Algorithm-Bubble Sort-Lesson-Note.md diff --git a/Batch26/Assignments/Batch26-02-18-2025-Sorting Algorithms-Bubble-Sort-Implement-And-Analyze-Bubble-Sort-Exercise.md b/Batch26/Assignments/Batch26-02-18-2025-Sorting Algorithms-Bubble-Sort-Implement-And-Analyze-Bubble-Sort-Exercise.md new file mode 100644 index 0000000..4bf28f1 --- /dev/null +++ b/Batch26/Assignments/Batch26-02-18-2025-Sorting Algorithms-Bubble-Sort-Implement-And-Analyze-Bubble-Sort-Exercise.md @@ -0,0 +1,63 @@ + +Sorting Algorithms: Bubble Sort +Implement and Analyze Bubble Sort. +(Batch26). + + +Exercise Date: 02/18/2025. + +Submission Date :02/22/2025. + +Exercise 1: + +Task: Implement a basic Bubble Sort algorithm in C#. Given an array of integers, +sort the array in ascending order using the Bubble Sort technique. + +Exercise 2: + +Task: Modify your Bubble Sort implementation to include an optimization that stops the algorithm if no swaps are made during a pass. +This can improve performance for nearly sorted arrays. + +Exercise 3: + +Write a method that sorts an array of integers in descending order using the Bubble Sort algorithm. + +Exercise 4: + +Implement a Bubble Sort algorithm that counts the number of swaps made during the sorting process. +Return the total number of swaps after sorting the array. + +Exercise 5: + +Write a Bubble Sort method that sorts an array of strings in alphabetical order. Test your implementation with an array of names. + +Exercise 6: + +Create a class called Person with properties Name and Age and DateOfBirth. +Implement a Bubble Sort algorithm to sort a list of Person objects by DateOfBirth. + +Exercise 7: + +Write a method that sorts a 2D array (matrix) based on the values in the first column using the Bubble Sort algorithm. +If two rows have the same value in the first column, maintain their original order. + +Exercise 8: + +Implement a Bubble Sort algorithm that accepts a comparison delegate (Func) to allow sorting based on custom criteria (e.g., ascending, descending, or based on specific properties of objects). + +Exercise 9: +Create a console application that visualizes the Bubble Sort process. Print the array after each swap to show how the sorting progresses. + +Exercise 10: + +Task: Write a Bubble Sort method that sorts an array of double values in ascending order. + Test your implementation with an array of floating-point numbers. + +Exercise 11: + +Before performing Bubble Sort, write a method that checks if an array is already sorted. +If it is sorted, return the original array without sorting. + +Exercise 12: +Create a console application that prompts the user to enter a series of integers. +Store the integers in an array and then sort the array using the Bubble Sort algorithm. Finally, Implement binary search on the sorted array. \ No newline at end of file diff --git a/Batch26/LessonMaterials/Batch26-Sorting-Algorithm-Bubble Sort-Lesson-Note.md b/Batch26/LessonMaterials/Batch26-Sorting-Algorithm-Bubble Sort-Lesson-Note.md new file mode 100644 index 0000000..cf4d9ea --- /dev/null +++ b/Batch26/LessonMaterials/Batch26-Sorting-Algorithm-Bubble Sort-Lesson-Note.md @@ -0,0 +1,85 @@ + + + + +Sorting Algorithm: Bubble Sort +Implement and Analyse Bubble Sort in c# +(Batch 26) + +Lecture Date : 02/18/2025. + + +Introduction: + +Sorting algorithm is a method for arranging the elements of a list in a specific order. The sorting algorithms are used to arrange the data in both numerical +and lexicographical order. + +Bubble Sort: + +Bubble Sort is a simple and easy sorting algorithm. It begins by comparing the first two elements of a list.If the first element is greater than +second element they are swapped. This process continues for each pair of adjacent element until the end of data set is reached. After completing one pass through the list, +The algorithm starts again from the first two elements and repeats the process until no swap has occured in the complete pass, +indicating that the list is sorted. + +Goal of Teaching the Bubble Sort Algorithm to Students + +The primary goal of teaching the Bubble Sort algorithm to students is to provide them with a foundational understanding of sorting algorithms and +their implementation. +By the end of this course, students will be able to: + +1. Understand Basic Concepts of Sorting: + + Materials Used: + Performance Analysis of Sorting Algorithm with c# pdf. + +2. What is Bubble Sort Algorithm: + + Materials Used: + Code-Maize.com. Article on Bubble sort. + Performance Analysis of Sorting Algorithm with c# pdf. + +3. How Bubble Sort Works + + Materials Used: + Performance Analysis of Sorting Algorithm with c# pdf. + +4. Bubble Sort Algorithm + + Materials Used: + Performance Analysis of Sorting Algorithm with c# pdf. + +5. How to Implement Bubble Sort + + Materials Used: + Code-Maize.com. Article on Bubble sort. + Performance Analysis of Sorting Algorithm with c# pdf. + Youtube video on Bubble sorting. + +6. How to Optimize Bubble Sort Algorithm + + Materials Used: + Code-Maize.com. Article on Bubble sort. + Performance Analysis of Sorting Algorithm with c# pdf. + Udemy Video. + Internet. + +7. Time and Space Complexity + + Materials Used: + Code-Maize.com. Article on Bubble sort. + Performance Analysis of Sorting Algorithm with c# pdf. + +8. Advantages and Disadvantages of Bubble Sort + + Materials Used: + Code-Maize.com. Article on Bubble sort. + +9. Code Examples: + Code examples will be provided throughout the course. + + + + + + +