[go: up one dir, main page]

0% found this document useful (0 votes)
13 views2 pages

Js Question Gas I Gnment

Uploaded by

fakuu210
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Js Question Gas I Gnment

Uploaded by

fakuu210
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. History of Javascript ? What is Javascript ? Why Javascript ?

2. List 10 Javascript / Ecmascript Engines.


3. What is Javascript Engine
4. What is diff bw Javascript and Ecmascript
5. What is diff bw ECMA and Ecmascript
6. Data types in Javascript with example
7. Create 5 objects without using new keyword with one function
8. Create 5 objects using new keyword with one function
9. Difference bw null and undefined
1. Difference bw primitive and reference types
2. Difference bw == and ===
3. Calculate BMI and print results using ternary operator and if else statements
4. Go through JS Comparison tables - https://dorey.github.io/JavaScript-Equality-
Table/
5. Two examples for each primitive type using typeof operator
6. Create 5 arrays without using new keyword with all primitive types and object
and loop using for loop
7. Create 5 arrays using new keyword with all primitive types and object and loop
using for loop
8. Display Day using Date object
Input - new Date('Sept 12 2020')
Output - Saturday, September 12 2020
1. Five examples using for in loop, for of loop - Array and Objects
2. WAP to find prime number or not using four ways of functions
3. WAP for bubble sort using four ways of functions
4. WAP to reverse string using four ways of functions
5. WAP to find second largest number using four ways of functions
6. WAP to print integer Value between Two Numbers (Inclusive)
Input :
Enter a min value: 1
Enter a max value: 50
Output :
Random value between 1 and 50 is 47
7. WAP to find factorial of number using four ways of functions
8. WAP to print fibonacci series using four ways of functions
9. What is callback function ? Write an example
10. What is Hoisting with example
1. What is the use of callback function
2. Explain the Javascript order of execution OR Workflow of Javascript
3. List and explain wierd javascript things
4. What is temporal dead zone. Explain ?
5. What is Mutable and Immutable with an example
6. What happens in below scenarios
const n = [10, 20 ,30 ]
const n1 = n
n.slice(0)
7. Give five examples for array methods
a. forEach
b. push
c. pop
d. shift
e. unshift
f. includes
g. splice
h. slice
i. isArray
8. Difference bw var, let and const
9. Difference bw splice and slice methods
10. Difference bw push and unshift
11. Difference bw pop and shift
1. Explain find(), findIndex(), flat(), sort(), reverse() methods
of Array and five examples for these methods
2. Explain hasOwnProperty(), toString(), Object.keys(),
Object.values(), Object.entries(), Object.create(), Object.assign(),
Object.freeze() methods of Object and five examples for these methods
3. What is Web Apis in javascript and list 10 web apis
4. What is deepCopy and shallowCopy
5. Difference b/w deepCopy and shallowCopy
1. Example for setTimeout(), setInterval(), clearTimeout, clearInterval
2. Example for Array and string methods
3. Example for deepCopy and shallowCopy
4. Explain window, location, history, navigator objects
5. WAP to find geolocation
6. add, remove, update - array operations
7. What is DOM ? Explain
8. What is the use / advantages of DOM ?
9. What is the diff b/w innerHTML and innerText and textContent
1. Difference bw display : none and visibility : hidden
2. Explain Event and EventListener in javascript
3. Explain onchange event with an example
4. Form validation with input box, select and
options, checkbox and radiobutton using javascript
Name - Input box (Validation - only characters are allowed)
Age - input box (Validation - Age should be greater than 0 and less than 150
)
Subjects Studied - CheckBoxes (Validation - required)
Male or Female - RadioButton (Validation - required)
Password - Input Box (Validation - required , should
consist
atleast 1
lowerCase, 1 uppercase,
1 number and 1 special character)
Email - Input Box (Validation - valid
email id )
Agree to terms and condition - CheckBox (Validation - required)
State - Select and options (Validation - required)
5. Example for Object and Array destructuring
6. Example for spread and rest operator for object and array
7. Difference bw JSON.stringify() and JSON.parse()
1. What are promises with an example
2. What is callback hell or pyramid of doom
3. What is recursion with an example
4. What is fetch api, example for GET method
5. What are closures explain with example
6. Difference bw Promise.all() and Promise.race()
7. What is this keyword, explain this keyword with example
8. Explain call(), apply(), bind() methods in javascript with a program
9. What is Constructor function
10. Declare class in javascript with two propertie and two methods
11. Maps and Sets example ->

You might also like