Algorithms Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Define computational thinking

A

The steps taken to find a solution to a complex problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define decomposition

A

Breaking down a complex problem into smaller problems and solving each one individually

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define abstraction

A

Taking out the important information from a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define algorithmic thinking

A

A logical way of getting from a problem to a solution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define pseudocode

A

Shows the steps of an algorithm without following syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define flowcharts

A

Can be used to show commands in an algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does an oval represent in a flow chart?

A

Start/End

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does a rhombus represent in a flowchart?

A

Input/Output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does a rectangle with lines represent in a flowchart?

A

Subroutine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does a rectangle represent in a flowchart?

A

Process/Calculation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does a diamond represent in a flowchart?

A

Decision

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define search algorithm

A

Computers use this to find items in a list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Define binary search

A

Looks for items in an ordered list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define linear search

A

Checks each item in turn and stops when it finds the item or reaches the end of the list. It can be used on an unordered list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Define a sorting algorithm

A

Computers do this to sort items in a list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define bubble sort

A

Compares pairs of items but takes a long time to sort large lists

17
Q

Define merge sort

A

Splits the list apart then merges it back together. More efficient for large lists

18
Q

Define insertion sort

A

Orders the items as it goes through the list. Works very well with small lists