Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is an algorithm? Provide a definition.
Think about how instructions lead to completing a task.
List two characteristics of a good algorithm.
Consider what makes an algorithm useful.
What is a defining feature of an algorithm?
Consider the characteristics discussed.
True or False: Efficiency of an algorithm refers to how fast it runs.
Think about other resources besides time.
Write an algorithm to sort a list of numbers using bubble sort. Include error checking for valid input.
Use nested loops to compare and swap elements.
Create a Java program that checks if a number is prime and computes the next prime number after it.
Use a loop to iterate through potential next numbers.
3 more questions in this section. Enroll free to practise them all.
Enroll free