Algorithms Flashcards

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

What is Computational Thinking?

A

The steps taken to find a solution to a complex problem

It involves Decomposition, Abstraction, and Algorithmic Thinking.

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

Define Decomposition in the context of problem-solving.

A

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

This approach simplifies complex issues for easier management.

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

What does Abstraction involve?

A

Picking out the important bits of information from the problem and ignoring irrelevant details

This helps focus on what truly matters in solving the problem.

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

What is Algorithmic Thinking?

A

A logical way of getting from a problem to a solution

Following an algorithm allows for reuse of the steps in future problems.

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

What is Pseudocode?

A

A representation of the steps of an algorithm without the need to follow syntax of a programming language

It is easily understood by coders.

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

Fill in the blank: _______ is about the steps taken to find a solution to a complex problem.

A

Computational Thinking

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

True or False: Decomposition involves solving all parts of a problem simultaneously.

A

False

Decomposition focuses on solving smaller parts one at a time.

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

What is a flowchart?

A

A flowchart is a way to show algorithms using different shaped boxes for different commands.

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

What is a search algorithm?

A

A search algorithm is followed by computers to find items in a list, such as searching on a shopping website or for appointments at a doctor’s surgery.

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

What is a Binary Search?

A

A Binary Search looks for items in an ordered list, which can contain letters, numbers, or alphanumeric characters.

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

What is a Linear Search?

A

A Linear Search can be used on an unordered list, checking each item in turn until it finds the item or reaches the end of the list.

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

What is a sorting algorithm?

A

A sorting algorithm is followed by computers to sort items in a list, such as sorting names in Excel or sorting prices on a shopping website.

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

What is the Bubble Sort algorithm?

A

The Bubble Sort algorithm compares pairs of items. It is very simple but can take a long time to sort large lists.

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

What is the Merge Sort algorithm?

A

A Merge Sort splits the list apart then merges it back together. This is much more efficient than the bubble sort for large lists but is slower for smaller lists.

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

What is the Insertion Sort algorithm?

A

An Insertion Sort orders the items as it goes. The Insertion Sort is a simple algorithm and works very well with small lists. It is not very efficient for larger lists.

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