Frameworks 001 Flashcards

1
Q

What is pseudocode?

A

An informal way to write code for other programmers.

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

The Syntax for pseudocode is:

A

BEGIN
END
RECEIVE
SEND
SET
TO
IF
ELSE
REPEAT
UNTIL

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

What does BEGIN and END do?

A

It is as simple as it can be one starts the code one ends it.

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

What does RECIEVE and FROM do?

A

RECIEVE is basically an input and FROM is to specify where the input is coming from.

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

What does SEND do?

A

SEND is basically an output.

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

What does SET and TO do?

A

SET is making a variable and TO is to give the variable a value.

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

What does END IF do?

A

END IF is used to close out of a IF statement.

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

What does REPEAT and UNTIL do?

A

REPEAT is just to set a loop and UNTIL is to set how it will end from a condition.

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

What do arrows do?

A

They show the flow of the chart (Which way things go).

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

What does a terminator do?

A

Terminators (Ovals) are used to show the start and end of a program.

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

What does input and output do?

A

Inputs and Outputs (Parallelograms (You know those squished squares?)) are used for well inputting data and outputting data.

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

What does a decision do?

A

Decisions (Diamonds) are like an if statement.

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

What does a process do?

A

Processes (Rectangles) are used to show actions taken e.g. x = x + 1.

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

What does a sub-program do?

A

Sub-programs (Rectangles but with splits on the side) re used to show a function. It makes a small program not directly attached to the main program.

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