Hang tight while we fetch the video data and transcripts. This only takes a moment.
Connecting to YouTube player…
Fetching transcript data…
We’ll display the transcript, summary, and all view options as soon as everything loads.
Next steps
Loading transcript tools…
04. New Berpikir Komputasional - Pengurutan (Sorting) - Informatika Kelas X | El Samah Channel | YouTubeToText
YouTube Transcript: 04. New Berpikir Komputasional - Pengurutan (Sorting) - Informatika Kelas X
Skip watching entire videos - get the full transcript, search for keywords, and copy with one click.
Share:
Video Transcript
Assalamualaikum warahmatullahi
wabarakatuh happy to meet again
children, hopefully today and the
following days we will always be in good
health and for our friends
who are sick today, hopefully
Allah subhanahu wa taala will heal them soon,
children are still thinking computationally,
this time we will discuss
[Music]
sorting or sorting is the
process of arranging objects or data
based on certain criteria, either
ascending or descending in
everyday life, this practice is not
foreign and feels very basic
even though we often do it without
realizing it, for example when we arrange
books on shelves alphabetically by title or
author, arrange groceries in the
refrigerator by type or date,
dollar bill, until the activity of choosing
clothes to wear by
sorting them by color or
use, the sorting process helps us
in making everyday life
more organized, makes it easier to
search and access goods or
information, and increases the efficiency of
time and effort in carrying out various tasks
tasks
through sorting. We can reduce
clutter, create a more
effective system in storing or accessing
goods and information, and ultimately
improve the quality of our
daily lives in Informatics field
sorting technique is
one of the fundamental aspects that
allows data to be arranged in a
certain order such as numerical or lexicographic order.
Here are some of the
most commonly used sorting algorithms. The
first is Bubble Shot, which
is the simplest sorting method
where data elements are
compared in pairs and
exchanged if they are not in the
correct order. This process is repeated
until there are no more elements that need to be
exchanged, although it is easy to understand. Bubble
Shot is not efficient for large datasets. The
second is selection short, this algorithm
divides the data into two parts, the
sorted part and the
unsorted part. At each step, the algorithm
looks for the smallest or largest element
depending on the desired order of the
unsorted part and
moves it to the
sorted part. Like Bubble short, selection
short is also less efficient for
large datasets. The third is session shot, which
has a slightly different approach
where this algorithm takes one
element from the unsorted part of the data
and places it in the
right position in the sorted part.
This algorithm is effective for
small or nearly sorted datasets, but its
efficiency decreases for
large datasets. The fourth is merot, a
sorting algorithm that uses the
divide and concur approach by
dividing the data into
smaller parts, sorting each of them. The
parts and then
recombine the parts
into a single
ordered unit Mer short is very efficient for
large datasets [Music] the fifth quick sort also
uses the define and
concure approach and one of the
fastest and most efficient sorting algorithms
quicksot selects a pivet then
groups the other elements
into two subarrays of elements
smaller than the pivet and larger
than the pivet to then sort them
recursively the sixth Hip shot
this algorithm uses the Hip data structure
to sort the elements it arranges the
elements in the form of Hip then
removes the element from the top of Hip Which
is the largest or smallest element
and updates Hip this process is repeated
until all the elements are sorted the seventh
redik sort is different from
other comparison-based sorting algorithms
redik shot sorts data
based on individual digits starting
from the rightmost digit or LSB
or the leftmost or MSB
this algorithm is very effective for sorting
data in the form of numbers or
strings each sorting algorithm
has its own advantages and disadvantages
which make it more
suitable for certain situations or types of data
understanding the characteristics and how
each algorithm works is important
to choose the
most effective sorting strategy Therefore in
This video we will only discuss
Bubble Shot selection shot and instion
Shot Bubble Shot is a
simple sorting algorithm that works by
repeatedly going through the list to be
sorted comparing each pair of
adjacent elements and swapping them if
they are in the wrong order
this process is repeated from the beginning until no
more swapping is needed which
indicates that the list is sorted
the illustration can be likened to
air bubbles rising to the
surface of the water elements with
smaller values gradually float to the
top of the list or to the beginning of the list if
we sort in ascending order along the
along the
iteration in the first stage the
first element is compared with the second element
if the first element is larger for
ascending sort then the two elements are
swapped this process continues to the
next pair of elements until the
last element of the list so that the element
with the largest value will be in the
last position in the next iteration a
similar process is repeated but
this time until the second to last element because the
last element is already in the
right position this process is repeated with each
time the number of comparisons is reduced by one
until no more swapping is
needed which indicates that the list is
sorted although easy to understand and
implement the bubble shot algorithm is
not efficient for large lists
selection shot is a
simple sorting algorithm in where
the process involves finding the
minimum element of a part of the array to
place it in the correct position
the process is repeated for
each element in the array until the entire
array is sorted here is an illustration of the
SH selection process first
initialization that is starting with the
first index of the array as the minimum index
second minimum search do the
search for the minimum element in the
unsorted array third swap exchange the
minimum element found
with the element at the starting position of the
unsorted array next
iteration move the starting index to the
next position in the array and repeat the
process from Step two until the array is completely
completely
sorted the short insertion process is
a sorting technique in
computer science that works by
taking an element from a run and inserting it
to the correct position in the sorted part of the run imagine
imagine
this process like sorting cards in
your hand starting with one card
assuming it is already sorted Then
you take the next card and
compare it with the card already
in mind then insert it in the position
that makes the order correct
this process is repeated for each card or
each element in the run until all
cards or elements are correctly sorted
in its implementation you Start
By assuming the first element of the run
as the already sorted part
for each subsequent element you
look for the correct position in the
already sorted part sorted by
comparing them sequentially starting
from the last element and the part that
has been sorted if the element being
checked is smaller than the element being
compared the element is shifted to the
right this process continues until the
correct position for the element being
checked is found the element is
then inserted in this position
this process is repeated until all the elements
in the run are sorted this illustration
describes a simple
but effective way of working in certain cases
especially when the run to be
sorted is a run with a number of
elements that are not too many or a
run that has almost been
sorted children for this video that's
enough for now
Happy learning Have a good activity I hope
you are successful wassalamualaikum
Click on any text or timestamp to jump to that moment in the video
Share:
Most transcripts ready in under 5 seconds
One-Click Copy125+ LanguagesSearch ContentJump to Timestamps
Paste YouTube URL
Enter any YouTube video link to get the full transcript
Transcript Extraction Form
Most transcripts ready in under 5 seconds
Get Our Chrome Extension
Get transcripts instantly without leaving YouTube. Install our Chrome extension for one-click access to any video's transcript directly on the watch page.