Computer Science - 1 Fundamentals of Algorithms - 2 Developing Algorithms Using Flowcharts & 3 Developing Algorithms Using Pseudocode

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

1/26

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.

27 Terms

1
New cards

Variable

a location in memory in which you can temporarily store text or numbers

2
New cards

The name of a variable is called:

'identifier' or 'variable identifier'

3
New cards

Assigning a value in Python:

=

4
New cards

Pseudocode

a detailed yet readable description of what a computer program or algorithm should do

5
New cards

Flowchart: round-edged rectangle

start and end

6
New cards

Flowchart: rectangle

calculation or assignment

7
New cards

Flowchart: parallelogram

input or output

8
New cards

Flowchart: rhombus

decision

9
New cards

Three basic programming structures:

- sequence
- selection
- iteration

10
New cards

INTEGER

whole number

11
New cards

REAL or FLOAT

numbers that have a decimal part

12
New cards

BOOLEAN

a single value of either TRUE or FALSE

13
New cards

CHARACTER

a single alphabetic or numeric character

14
New cards

STRING

a sequence of characters

15
New cards

sequence

statements are executed in the order they are written in

16
New cards

selection

the next statement to be executed depends on whether the condition being tested is true or false (e.g. IF)

17
New cards

iteration

repetition of code

18
New cards

iterative statements [3]:

- FOR...ENDFOR
- WHILE...ENDWHILE
- REPEAT...UNTIL

19
New cards

Pseudocode assignment

20
New cards

Pseudocode output

OUTPUT("[text]")

21
New cards

Pseudocode input

[var] ← USERINPUT

22
New cards

Pseudocode for loop

FOR [var] ← [no.] TO [no.]
...
ENDFOR

23
New cards

Pseudocode while loop

WHILE [condition]
...
ENDWHILE

24
New cards

Pseudocode if statement

IF [condition] THEN
...
ELSE IF [condition] THEN
...
ELSE
...
ENDIF

25
New cards

Boolean operator

comparative symbols like < and >

26
New cards

Boolean expression

a comparative statement such as '15 > [var]'

27
New cards

Pseudocode repeat until statement

REPEAT
...
UNTIL [condition]