An open API service indexing awesome lists of open source software.

https://github.com/ahmadjajja/assignment-04---js-questions--week04


https://github.com/ahmadjajja/assignment-04---js-questions--week04

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# Assignment-04---js-Questions--week04

Dear Students

Mobile Application Development Course - Youtube

Assignment 04 - week04

Requirements:

Try to build logic for the below programs

Console them to terminal e.g Question01 > result

Don’t post the solution code in group, only post the terminal result

```javascript
Question-01

What values do the following expressions evaluate to, console the results?

false || (true && false);

true || (1 + 2);

(1 + 2) || true;

true && (1 + 2);

false && (1 + 2);

(1 + 2) && true;

(32 * 4) >= 129;

false !== !true;

true === 4;

false === (847 === '847');

false === (847 == '847');

(!true || (!(100 / 5) === 20) || ((328 / 4) === 82)) || false;

Question-02

Add a validation check to ensure that, a number is an integer. If it isn't, then issue an error message and console it.

Question-03

Write a js program to find maximum between two numbers.

Question-04

Write a js program to find maximum between three numbers.

Question-05

Write a js program to check whether a number is negative, positive or zero.

Question-06

Write a js program to check whether a number is divisible by 5 and 11 or not.

Question-07

Write a js program to check whether a number is even or odd.

Question-08

Write a js program to check whether character is an alphabet or not
```

Submit: Post your assignment console screenshot in the group (https://www.facebook.com/groups/learnwithnaveedsarwar)

Submit your code here:

https://forms.gle/Cr6jyuLjvixNWo4JA