Unit 2:L2 - Algorithms design using pseudocodes and program flowcharts Flashcards

1
Q

What are constants?

A

They are data values which can be introduced at the beginning of the program.

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

What pseudocodes?

A

One of the methods that can be used to represent an algorithm

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

Characterisitics of pseudocodes:

A

Lots of format

Not written in a specific syntax therefore can’t be executed in a computer

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

What are the commands used in pseudocodes?

A

INPUT
OUTPUT
DECLARE
INITIALIZATION

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

What is the structure of a program?

A

INPUT
OUTPUT
DECLARE
INITIALIZATION
PROCESS

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

What is INPUT?

A

Assigned it’s variable called FullName

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

What is OUTPUT?

A

Display the value stored in variable FullName

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

What are the 2 prompts?

A

INPUT PROMPT
OUTPUT PROMPT

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

What is the string often called as?

A

It is often called as OUTPUT PROMPT or INPUT PROMPT.

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

What does the string contain?

A

Helpful texts to identify the result that is produced by the program.

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

What is DECLARE?

A

Any variables to be used in the pseudocodes can be declared using the keyword DECLARE.

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

What is INTIALIZATION?

A

Variables which need to be intialized.

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