M2S1 Part 1 Flashcards

1
Q

STEP-BY-STEP METHOD OF

SOLVING A PROBLEM

A

ALGORITHM

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

procedure or formula
for solving a problem, based on
conducting a sequence of specified
actions

A

ALGORITHM

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

Algorithm can be expressed using :

A

pseudocode or flowchart.

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

will transform the problem’s input into

its output.

A

ALGORITHM

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

will describe an action that

the computer needs to take

A

Each instruction in the algorithm

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

Write the algorithm in the Processing column of the what

A

InputProcess-Output (IPO) chart.

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

Algorithm process:

A
  1. enter the input items
    2.1. process the input items
    2.2. calculations using the input items.
  2. display, print, or store
    the output items.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

refer to the computer screen, printer,

and a file on a disk, respectively

A

Display, print, and store

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

FALSE CODE

A

PSEUDOCODE

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

has no syntax like
any of the programming language and thus can’t be compiled
or interpreted by the computer

A

PSEUDOCODE

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

an implementation of an algorithm in the form of

annotations and informative text written in plain English.

A

PSEUDOCODE

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

not standardized.

A

PSEUDOCODE

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

used to indicate common inputoutput and processing operations. They are written fully in
uppercase.

A

keywords

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

When writing pseudocode, we assume that the order of execution
of the statements is from ______

A

top to bottom

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

This is the start of your pseudocode

A

START

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

This is data retrieved from the

user through typing or through an input device

A

INPUT, ENTER, READ / GET :

17
Q

This will show your output to

a screen or the relevant output device

A

PRINT, OUTPUT, DISPLAY, SHOW:

18
Q

This is used to calculate

the result of an expression.

A

COMPUTE, CALCULATE, DETERMINE:

19
Q

To initialize values

A

SET, INIT:

20
Q

To increase the value of a variable

A

INCREMENT, BUMP:

21
Q

To reduce the value of a variable

A

DECREMENT:

22
Q

common operators:

A

assignment, comparison, arithmetic, and logical

23
Q

← or :=

A

Assignment

24
Q

=, ≠, , ≤, ≥

A

Comparison (Relational):

25
+, −, ×, /, mod
Arithmetic
26
and, or
Logical
27
During algorithm development, we need statements which evaluate expressions and execute instructions depending on whether the expression evaluated to True or False.
conditional
28
to repeat a set of instructions in order to generate a | sequence of outcomes.
ITERATION/LOOPING: