OodlesTechnologies
10+ Csat System Interview Questions and Answers
Q2. Is Javascript single thread or multithread?
Javascript is single-threaded.
Javascript runs on a single thread called the event loop.
This means that it can only execute one task at a time.
However, it can delegate tasks to other threads using web workers.
This allows for parallel processing without blocking the main thread.
Q9. What is difference between position relative and absolute
Position relative is relative to its normal position, while position absolute is relative to its nearest positioned ancestor.
Position relative moves an element relative to its normal position.
Position absolute moves an element relative to its nearest positioned ancestor.
Position absolute elements are taken out of the normal flow of the document.
Q10. Javascript typeof() method
The typeof() method in JavaScript returns the data type of a variable or expression.
typeof() returns a string indicating the type of the operand.
It can be used with variables, literals, or expressions.
Common return values include 'number', 'string', 'boolean', 'object', 'function', and 'undefined'.
Q11. What do you understand by z index
z index determines the stacking order of elements on a webpage.
z index is a CSS property that specifies the stack order of an element
Elements with a higher z index value will be displayed on top of elements with a lower value
Default z index value is 0, negative values are allowed
z index only works on positioned elements (position: relative, absolute, fixed)
Q12. Async await in Javascript
Async/await is a syntax for writing asynchronous code in a synchronous way.
Async/await is built on top of Promises.
Async functions always return a Promise.
Await can only be used inside an async function.
Async/await makes code easier to read and write compared to using callbacks or Promises.
Q13. Intercepter vs class
Intercepter and class are both used in JavaScript, but serve different purposes.
Intercepter is used to intercept and modify HTTP requests and responses.
Class is used to create objects with properties and methods.
Intercepter is commonly used in frameworks like Angular and React.
Class is a fundamental concept in object-oriented programming.
Intercepter can be used to add authentication headers to requests.
Class can be used to create multiple instances of an object with different...read more
Interview Process at Csat System
Top Front end Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month