SlideShare a Scribd company logo
1 of 1
Download to read offline
10 14 27 33 35 19 42 44Array : T
.
.
.
.
.
.
.
.
.
3rd Iteration
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
minj = 3
minx = 27
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Inner For Loop
j = 4
.
.
.
j = 5
.
.
.
j = 6
.
.
.
j = 7
.
.
.
j = 8
.
.
.
33 < 27 (F)
.
.
.
35 < 27 (F)
.
.
.
19 < 27 (T)
.
.
.
42 < 19 (F)
.
.
.
44 < 19 (F)
.
.
.
.
.
.
.
.
.
.
.
minj = 6
minx = 19
.
.
.
.
.
.
.
.
.
.
Inner For Loop terminate
Effect on array
10 14 27 33 35 19 42 44
4442273533191410
Array : T 10 14 19 33 35 27 42 44
.
.
.
.
.
.
.
.
.
4th Iteration
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
minj = 4
minx = 33
.
.
.
.
.
.
.
.
.
Inner For Loop
j = 5
.
.
.
j = 6
.
.
.
j = 7
.
.
.
j = 8
.
.
.
35 < 33 (F)
.
.
.
27 < 33 (T)
.
.
.
42 < 27 (F)
.
.
.
44 < 27 (F)
.
.
.
.
.
.
.
minj = 6
minx = 27
.
.
.
.
.
.
.
.
.
.
Inner For Loop terminate
Effect on array
10 14 19 33 35 27 42 44
4442333527191410
Inner For Loop
j = 6
.
.
.
j = 7
.
.
.
j = 8
.
.
.
.
.
.
.
.
minj = 5
minx = 35
.
.
.
.
.
.
.
.
.
.
.
.
5th Iteration
.
.
.
.
.
.
10Array : T 14 19 27 35 33 42 44
33 < 35 (T)
.
.
.
42 < 33 (F)
.
.
.
44 < 33 (F)
.
.
.
minj = 6
minx = 33
.
.
.
.
.
.
.
.
.
.
Inner For Loop terminate
Effect on array
10 14 19 27 35 33 42 44
4442353327191410
Effect on array
10 14 19 27 33 35 42 44
(No Change)
4442353327191410
Inner For Loop terminate
.
.
.
.
.
.
.
.
42 < 35 (F)
.
.
.
44 < 35 (F)
.
.
.
j = 7
.
.
.
j = 8
.
.
.
Inner For Loop
.
minj = 6
minx = 35
.
.
.
.
6th Iteration
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Array : T 10 14 19 27 33 35 42 44
.
.
7th Iteration
.
.
.
minj = 7
minx = 42
.
.
Array : T 10 14 19 27 33 35 42 44
j = 8
.
.
.
42 < 44 (F)
.
.
.
.
.
.
.
Inner For Loop terminate
Effect on array
10 14 19 27 33 35 42 44
4442353327191410
(No Change)

More Related Content

Viewers also liked

Viewers also liked (6)

O magikos avlos
O magikos avlosO magikos avlos
O magikos avlos
 
στον ρυθμό της παρέλασης!
στον ρυθμό της παρέλασης!στον ρυθμό της παρέλασης!
στον ρυθμό της παρέλασης!
 
Intro to AWS Machine Learning
Intro to AWS Machine LearningIntro to AWS Machine Learning
Intro to AWS Machine Learning
 
Crosscode Customer Interaction Management (CIM) Suite Datasheet
Crosscode Customer Interaction Management (CIM) Suite DatasheetCrosscode Customer Interaction Management (CIM) Suite Datasheet
Crosscode Customer Interaction Management (CIM) Suite Datasheet
 
The Guest house | Reinventing Work | www.the-guest-house.com
The Guest house | Reinventing Work | www.the-guest-house.comThe Guest house | Reinventing Work | www.the-guest-house.com
The Guest house | Reinventing Work | www.the-guest-house.com
 
Carta de un padre con el nombre manchado
Carta de un padre con el nombre manchadoCarta de un padre con el nombre manchado
Carta de un padre con el nombre manchado
 

Recently uploaded

Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

Analysis of Selection Sort Example

  • 1. 10 14 27 33 35 19 42 44Array : T . . . . . . . . . 3rd Iteration . . . . . . . . . . . . . . . . . . . . . minj = 3 minx = 27 . . . . . . . . . . . . . . . . . . . Inner For Loop j = 4 . . . j = 5 . . . j = 6 . . . j = 7 . . . j = 8 . . . 33 < 27 (F) . . . 35 < 27 (F) . . . 19 < 27 (T) . . . 42 < 19 (F) . . . 44 < 19 (F) . . . . . . . . . . . minj = 6 minx = 19 . . . . . . . . . . Inner For Loop terminate Effect on array 10 14 27 33 35 19 42 44 4442273533191410 Array : T 10 14 19 33 35 27 42 44 . . . . . . . . . 4th Iteration . . . . . . . . . . . . . . . . . . . . . minj = 4 minx = 33 . . . . . . . . . Inner For Loop j = 5 . . . j = 6 . . . j = 7 . . . j = 8 . . . 35 < 33 (F) . . . 27 < 33 (T) . . . 42 < 27 (F) . . . 44 < 27 (F) . . . . . . . minj = 6 minx = 27 . . . . . . . . . . Inner For Loop terminate Effect on array 10 14 19 33 35 27 42 44 4442333527191410 Inner For Loop j = 6 . . . j = 7 . . . j = 8 . . . . . . . . minj = 5 minx = 35 . . . . . . . . . . . . 5th Iteration . . . . . . 10Array : T 14 19 27 35 33 42 44 33 < 35 (T) . . . 42 < 33 (F) . . . 44 < 33 (F) . . . minj = 6 minx = 33 . . . . . . . . . . Inner For Loop terminate Effect on array 10 14 19 27 35 33 42 44 4442353327191410 Effect on array 10 14 19 27 33 35 42 44 (No Change) 4442353327191410 Inner For Loop terminate . . . . . . . . 42 < 35 (F) . . . 44 < 35 (F) . . . j = 7 . . . j = 8 . . . Inner For Loop . minj = 6 minx = 35 . . . . 6th Iteration . . . . . . . . . . . . . . . Array : T 10 14 19 27 33 35 42 44 . . 7th Iteration . . . minj = 7 minx = 42 . . Array : T 10 14 19 27 33 35 42 44 j = 8 . . . 42 < 44 (F) . . . . . . . Inner For Loop terminate Effect on array 10 14 19 27 33 35 42 44 4442353327191410 (No Change)