Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
Quizzes
/
A bubble sort shortens each pass by one comparison, as in the lesson. What is the greatest number of comparisons it can make in all, for 6 items?
Computer Science
Hard
High School (9–10)
Algorithms, Programming and Logic › Algorithms and Problem-Solving
IGCSE
Created by
StemPy Lab
A bubble sort shortens each pass by one comparison, as in the lesson. What is the greatest number of comparisons it can make in all, for
6
6
6
items?
36
36
36
30
30
30
15
15
15
5
5
5
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← An algorithm finds the lowest of a set of test marks, each from 0 to 100. Which starting value of Lowest always gives the right answer?
A REPEAT loop asks for the number of a month until it is acceptable. Which condition, after UNTIL, accepts exactly the whole numbers 1 to 12? →
More on
Algorithms, Programming and Logic › Algorithms and Problem-Solving
Discussion (0)
Log in
to join the discussion.
Loading…
All questions on this topic →
Problems on this topic
This is the kind of long scenario question that ends Paper 2…
Hard
A delivery company adds a check digit to each parcel number…
Medium
Name the check in each case. Say whether it is validation or verification…
Easy
A bubble sort is changed so that it sorts in descending order: the comparison becomes IF…
Hard
All problems on this topic →