1. Declare firstName, lastName, country, city, age, isMarried, year variable and assign value to it
1. Declare firstName, lastName, country, city, age, isMarried, year variable and assign value to it
1. The JavaScript typeof operator uses to check different data types. Check the data type of each variables from question number 1.
1. The JavaScript typeof operator uses to check different data types. Check the data type of each variables from question number 1.
## Exercises: Arithmetic Operators Part
## 2. Exercises: Arithmetic Operators Part
JavaScript arithmetic operators are addition(+), subtraction(-), multiplication(*), division(/), modulus(%), exponential(**), increment(++) and decrement(--).
JavaScript arithmetic operators are addition(+), subtraction(-), multiplication(*), division(/), modulus(%), exponential(**), increment(++) and decrement(--).
```js
```js
@ -1395,14 +1395,14 @@ let operandTwo = 3;
```
```
Using the above operands apply different JavaScript arithmetic operations.
Using the above operands apply different JavaScript arithmetic operations.
## Exercises: Booleans Part
## 3. Exercises: Booleans Part
Boolean value is either true or false.
Boolean value is either true or false.
1. Write three JavaScript statement which provide truthy value.
1. Write three JavaScript statement which provide truthy value.
1. Write three JavaScript statement which provide falsy value.
1. Write three JavaScript statement which provide falsy value.
## Exercises: Comparison Operators
## 4. Exercises: Comparison Operators
Figure out the result of the following comparison expression first without using console.log(). After you decide the result confirm it using console.log()
Figure out the result of the following comparison expression first without using console.log(). After you decide the result confirm it using console.log()
@ -1418,7 +1418,7 @@ Figure out the result of the following comparison expression first without using
1. 4 == '4'
1. 4 == '4'
1. 4 === '4'
1. 4 === '4'
## Exercises: Logical Operators
## 5. Exercises: Logical Operators
Figure out the result of the following expressions first without using console.log(). After you decide the result confirm it by using console.log()
Figure out the result of the following expressions first without using console.log(). After you decide the result confirm it by using console.log()
1. 4 > 3 && 10 <12
1. 4 > 3 && 10 <12
1. 4 > 3 && 10 > 12
1. 4 > 3 && 10 > 12
@ -1430,7 +1430,7 @@ Figure out the result of the following expressions first without using console.l