f

newton school javascript mock interview question || javascript mock question || javascript interview question || javascript free course

newton school javascript mock interview question || javascript mock question || javascript interview question || javascript free coursea

  

       K.Madhu  

 1. Js overview --- partially answered.

2. what is a variable --- answered. 3. different types of variables keywords and diff b/w them --- 3. console.log in js --- 4. different types of operators in js --- 5. datatypes in js --- 6. write a basic function expression and function declaration --- 7. brief about arrays --- 8. if I want to add one element from the back, which method do I use? --- 9. unshift method in an array --- 10. the pop method in array --- 11. difference between == and === ? --- 12. tell about null and undefined --- 13. ternary operators in js --- 14. switch statement in js --- 15. for loop and while loop in js --- 16. tell about the break and continue keywords --- 17. create a basic object in js ---

Rishikesh puri

1. Js overview --- partially answered.
2. what is a variable --- answered.
3. different types of variables keywords and diff b/w them ---
3. console.log in js ---
4. different types of operators in js ---
5. datatypes in js ---
6. write a basic function expression and function declaration ---
7. brief about arrays ---
8. if I want to add one element from the back, which method do I use? ---
9. unshift method in an array ---
10. the pop method in array ---
11. difference between == and === ? ---
12. tell about null and undefined ---
13. ternary operators in js ---
14. switch statement in js ---
15. for loop and while loop in js ---
16. tell about the break and continue keywords ---
17. create a basic object in js ---

Abhijeet

Data Types var, let, const setTimeout & setInterval Javascript & ES6 — Good understanding of JS & ES6 concepts

Tanish shah

Give examples of - FlexBox Grid Promises Callbacks Closures Async Await Media Queries Prototype Generators

Chandra prakash {hard level }

1. Explain about variables?2. What do you understand by functional and block scope? 3. How hoisting works with var, let and const?4.Diff. between normal function and arrow function? 5. setTimeout vs setInterval?6. Diff. between for of, and for in? 7. Diff. between forEach and map(array methods)?8. Explain about event loop?9. Explain about closures? 10. Write a program to remove duplicates number from an array? Output based : 1. console.log(a); var a =10; Follow up : what will be the output if we change var to let. 2. function x() { var a = 10; function y() { console.log(a); } return y; } x()(); Follow Up: 1. What if we move var a =10 after the function y declaration? 2. What if we change var with let? 3. console.log("start"); setTimeout(() => { console.log("timeout"); }, 0); Promise.resolve(() => console.log("resolved")).then((res) => res()); console.log("end"); 4. function x() { for (var i = 0; i <= 5; i++) { setTimeout(() => { console.log(i); }, i * 1000); } } x();

Rishikesh puri (easy level)

1. Block element vs Inline element 2. What is Iframe? 3. What is meta tag? 4. What is viewport meta tag? 5. What is margin collars? 6. What is box model? 7. Display:none vs Visibility:hidden vs opacity:0? 8. Types of Display in css? 9. Types of position in css? 10. Difference between relative vs absolute? 11. What is zIndex? 12.What is js? 12. What are the Data Types in JS? 13. What is the difference between null and undefined? 14. What is the difference between window and document? 15. What is isNaN 16. What are the differences between undeclared and undefined variables? 17. What are global variables? 18. What are the problems with global variables? 19. What is an event flow? 20. What is event bubbling? 21. What is event capturing? 22. What is the use of stopPropagation method? 23. What is the use of setTimeout? 24. What is an event delegation? 25. What is the use of setInterval? 26. Why is JavaScript treated as Single threaded? 27. What is the difference between == and === operators? 28. What is a higher order function? 29. What is the Temporal Dead Zone? 30. What is Hoisting? 31. What is scope in javascript? 32. What is the main difference between localStorage and sessionStorage? 33. What are event handlers? 34. What is a promise? 35. Why do you need a promise? 36. What are the three states of promise? 37. What is a callback function? 38. Why do we need callbacks? 39.What is a callback hell? 40. Tell me the output of the following- 1. console.log(9-“5”) 2. console.log(“9”-“5”) 3.console.log(“rich”-“puri”) 41. What is closure?Explain with an example. 42. What is event loop? 43. What is lexical environment? 44. Let vs const vs var? "45. Output for (var i = 0; i < 3; i++) { setTimeout(() => console.log(i), 1); } for (let i = 0; i < 3; i++) { setTimeout(() => console.log(i), 1); }" "Which one is true? const bird = { size: 'small', }; const mouse = { name: 'Mickey', small: true, }; * A: mouse.bird.size is not valid * B: mouse[bird.size] is not valid * C: mouse[bird[""size""]] is not valid * D: All of them are valid Ans A"




Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.