Ch 3 Algorithms

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

What is a flowchart?

A diagrammatic representation of an algorithm.

2
New cards

What is an algorithm?

A textual representation of a flowchart.

3
New cards

What is one advantage of using flowcharts?

They are language independent.

4
New cards

Name a disadvantage of using flowcharts for complex programs.

They are not very helpful for complex programs.

5
New cards

What should you keep in mind when writing an algorithm?

Keep the steps precise and clear.

6
New cards

How can you make an algorithm easier to understand?

Avoid using numerous variables which may create problems in understanding.

7
New cards

What is an advantage of using an algorithm in program development?

It provides a stepwise solution to a program.

8
New cards

What is a disadvantage of flowcharts in representing certain program structures?

They are difficult to represent branching and looping.

9
New cards

What is an important tip for writing algorithms regarding language?

Description of the steps must be simple so that one can understand the logic even if being unaware of computer language.