返回卡包市场

Unit 6 - Algorithms

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 12内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (12 张)

#1
正面 (问题)

What is an algorithm?

背面 (解答)

An algorithm is a sequence of steps that can be followed to complete a task.

#2
正面 (问题)

What is abstraction?

背面 (解答)

Removing unnecessary detail from a problem so that you can focus on the essentials.

#3
正面 (问题)

What is decomposition?

背面 (解答)

Involves breaking down a large problem into smaller sub-problems.

#4
正面 (问题)

What is binary search?

背面 (解答)

Involves ‘Divide and Conquer’ The list is halved and halved until what you want is found. It has to be sorted before carrying out the search.

#5
正面 (问题)

What is linear search?

背面 (解答)

Examining the list one by one. You can do this if the list is unsorted. If it is, you can do a binary search. This method is not that efficient.

#6
正面 (问题)

What is bubble sort?

背面 (解答)

Each item is compared to the one next to it on the list. If it is bigger, it swaps places. At the end of one pass, the largest item would be on the list. This is repeated until the items are sorted

#7
正面 (问题)

What are the two algorithms that you need to search a list?

背面 (解答)

Binary and Linear search.

#8
正面 (问题)

What is insertion sort?

背面 (解答)

This algorithm sorts one data at a time. One item is taken from the list and put in the correct position This is repeated until the list is not unsorted.

#9
正面 (问题)

What is merge sort?

背面 (解答)

This is much more efficient than bubble sort. Divide the unsorted list into sub lists, each containing 1 item Repeatedly merge two sub lists at a time to produce new sub lists until there is only one left. This would be the sorted sub-list

#10
正面 (问题)

Put in order the fastest to slowest of sorting algorithms:

背面 (解答)

Merge Sort Insertion Sort Bubble Sort

#11
正面 (问题)

What is a variable?

背面 (解答)

A variable is a location in memory in which you can temporarily store text or numbers.

#12
正面 (问题)

What are the three basic ways of controlling the flow of a program?

背面 (解答)

Sequence Selection Iteration