Back to Browse

VB Code Selection Sort and Quick Sort in VB.Net

3.8K views
Jul 27, 2019
45:41

In this lesson we explain how Selection Sort and Quick Sort work, discuss their Algorithms, and show how to use them in VB.Net to sort arrays. Although VB.Net has its own internal Sort function which works fine for most of the Applications we have been creating, it is good to take a "peak under the hood" and see the actual mechanics of sorting data into ascending order. This is also the kind of material that is always included in Computer Science courses, so that there can be Exam Questions on Sorting. We look at some typical Examination Questions at the end of the video. This lesson will be useful to anyone studying a Computer Science or Software Development course. This is a long lesson, and so we recommend you use the YouTube "Tools Cog" on the payer bar to watch it at a speed of 1.5x or even 1.75x. If you are a Teacher watching this video we suggest you click the downloads link below and get the lesson materials for your students. Give these resources to your students and we think you will find that some of them will "get it" very quickly. The other students need to watch this video which goes through everything in full detail slowly step by step with repetition of examples. This is a detailed video, if you want to fast track learning about Sorting Algorithms, then just Download and quickly read through the PDF of the Presentation using the Link given further down below. There is also a downloadable Word Document giving all of the Form Designs as well as the Full Program Code that goes behind each Form. Then for anything you do not fully understand in these two documents, simply use the Timeline Index below to go and watch the relevant section of Video explanation. If you have the time it will be extremely beneficial to watch the entire video to maximize learning outcomes. VIDEO TIMELINE INDEX: (Click on the time number to jump to that section of the video). 00:00 to 00:24 Introduction 00:24 to 03:05 Why Sort Data ? 03:05 to 06:18 Different Sorting Algorithms 06:18 to 09:24 Selection Sort 09:24 to 10:18 Selection Sort Simple Algorithm 10:18 to 10:42 Selection Sort Detailed Algorithm 10:42 to 11:37 VB Selection Sort Form Design 11:37 to 18:58 VB Selection Sort Program Coding 18:58 to 21:10 VB Selection Sort - Test Program 21:10 to 23:33 Challenge Task 1 - Sorting Strings 23:33 to 24:03 Quick Sort 24:03 to 27:46 Quick Sort Example 27:46 to 28:27 Quick Sort Explanation 28:27 to 28:45 Quick Sort Visual Demonstration 28:45 to 29:06 Quick Sort Dancing Video 29:06 to 30:26 Quick Sort Algorithm Pseudocode 30:26 to 31:02 Challenge Task 2 - Code Quick Sort 31:02 to 32:44 Quick Sort Wrap-Up 32:44 to 33:27 Sorting using VB.Net Function 33:27 to 43:23 Exam Questions on Sorting 43:23 to 44:06 Our Website Programming Course 44:06 to 45:41 Video Wrap Up and Outro This video will be useful for anyone learning Computing, especially students doing VCE Computing or VCE Software Development or HSC Computing high school courses in Australia, and GCSE in the UK. Check with your Teacher or Instructor before getting any Downloads from our Website, as they may already have these materials for you. You can download a hard copy of this Presentation, all of the required Files, and the Full Program Code at the following link: https://tinyurl.com/yyc8j7jn Check with your Teacher or Instructor first, as they may already have these Download materials for you. You can check out our full Programming Course at the following link: http://passyworldofict.com/programming Links to the Videos Referred to in this Presentation: 1. Visualisation of Selection Sort in action: https://www.youtube.com/watch?v=R_f3PJtRqUQ 2. Abdul Bari explains the Quicksort Algorithm: https://www.youtube.com/watch?v=7h1s2SojIRw 3. Visualisation of Quicksort Algorithm in action: https://www.youtube.com/watch?v=h_9kAXFKJwY 4. Dancing Video Visualisation of Quick Sort: https://www.youtube.com/watch?v=ywWBy6J5gz8 5. VB.Net How to Partition and code Quick Sort: https://www.youtube.com/watch?v=lL28l_8V6tc We are planning to make a number of Programming Videos that will be a great course for people to learn how to program in Visual Basic. Like this video if you found it helpful. Subscribe to our Channel to get notified of our weekly video updates. Enjoy, Passy

Download

0 formats

No download links available.

VB Code Selection Sort and Quick Sort in VB.Net | NatokHD