Week 4 PRELIMS Flashcards

1
Q

A visual lining tool. They can be used to represent an algorithm.

A

Flowchart

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

The sequence of steps necessary to solve any problem.

A

Algorithm

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

Indicates the starting point or stopping point in the logic. Every flowchart should start and end with this symbol

A

Terminal Symbol (Oval Shaped)

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

Represents an input or output process in an algorithm, such as reading or writing output.

A

Input/Output Symbol (Parallelogram Shaped)

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

Represents any single process in an algorithm, such as assigning a value or performing a calculation.

A

Process Symbol (Rectangle Shaped)

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

Represents a module in an algorithm, that is, a predefined process that has its own flowchart.

A

Predefined Process Symbol (Rectangle Shaped with a line at each end of the shape)

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

Represents a decision in the logic involving the comparison of two variables. Alternative paths are followed depending on whether the decision is true or false.

A

Decision Symbol (Diamond Shaped)

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

Connects various symbols in a flowchart and contain an arrowhead only when the flow of control not fom top to bottom or left to right

A

Flowlines (A line with a Arrow Head at the end of it)

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

What are the 5 Arithmetic Operators

A

(+) (-) (*) (/) (%)

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

This operator adds its operands together.

A

Addition Operator

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

This operator subtracts one operand from the other.

A

Subtraction Operator

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

This operator divides the first operand by the second. Any remainder is dropped in order to return an integer value. If one or both of the operands are floating point values, the division operator performs floating point division.

A

Division Operator

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

This operator (%) is informally known as the remainder operator because it returns the remainder after an integer division.

A

Modulus Operator

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

It is used to increase an integer’s value by one, and it is used commonly in C++ operators.

A

Increment Operator

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

What are the 2 forms of Increment Operator

A

Prefix
Postfix

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

a form of increment operator that increments the value, and then proceeds with the expression

A

Prefix

17
Q

a form of increment operator that valuates the expression and then performs the incrementing.

A

Postfix

18
Q

It works in much the same way as the increment operator, but instead of increasing the value, it decreases it by one.

A

Decrement Operator (–)

19
Q

This operator assigns the right side to the left side.

A

Assignment Operator (=)

20
Q

What are the 4 Operators

A

Arithmetic Operators
Increment Operator (++)
Decrement Operator (–)
Assignment Operator (=)