Problem Solving

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

1/18

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

Three things to consider when deciding whether algorithm is succesful or not

Accuracy - must lead to expected outcome

Consistency - must produce same outcome everytime it’s run

Efficiency - must solve problem in shortest time possible

2
New cards

variable

container used to store data

3
New cards

identifier

unique name given to variable or constant

4
New cards

arithmetic operator

operator that performs calculation on two numbers

5
New cards

operator

character used to represent action (‘x’ for multiplication, ‘/’ for division)

6
New cards

DIV

returns whole number - quotient like division

7
New cards

MOD

returns remainder - modulus

8
New cards

^

to the power of - exponention -

e.g 3^3 = 27

9
New cards

what are the three ways algorithms can be displayed?

written descriptions, flowcharts and pseudocode

10
New cards

selection

construct that allows choice to be made between different alternatives

11
New cards

iteration

construct that makes process repeat until condition is met aka a loop

12
New cards

sequential

follows an order, one after another

13
New cards
14
New cards
15
New cards
16
New cards
17
New cards
18
New cards
19
New cards