ITE/CS no.4 Flashcards

1
Q

It is a valid arrangement of variables, constants/literals, and operators

A

EXPRESSION

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

A term used to describe any object that is capable of being manipulated.

A

OPERAND

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

The values assigned to each constant variables

A

LITERAL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • Quantity which does not equal zero
  • May represent TRUE value
A

NON ZERO VALUE

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

Lists all combinations of operand values and the value of the expression for each combination

A

TRUTH TABLE

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

A character that represents an action, as for example x is an arithmetic operator that represents multiplication.

A

OPERATOR

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

give the 3 types of operators

A
  1. UNARY
  2. BINARY
  3. TERNARY
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

operators that need only one operand to perform the task or operation.

A

UNARY

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

operators that operate on two operands.

A

BINARY

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

operators that operates on three operands.

A

TERNARY

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

give the types of binary operator (6):

A
  • Arithmetic
  • Relational
  • Equality
  • Bitwise
  • Logical
  • Assignment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

determine which kind of binary operator:

Additive
- Addition + Sum
- Subtraction - Difference

Multiplicative
- Multiplication * Product
- Division / Quotient
- Modulo % Remainder

A

ARITHMETIC OPERATOR

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

determine which kind of binary operator:

(>,<,>=,<=)
- Greater than >
- Less than <
- Greater than or equal to >=
- Less than or equal to <=

A

RELATIONAL OPERATOR

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

determine which kind of binary operator:

XOR Operator (^)
- A TRUE/1 output results if one, and only one of the operands is TRUE/1 otherwise FALSE/0.

A

BITWISE OPERATOR

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

determine which kind of binary operator:

  • !
  • &&
  • ||
A

LOGICAL OPERATOR

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

It is a kind of binary operator that assigns a value to a variable

A

ASSIGNMENT OPERATOR

17
Q

it analyzes and chooses in which direction a program flows based on certain parameters or conditions

A

CONTROL STRUCTURES

18
Q

It checks certain conditions (Boolean expressions) before executing certain statements.

A

CONDITIONAL STATEMENTS

19
Q

determine which kind of binary operator

(==,!=)
- is equal to ==
- is not equal to !=

A

EQUALITY OPERATOR