Premium Employer

Publicis Sapient

3.5
based on 3.1k Reviews
Filter interviews by

Prime Infradevelopers Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. Next Greater Element

You are given an array arr of length N. You have to return a list of integers containing the NGE(next greater element) of each element of the given array. The NGE for an element X is the fir...read more

View 2 more answers
Q2. Count with K different characters

You are given a string ‘STR’ of lowercase alphabets and an integer K. Your task is to count all the possible substrings that are not necessarily distinct but should have exactly...read more

View 4 more answers
Q3. OOPS Question

What is Polymorphism?. Give real life examples of Polymorphism in OOPS

Add your answer

Q4. How to switch on and off the bulb by one button using JavaScript

Ans.

Use JavaScript to switch on and off a bulb with one button.

  • Create a variable to store the state of the bulb (on/off)

  • Add an event listener to the button

  • Toggle the state of the bulb variable on each button click

  • Update the bulb image or class based on the state of the bulb variable

Add your answer
Discover Prime Infradevelopers interview dos and don'ts from real experiences

Q5. How to create table using html, how to color one row, how to merge specific coloum

Ans.

To create a table using HTML, color one row, and merge specific columns, use <table>, <tr>, <td>, and <th> tags with CSS styling.

  • Create a table using <table>, <tr>, <td>, and <th> tags

  • Color one row using CSS by targeting the <tr> element with a specific class or inline style

  • Merge specific columns using the colspan attribute in the <td> or <th> tags

Add your answer

Q6. What is join in sql, how to join two table and what types of join used

Ans.

Join in SQL is used to combine data from two or more tables based on a related column between them.

  • Types of joins: Inner join, Left join, Right join, Full outer join, Cross join

  • Syntax: SELECT * FROM table1 JOIN table2 ON table1.column = table2.column

  • Example: SELECT * FROM customers JOIN orders ON customers.customer_id = orders.customer_id

Add your answer
Q7. SQL Question

Explain JOINS in SQL.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Junior Associate Interview Questions from Similar Companies

3.3
 • 23 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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