WEEK 11 Flashcards

1
Q

___ are symbols that are used to perform operations on operands.

A

JavaScript operators

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

___ used to perform arithmetic operations on the operands.

A

JavaScript Arithmetic Operators

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

Operators in Javascript:

A
  1. Arithmetic Operators
  2. Comparison (Relational) Operators
  3. Bitwise Operators
  4. Logical Operators
  5. Assignment Operators
  6. Special Operators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Arithmetic Operators:

A
  1. Addition
  2. Subtraction
  3. Multiplication
  4. Division
  5. Modulus (Remainder)
  6. Increment
  7. Decrement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The __ compares the two operands.

A

JavaScript comparison operator

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

___ perform bitwise operations on operands.

A

JavaScript Bitwise Operators

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

JavaScript comparison operator

A
  1. == (Is equal to)
  2. === (Identical)
  3. != (Not equal to)
  4. !== (Not identical)
  5. > (Greater than)
  6. < (Less than)
  7. > = (Greater than or equal to)
  8. <= (Less than or equal to)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The bitwise operators are as follows:

A
  1. & (Bitwise AND)
  2. | (Bitwise OR)
  3. ^ (Bitwise XOR)
  4. Bitwise NOT
  5. &laquo_space;(Bitwise Left Shift)
  6. > > (Bitwise Right Shift)
  7. > > > (Bitwise Right Shift with Zero)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The following operators are known as
JavaScript logical operators.

A
  1. && (Logical AND)
  2. || (Logical OR)
  3. ! (Logical NOT)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The following operators are known as
JavaScript assignment operators.

A
  1. = (Assign)
  2. += (Add and assign)
  3. -= (Subtract and assign)
  4. *= (Multiply and assign)
  5. /= (Divide and assign)
  6. %= (Modulus abd assign)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The following operators are known as
JavaScript special operators.

A
  1. (?;)
  2. ,
  3. delete
  4. in
  5. instanceof
  6. new
  7. typeof
  8. void
  9. yield
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Conditional operator returns value based on the condition. It is like if-else

A

(?:)

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

Comma operator allows multiple expressions to be evaluated as single statement

A

,

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

Delete operator deletes a property from the object.

A

delete

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

Checks if the object is an instance of given type.

A

instanceof

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

Creates an instance (object)

A

new

15
Q

Checks the type of object.

A

typeof

16
Q

It discards the expressionʼs return value.

A

void

17
Q

Checks what is returned in a generator by the generatoʼs interator.

A

yield

18
Q

In operator checks if object has the given property

A

in

19
Q

The ___ is used to execute the code whether condition is
true or false.

A

JavaScript if-else statement

20
Q

There are three forms of if statement in JavaScript.

A
  • If Statement
  • If else statement
  • if else if statement
21
Q

It evaluates the content only if expression is true.

A

JavaScript If statement

22
Q

It evaluates the content whether condition is
true of false.

A

JavaScript If…else Statement

23
Q

It evaluates the content only if expression is
true from several expressions.

A

JavaScript If…else if statement