Filter interviews by
I applied via campus placement at Shri Ram Murti Smarak College of Engineering and Technology, Bareilly and was interviewed in May 2021. There were 5 interview rounds.
Styles can be added to HTML elements using JavaScript by manipulating the element's style property.
Access the element using document.getElementById() or document.querySelector()
Use the style property to set CSS styles, e.g. element.style.color = 'red'
Styles can also be set using CSS classes, e.g. element.classList.add('my-class')
Promises are a way to handle asynchronous operations in JavaScript.
Promises represent a value that may not be available yet.
They have three states: pending, fulfilled, or rejected.
Promises can be chained together using .then() and .catch() methods.
They help avoid callback hell and make code more readable.
Example: new Promise((resolve, reject) => {...}).then(result => {...}).catch(error => {...})
Top trending discussions
posted on 3 Dec 2024
30min duration simple questions
Basic array 2 coding questions
I applied via Approached by Company and was interviewed in Oct 2024. There were 2 interview rounds.
posted on 9 Dec 2024
I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.
Handling difficult situations by staying calm, analyzing the problem, and finding a solution.
Remaining calm under pressure
Identifying the root cause of the problem
Collaborating with team members to brainstorm solutions
Prioritizing tasks to address the issue efficiently
I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.
1st round is aptitude and pesudocode
I applied via Referral and was interviewed in Oct 2024. There were 2 interview rounds.
2 coding question for 60 mins. One array based question and one string based question.
Oops 2 pillars are Abstraction and Encapsulation.
Abstraction: Hiding unnecessary details and showing only relevant information. Example: Car dashboard displaying speed without showing internal engine details.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: Class in object-oriented programming encapsulates data and methods.
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Types of inheritance: single inheritance, multiple inheritance, multilevel inheritance, hierarchical inheritance
Single inheritance: a class inherits from only one parent class. Example: class Dog inherits from class Animal
Multiple inheritance: a class inherits from multiple parent classes. Example:...
posted on 5 Oct 2024
Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can override or extend the functionality of the base class
Types of joins in MySQL include inner join, left join, right join, and full join.
Inner join: Returns rows when there is a match in both tables.
Left join: Returns all rows from the left table and the matched rows from the right table.
Right join: Returns all rows from the right table and the matched rows from the left table.
Full join: Returns rows when there is a match in one of the tables.
Use a centralized API gateway to manage and route requests to multiple APIs efficiently.
Implement a centralized API gateway to handle incoming requests and route them to the appropriate API based on the endpoint.
Utilize API management tools like Apigee, Kong, or AWS API Gateway to manage and monitor multiple APIs.
Consider implementing a caching layer to improve performance and reduce the number of requests to external
strstr function searches for a substring within a string and returns a pointer to the first occurrence of the substring.
Used in C programming language
Syntax: char *strstr(const char *haystack, const char *needle)
Example: char *str = strstr("hello world", "world")
posted on 30 Nov 2024
I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.
based on 1 review
Rating in categories
Software Engineer
908
salaries
| ₹3.5 L/yr - ₹11.2 L/yr |
Senior Software Engineer
483
salaries
| ₹7 L/yr - ₹26.5 L/yr |
Technical Lead
207
salaries
| ₹10.7 L/yr - ₹34.4 L/yr |
Assistant Software Engineer
182
salaries
| ₹3 L/yr - ₹5.5 L/yr |
Software Developer
113
salaries
| ₹3.5 L/yr - ₹13.2 L/yr |
TCS
Infosys
Wipro
HCLTech