Sorting Quiz questions

Slides:



Advertisements
Similar presentations
1 Parallel Parentheses Matching Plus Some Applications.
Advertisements

Sorting Algorithms CS 524 – High-Performance Computing.
1 Friday, November 17, 2006 “In the confrontation between the stream and the rock, the stream always wins, not through strength but by perseverance.” -H.
1 Lecture 11 Sorting Parallel Computing Fall 2008.
On-line adaptive parallel prefix computation Jean-Louis Roch, Daouda Traoré and Julien Bernard Presented by Andreas Söderström, ITN.
Selection Sort
1 Matrix Addition, C = A + B Add corresponding elements of each matrix to form elements of result matrix. Given elements of A as a i,j and elements of.
(a) (b) (c) (d). What is (1,2,3)  (3,4,2)? (a) (1, 2, 3, 4) (b) (1,2)  (3,4) (c) (1,3,4,2) (d) (3,1)  (4,2)
1 Sorting Algorithms - Rearranging a list of numbers into increasing (strictly non-decreasing) order. ITCS4145/5145, Parallel Programming B. Wilkinson.
Chapter 6 Parallel Sorting Algorithm Sorting Parallel Sorting Bubble Sort Odd-Even (Transposition) Sort Parallel Odd-Even Transposition Sort Related Functions.
1 Parallel Sorting Algorithms. 2 Potential Speedup O(nlogn) optimal sequential sorting algorithm Best we can expect based upon a sequential sorting algorithm.
Sorting. Quick Sort Example 2, 1, 3, 4, 5 2, 4, 3, 1, 5, 5, 6, 9, 7, 8, 5 S={6, 5, 9, 2, 4, 3, 5, 1, 7, 5, 8} 1, 234, 5 5 5, 6, 7, 8, 9.
Numerical Algorithms Quiz questions ITCS4145/5145, Parallel Programming March 14, 2013.
Selection Sort
Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar
Data Structures and Algorithms in Parallel Computing Lecture 8.
Non-Linear Algebra Problems Sathish Vadhiyar SERC IISc.
Money Quiz!!!!. Write the question number and the answer in your maths book. How much money is shown? 1.
CSCI-455/552 Introduction to High Performance Computing Lecture 21.
Timed Quiz You are about to see 6 questions. You need to work out which answer is the odd one out. You have 30 seconds per question Click to continue.
Database terminology Plus sorting and searching Traffic lights quiz Hold up the coloured card that matches the correct answer you see on the screen.
Quiz Title Your name goes here. Question 1 Click here for answer Click here for answer Go to question 2 Go to question 2.
Start the Quiz Show the answer Check the answer Time’s up! Timer
Sieve of Eratosthenes Quiz questions ITCS4145/5145, Parallel Programming Oct 24, 2013.
Auburn University COMP7330/7336 Advanced Parallel and Distributed Computing Odd-Even Sort Implementation Dr. Xiao Qin.
Auburn University COMP7330/7336 Advanced Parallel and Distributed Computing Parallel Odd-Even Sort Algorithm Dr. Xiao.
OpenMP Quiz B. Wilkinson January 22, 2016.
Make Your Own Quiz.
Parallel Sorting Algorithms
Use mathematical induction to prove that the formula is true for all natural numbers m. {image} Choose the first step of the proof from the following:
5-Minute Check Lesson 1-5A
סדר דין פלילי – חקיקה ומהות ההליך הפלילי
75 Has 7 in the tens place Odd Number Less than 100
Parallel Computing Spring 2010
Stencil Quiz questions
Numerical Algorithms Quiz questions
Quiz Questions Suzaku pattern programming framework
Quiz Questions Parallel Programming Parallel Computing Potential
Parallel Sorting Algorithms
Stencil Quiz questions
L.O. place the learning objective here
Example: If line AB is parallel to line CD and s is parallel to t, find the measure of all the angles when m< 1 = 100°. Justify your answers. t

Parallel Sorting Algorithms
Quiz Questions Seeds pattern programming framework
Questions Parallel Programming Shared memory performance issues
Professor Ioana Banicescu CSE 8843
OpenMP Quiz.
Adding numbers n data items, p processors ts = O(n) tp = O(n/p) if data on each proc => S=ts/tp=O(p) tp = O(n + n/p) if data needs broadcasting.
Database terminology Plus sorting and searching Traffic lights quiz Hold up the coloured card that matches the correct answer you see on the screen.
Sorting Algorithms - Rearranging a list of numbers into increasing (strictly non-decreasing) order. Sorting number is important in applications as it can.
Quiz Questions Seeds pattern programming framework
More Quiz Questions Parallel Programming MPI Non-blocking, synchronous, asynchronous message passing routines ITCS 4/5145 Parallel Programming, UNC-Charlotte,
More Quiz Questions Parallel Programming MPI Collective routines
Quiz Questions Iterative Synchronous Pattern
You must show all steps of your working out.
Question 1.
Quiz Questions Parallel Programming Parallel Computing Potential
Quiz Questions Parallel Programming Parallel Computing Potential
Quiz Questions Parallel Programming Parallel Computing Potential
12 Has 1 in the tens place Even Number Less than 20
Matrix Addition, C = A + B Add corresponding elements of each matrix to form elements of result matrix. Given elements of A as ai,j and elements of B as.
Parallel Sorting Algorithms
Quiz Questions CUDA ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2013, QuizCUDA.ppt Nov 12, 2014.
More Quiz Questions Parallel Programming MPI Collective routines
Quiz Questions Iterative Synchronous Pattern
State what the angles are indicated by a letter, giving reasons for your answer (1) (2) (3) c 115o 75o b 119o a 50o (4) (5) (6) d 125o 70o f e 110o.
Quiz Questions How does one execute code in parallel in Paraguin?
Let’s do some… Example 1:
AP Physics Chapter 18 Answers
Presentation transcript:

Sorting Quiz questions ITCS4145/5145, Parallel Programming March 19, 2013.

What is the sequential time complexity of Odd-Even Transposition Sort with N numbers O(log n) O(n) O(n2) O(n3) None of the other answers

What is the parallel time complexity of Odd-Even Transposition Sort with N numbers and N processors O(log n) O(n) O(n2) O(n3) None of the other answers

What is the parallel time complexity of Odd-Even Transposition Sort with N numbers and P processors where each processor handles N/P numbers in the compare and exchange operation Answer: