Lecture Notes on Computer Programs and Algorithms

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/8

flashcard set

Earn XP

Description and Tags

Flashcards about computer programs and algorithms.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

Why are computer programs known as software?

To differentiate them from the physical, or hardware, components of a system.

2
New cards

What is the purpose of a software program?

To perform some task.

3
New cards

What is an application program?

Software that is designed to perform a specific task, such as creating text documents.

4
New cards

What is an algorithm?

A set of step-by-step instructions designed to solve a problem.

5
New cards

Why must an algorithm be in a specific order?

The individual instructions of an algorithm have an implied order; we must start with the first instruction and perform them in the order provided.

6
New cards

What is an important property of an algorithm?

Each instruction should be precise

7
New cards

What is a required property of algorithms?

Each instruction should be clear and unambiguous.

8
New cards

To be useful, what must an algorithm produce?

An algorithm must produce at least one output.

9
New cards

How should an algorithm perform?

An algorithm should always work unless the input is invalid