Important Questions
Important Questions
CSS
1.what are the types of css? Which css has high priority?
2. what is the difference between position relative and position absolute?
3. what is flex container and flex child property?
4. what is css box model?
5. Difference between Inline, Block and Inline Block?
6. What is Margin, Padding, Border and Border Radius?
7. what is relative and absolute units?
8. what is media query in CSS?
9. what is transition and animation in css?
JS
1. What is JavaScript? What is JRE and JS Engine?
2. What is Hoisting and Temporal Dead Zone?
3. What is closure and Lexical Scoping(Scope Chaining)?
4. What is arrow function? Diff between implicit and explicit return?
5. What is Functional Programming? Diff b/w HOF and CBF?
6. What is the difference between function declaration and function as
expression?
7. What is an Array in JS? Explain map, reduce and filter?
8. What is Object in JS? Explain Shallow copy and Deep Copy?
9. What are constructor Function and what is the use of this keyword?
10.What is call, apply and bind in js?
11.What is Destructuring? Explain array and object destructuring?
12.What is rest and spread operator?
13.What is JSON?
14.What is DOM?
15.What are event listeners? What are form events?
16.What is debouncing?
17.What is bubbling and capturing?
18.What is Asynchronous JavaScript?
19.What is a module? Types of Modules?
20.What is Set time out and Clear time out?
21.What is set interval and Clear Interval?
22.What is call back hell in js?
23.What is promise in js?
24.What is fetch and how to use with async await?
25.What is exceptional handling and use of throw keyword?
React:
1. What is React? History of React
2. Difference between library and framework?
3. What is Real Dom and Virtual Dom?
4. What is HMR?
5. What is Reconciliation and Diffing algorithm?
6. What is JSX? Explain its rules?
7. What is components? Explain its types?
8. Difference between class based component and
Functional based component?
9. What is state and what is props?
10. Difference between state and props?
11. How do you handle events in react?
12. What is controlled and uncontrolled component?
13. What is Props drilling?
14. What is Hooks in React?
15. What is React life cycle methods? Explain all
16. What is the use of useState hook?
17. What is the use of useEffect hook?
18. What is useRef hook why it is different from others?
19. What is ContextAPI?
20. What is custom hooks?
21. What is parent liftup state?
22. What is conditional rendering?shockcircuit ?
23. What is React router ?
24. What is Redux and Redux Toolkit?
*****
*****
*****
*****
*****
2. Write a program to print right triangle star pattern?
*
**
***
****
*****
3. Write a program to print left triangle star pattern?
*
**
***
****
*****
4. Write a program to print star pyramid pattern?
*
***
*****
*******
*********
5. Write a program to print reverse star pyramid pattern?
*********
*******
*****
***
*
6. Write a program to print diamond star pyramid pattern?
*
***
*****
*******
*********
*******
*****
***
*
7. Write a program to print pascal traingle?
1
1 2 1
1 2 1 2 1
1 2 2 1 2 2 1
0
11
235
8 13 21 34
55 89 144 233 377
9. Write a program to print triangle?
1
23
456
7 8 9 10
11 12 13 14 15
10. write a program to print triangle?
1
1 2
1 23
1 234
1 2345