HarutyunyanAEX1

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

CS 136: Project 8 – Student Name (Change to your own name)

Instructions
Complete each sort. Save this file under your last name, first Initial EX1. Example: SanchezBEX1 for Bob Sanchez.
Then save it as PDF file. Upload PDF file.

Choose 10 random numbers. Every student must choose his/her own numbers.

Selection Sort

Index 0 1 2 3 4 5 6 7 8 9

Raw Data 45 23 89 12 56 34 78 67 11 90

Round 1 11 23 89 12 56 34 78 67 45 90

Round 2 11 12 89 23 56 34 78 67 45 90

Round 3 11 12 23 89 56 34 78 67 45 90

Round 4 11 12 23 34 56 89 78 67 45 90

Round 5 11 12 23 34 45 89 78 67 56 90

Round 6 11 12 23 34 45 56 78 67 89 90

Round 7 11 12 23 34 45 56 67 78 89 90

Round 8 11 12 23 34 45 56 67 78 89 90

Round 9 11 12 23 34 45 56 67 78 89 90

Round 10 11 12 23 34 45 56 67 78 89 90

Bubble Sort (Bubble sort could finish Sonner. No need to fill all rows)

Index 0 1 2 3 4 5 6 7 8 9

Raw Data 45 23 89 12 56 34 78 67 11 90

Round 1 23 45 12 56 34 78 67 11 89 90

Round 2 23 12 45 34 56 67 11 78 89 90

Round 3 12 23 34 45 56 11 67 78 89 90

Round 4 12 23 34 45 11 56 67 78 89 90

Round 5 12 23 34 11 45 56 67 78 89 90

Round 6 12 23 11 34 45 56 67 78 89 90

Round 7 12 11 23 34 45 56 67 78 89 90
Round 8 11 12 23 34 45 56 67 78 89 90

Round 9 11 12 23 34 45 56 67 78 89 90
Round 10 11 12 23 34 45 56 67 78 89 90

You might also like