java Operators Flashcards

1
Q

—— in java are——- that carry out specific tasks using one, two, three inputs, called ———.

A
  1. Operators
  2. Special symbol
    3.operands
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

After performing their tasks, these operators give back a —–. They are important because they allow you to perform various actions on ——– and —— in your program.

A

1.result
2. variables
3.values

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

Why do wee need Java operators?

A
  1. Perform Math Calculations
  2. Make Decisions
    3.Manipulate Data
  3. Simplify Code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Operators help carry out ———, which are crucial for any mathematical tasks in your program.

A
  1. Perform Mathematical calculations
  2. basic Mathematical calculations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

they allow the program to make ——- by comparing — and using ——–. This helps controls what the program is based on certain———

A

1.Make Decisions
2.decisiosns
3.values
4. logical operators
5. conditions

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

Operators can change —– at —— like – and —-, making data processing more ——-.

A
  1. Manipulate Data
  2. data
    3.minimal levels
    4.bits
    5.bytes
    6.efficient
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Some operators, like —– and —— operators, make the code ——- and ——- by reducing———

A

1.Simplify Code
2.assignments
3.unary
4. easier to read
5.understand
6. complexity

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

Types of operators in Java

A
  1. Arithmetic Operators
  2. Relational operators
  3. Logical Operators
  4. Assignment Operators
  5. Conditional Operators
  6. Unary Operators
  7. Ternary Operators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

———— are ——– or ——– that perform action on a ———, which can be a variable, a number, or an expression.

A
  1. Unary Operators
    2.special symbols
    3.keywords
  2. single operand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Unary operators are special symbols or keywords that perform actions on a single operand, which can be a ——, a ———, or an ———. In, unary operators are ———-

A

1.variable
2.number
3.expression
4.essential

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

An —– is simply —- or —— that the operator works with

A

1.operand
2.value
3.expression

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

A has an ASCII

A

65

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

(-) -It is used to denote a negative value

A

Unary Minus

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

(+)- it is used to denote a positive value

A

Unary Plus

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

(–) Decrements value by 1

A

Decrement operator

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

(++) Increments value by 1

A

Increment operator

17
Q

(!)- Reverse the value of boolean variable

A

Logical Compplement operators

18
Q

Give the syntax of Unary plus

A

+(operand)

19
Q

Give the syntax of Unary Minus

A

-(operand)

20
Q

The increment operators is used in two forms

A
  1. Pre-increment operator (Prefix)
    2.Post-increement operator (Postfix)
21
Q

The pre-increment operator is used when the increment symbol is placed —– a variable

A

before

22
Q

The post increment is used when the increment symbol is pplaced ——- a variable

A

after

23
Q

The decrement operator is used in two forms

A

Pre- decrement (prefix)
Post-decrement(postfix)

24
Q

Pre-decrement is used when the decrement symbol is placed —— a variable

A

before

25
Q

Post decrement is used when the decrement symbol is placed- ——-

A

after

26
Q

——— are nothing but mathematical operator, which are used to implement simple or advanced-level calculations —————– except ——-

A

1.Arithmetic operator
2.on all primitive data types
3.boolean

27
Q

Types of arithmetic operators

A
  1. Binary operators
    2.Unary Operators
28
Q

a has an ASCII value of

A

97

29
Q

0 has an ASCII value of

A

48

30
Q

Relational operators in Java are ——–

A

Binary operators

31
Q
A