Add office photos
JTG E-Business Software logo
Employer?
Claim Account for FREE

JTG E-Business Software

3.8
based on 5 Reviews
Filter interviews by
Frontend Developer Intern
Fresher
Clear (1)

JTG E-Business Software Frontend Developer Intern Interview Questions and Answers

Updated 25 Nov 2024

Q1. What is event bubbling

Ans.

Event bubbling is the process where an event triggered on a child element is propagated up to its parent elements.

  • Events triggered on child elements will also trigger the same event on parent elements

  • Event bubbling allows for delegation of event handling to a parent element

  • Can be controlled using event.stopPropagation() method

Add your answer
right arrow

Q2. Reverse an array in JS ?

Ans.

Use the reverse() method to reverse an array in JavaScript.

  • Use the reverse() method on the array to reverse its elements in place.

  • Example: const arr = ['apple', 'banana', 'cherry']; arr.reverse(); // ['cherry', 'banana', 'apple']

Add your answer
right arrow
JTG E-Business Software Frontend Developer Intern Interview Questions and Answers for Freshers
illustration image

Q3. How does JS Work?

Ans.

JS is a scripting language that allows for dynamic content on websites.

  • JS is a client-side scripting language used to create interactive web pages.

  • It can manipulate HTML and CSS to dynamically update content without reloading the page.

  • JS can handle events like button clicks, form submissions, and mouse movements.

  • It can also make asynchronous requests to fetch data from servers using AJAX.

  • JS code is executed by the browser's JavaScript engine, such as V8 in Chrome or SpiderMon...read more

Add your answer
right arrow

Q4. Sort the array using JS

Ans.

Use the sort() method in JavaScript to sort an array of strings.

  • Use the sort() method with a compare function to sort the array alphabetically.

  • For example, array.sort((a, b) => a.localeCompare(b)); will sort the array in ascending order.

  • To sort the array in descending order, you can use array.sort((a, b) => b.localeCompare(a));

Add your answer
right arrow
Discover JTG E-Business Software interview dos and don'ts from real experiences

Q5. Event loop in JS

Ans.

Event loop in JS manages asynchronous operations by executing callback functions in a queue.

  • Event loop is responsible for handling asynchronous operations in JavaScript.

  • It allows non-blocking I/O operations by executing callback functions in a queue.

  • Event loop continuously checks the call stack and the callback queue to prioritize tasks.

Add your answer
right arrow

Q6. Type of JS modules

Ans.

There are two types of JS modules: CommonJS and ES6 modules.

  • CommonJS modules use 'require' and 'module.exports' to import and export modules.

  • ES6 modules use 'import' and 'export' statements to import and export modules.

  • ES6 modules are statically analyzable, while CommonJS modules are dynamically loaded at runtime.

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 JTG E-Business Software Frontend Developer Intern

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

Top Frontend Developer Intern Interview Questions from Similar Companies

View all
Recently Viewed
INTERVIEWS
JTG E-Business Software
No Interviews
CAMPUS PLACEMENT
Vignan Institute of Pharmaceutical Sciences, Nalgonda
INTERVIEWS
Synthite Industries
No Interviews
CAMPUS PLACEMENT
Meenakshi College for Women (Autonomous), Chennai
CAMPUS PLACEMENT
P E Society's Modern College of Pharmacy, Pune
INTERVIEWS
Accenture
No Interviews
INTERVIEWS
JTG E-Business Software
No Interviews
INTERVIEWS
JTG E-Business Software
No Interviews
CAMPUS PLACEMENT
Indian Academy Degree College, Bangalore
INTERVIEWS
Synthite Industries
No Interviews
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