Problem Solving: Unit 1 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q
  1. What is an algorithm?
A

a precise method for solving a problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. What is a sequence?
A

an ordered set of instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. What are the three points of considering whether an algorithm is successful or not?
A
  • accuracy.
  • consistency.
  • efficiency.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. What is a high-level programming language?
A

a programming language that is similar to natural human language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. What is variable? identifier?
A
  • a ‘container’ used to store data. The data stored in a variable is referred to as a value. The same variable can store different values during a program and each time a program is run.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. What is pseudocode?
    what is a flowchart?
A
  • a structured, code-like language that can be used to describe an algorithm is pseudocode.
  • The flowchart shows an algorithm as a diagram, using different symbols.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Who is a developer?
A
  • developer is a person whose job it is to create new software.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. what is the arithmetic operator?
A
  • an operator that performs a calculation on two numbers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. What is constant?
A
  • a container that holds a value that never changes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

11 .Explain what a flowchart is and how it represents an algorithm.

A

A flowchart is a graphical representation of an algorithm using various shapes and arrows to depict the sequence of steps required to solve a problem. It helps visualize the flow of control and decision-making processes in an algorithm

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

Discuss the importance of analyzing algorithm efficiency.

A

Analyzing algorithm efficiency helps in understanding how resources such as time and memory are utilized by an algorithm.
It assists in choosing the most suitable algorithm for a specific problem,
ensuring optimal performance and resource utilization.

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