2. Problem Solving With Algorithms Flashcards

1
Q

PDLC stands for

A

Program Development Life Cycle

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

Elements in PLDC

A

Analysis (WHAT) - gather user requirements

Design (HOW) - Algorithm Design (using
flowchart, pseudocode, or
other design tools.)

Development (CODE) - Algorithm Design (using
flowchart, pseudocode, or
other design tools.)

Testing (CORRECTNESS) - Check program’s output and debug when needed.
• Repeat Phase 1 if
enhancements are
required

Documentation (RECALL) -Generate written documentations.
• Improve source code
comments

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

How to represent algorithms

A

Pseudocode
Flowchart
Program

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

Pseudocode

A

•Informal, high-level description of an algorithm.
•Not executable by computers.
•Allows precise description of algorithm without
worrying about the a programming language’s
syntax

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

Arrow is

A

Terminal - connects symbols to show the flow of algo

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

Elips is

A

Terminal - Start/End

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

Parallelogram is

A

Input/Output

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

Rectangle is

A

Process - process/action

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

circle is

A

connector

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

diamond is

A

decision - yes/no questions to be ans

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