Add office photos
OodlesTechnologies logo
Engaged Employer

OodlesTechnologies

Verified
3.2
based on 293 Reviews
Filter interviews by
Front end Developer
Skills
Clear (1)

10+ OodlesTechnologies Front end Developer Interview Questions and Answers

Updated 5 Feb 2024
Q1. What is the return type of the getElementsByClassName method in JavaScript?
Ans.

The return type of getElementsByClassName method in JavaScript is an array of elements.

  • The method returns an array of elements that have a specified class name.

  • The elements are returned in the order they appear in the document.

  • If no elements are found with the specified class name, an empty array is returned.

View 3 more answers
right arrow

Q2. Is Javascript single thread or multithread?

Ans.

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.

View 2 more answers
right arrow
Q3. What are the data types in JavaScript?
Ans.

JavaScript data types include string, number, boolean, object, function, undefined, and null.

  • String: 'hello'

  • Number: 42

  • Boolean: true or false

  • Object: { key: 'value' }

  • Function: function() { }

  • Undefined: undefined

  • Null: null

View 2 more answers
right arrow
Q4. Can you explain the Async/Await function in JavaScript?
Ans.

Async/Await is a feature in JavaScript that allows for easier handling of asynchronous code.

  • Async/Await is built on top of Promises and provides a more readable and concise way to work with asynchronous code.

  • The 'async' keyword is used to define a function as asynchronous, allowing the use of 'await' inside it to pause execution until a Promise is settled.

  • Using Async/Await can help avoid callback hell and make code more maintainable and easier to understand.

  • Example: async fun...read more

View 1 answer
right arrow
Discover OodlesTechnologies interview dos and don'ts from real experiences
Q5. What is the typeof() operator in JavaScript?
Ans.

typeof() operator in JavaScript is used to determine the data type of a variable or expression.

  • typeof() returns a string indicating the type of the operand.

  • Example: typeof 42 will return 'number'.

  • Example: typeof 'hello' will return 'string'.

View 1 answer
right arrow
Q6. How does one share data between components in Angular?
Ans.

Data can be shared between components in Angular using services, input/output properties, and observables.

  • Use services to create a shared data service that can be injected into multiple components

  • Use input/output properties to pass data from parent to child components

  • Use observables to create a data stream that can be subscribed to by multiple components

View 1 answer
right arrow
Are these interview questions helpful?
Q7. What are the different types of data binding in Angular?
Ans.

Types of data binding in Angular include interpolation, property binding, event binding, two-way binding.

  • Interpolation: {{ data }}

  • Property binding: [property]="data"

  • Event binding: (event)="function()"

  • Two-way binding: [(ngModel)]="data"

Add your answer
right arrow
Q8. Is JavaScript single-threaded or multi-threaded?
Ans.

JavaScript is single-threaded.

  • JavaScript is single-threaded, meaning it can only execute one piece of code at a time.

  • This is because JavaScript runs in the browser's main thread, which is responsible for handling user interactions, rendering, and running JavaScript code.

  • Asynchronous operations in JavaScript, such as AJAX requests and setTimeout, allow for non-blocking code execution without the need for multi-threading.

  • Web Workers can be used to run JavaScript code in the bac...read more

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. What is difference between position relative and absolute

Ans.

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.

Add your answer
right arrow

Q10. Javascript typeof() method

Ans.

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'.

View 3 more answers
right arrow

Q11. What do you understand by z index

Ans.

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)

Add your answer
right arrow

Q12. Async await in Javascript

Ans.

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.

Add your answer
right arrow

Q13. Intercepter vs class

Ans.

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

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at OodlesTechnologies Front end Developer

based on 4 interviews
Interview experience
3.5
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Front end Developer Interview Questions from Similar Companies

Infosys Logo
3.6
 • 12 Interview Questions
HCLTech Logo
3.5
 • 11 Interview Questions
Zepto Logo
3.5
 • 10 Interview Questions
View all
Recently Viewed
INTERVIEWS
HCLTech
10 top interview questions
INTERVIEWS
Bharti Airtel
No Interviews
INTERVIEWS
Bharti Airtel
No Interviews
INTERVIEWS
Reliance Communications
No Interviews
INTERVIEWS
HCLTech
No Interviews
INTERVIEWS
ZeMoSo Technologies
No Interviews
INTERVIEWS
Societe Generale Global Solution Centre
No Interviews
INTERVIEWS
AmbitionBox
10 top interview questions
INTERVIEWS
Wipro
100 top interview questions
INTERVIEWS
Capgemini
10 top interview questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter