Filter interviews by
I was interviewed before Apr 2021.
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round with questions on CSS and Jquery mainly.
What is CSS box model?
The CSS box model is a container that contains multiple properties including borders, margin, padding, and the content itself. It is used to create the design and layout of web pages. It can be used as a toolkit for customizing the layout of different elements. The web browser renders every element as a rectangular box according to the CSS box model. Box-Model has multiple properties in CSS.
Explanation of the different...
Select all div using Jquery.
$(function()
{
console.log($('div'));
// [], []
$('div').each(function(i, ele) {
console.log(i + ': ' + ele);
// 0:
// 1:
});
});
Change the background color of all items
var x = document.querySelectorAll("li");
for (let i = 0; i < x.length; i++) {
x[i].style.backgroundColor = "red";
}
li
{
color: white;
text-align: center;
border: 1px solid white;
font-weight: 900;
}
Aman
Rohan
Naman
What will be the output of the following code snippet?
var arr=[1,2,3,4,5]
arr.push(6)
arr.unshift(1)
arr.pop()
arr.shift()
[ 1, 2, 3, 4, 5 ]
Explanation :
1. arr.push(6) => [ 1, 2, 3, 4, 5, 6 ]
2. arr.unshift(1) =>[1, 1, 2, 3, 4, 5, 6]
3. arr.pop() => [ 1, 1, 2, 3, 4, 5 ]
4. arr.shift() => [ 1, 2, 3, 4, 5 ]
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round with questions on Java mainly.
Uses of Final Keyword in Java
The final keyword in java is used to restrict the user. The java final keyword can be used in many context. Final can be :
variable
method
class
The final keyword can be applied with the variables, a final variable that have no value it is called blank final variable or uninitialized final variable. It can be initialized in the constructor only. The blank final variable can be static also which will be initialized in the s...
What is Front Controller in Spring MVC?
In Spring Web MVC, the DispatcherServlet class works as the front controller. It is responsible to manage the flow of the Spring MVC application.
Write the annotation for request mapping?
Write the annotation for controller?
Output of the following code snippet :
public static int floating(int x){
return x*floating(x-1);
}
public static void main(String[] args){
floating(10);
}
Will result in Stack Overflow Error.
Round duration - 30 minutes
Round difficulty - Easy
This was a typical HR round.
1. If your teamleader is taking credit for all the hardwork you're doing, what will you do?
2. Why Tredence?
3. Why should we hire you?
Tip 1 : The cross questioning can go intense some time, think before you speak.
Tip 2 : Be open minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.
Tip 3 : Context of questions can be switched, pay attention to the details. It is okay to ask questions in these round, like what are the projects currently the company is investing, which team you are mentoring. How all is the
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I was interviewed in Jun 2017.
An annotation for controller in software engineering.
The annotation for controller is used to define the class as a controller in a software application.
It is typically used in frameworks like Spring MVC or ASP.NET MVC.
The annotation helps in mapping the incoming requests to the appropriate controller methods.
It can also be used to specify the URL path for the controller.
Example: @Controller in Spring MVC, [ApiControll
The annotation for request mapping is used to map HTTP requests to specific methods in a controller class.
The annotation is @RequestMapping
It can be used at the class level to specify a common base URL for all methods in the class
It can also be used at the method level to specify the URL path and HTTP method for a specific method
Additional attributes can be used to further customize the mapping, such as specifying requ...
Front controller is a design pattern used in Spring MVC to handle incoming requests and route them to appropriate handlers.
Front controller acts as a central point of control for handling requests in Spring MVC.
It receives all incoming requests and delegates them to appropriate handlers called controllers.
Front controller provides a consistent way to handle requests and perform common tasks like authentication, logging...
The CSS box model describes the layout and sizing of elements on a web page.
The box model consists of content, padding, border, and margin.
Content refers to the actual content of the element, such as text or images.
Padding is the space between the content and the border.
Border is a line that surrounds the padding and content.
Margin is the space outside the border, separating the element from other elements.
The width an...
Select all div using jQuery
Use the jQuery selector $('div') to select all div elements
This will return a jQuery object containing all the selected div elements
You can then perform operations on the selected div elements using jQuery methods
Use jQuery to change the background color of all ul elements to blue.
Use the jQuery selector to select all ul elements
Use the css() method to change the background color to blue
Use jQuery to change the background color of the first li element to yellow.
Use the :first-child selector to select the first li element
Use the css() method to change the background color to yellow
The output of the given code is [1, 2, 3, 4, 5, 6].
The 'push' method adds an element to the end of the array.
The 'unshift' method adds an element to the beginning of the array.
The 'pop' method removes the last element from the array.
The 'shift' method removes the first element from the array.
The 'final' keyword in Java is used to declare constants, prevent method overriding, and ensure thread safety.
Final variables cannot be reassigned once initialized
Final methods cannot be overridden by subclasses
Final classes cannot be extended by other classes
Final parameters ensure that they cannot be modified within a method
Final fields can be used to achieve thread safety
The question is about method overloading in Java.
Method overloading allows multiple methods with the same name but different parameters.
The method to be called is determined at compile-time based on the arguments passed.
In the given code, there are three overloaded methods with the same name 'getsum'.
The first method takes two integers as arguments.
The second method takes three integers as arguments.
The third method ta...
The program will result in a StackOverflowError due to infinite recursion.
The 'floating' method is recursively calling itself without a base case to stop the recursion.
Each recursive call multiplies the input parameter by the result of the recursive call with a decremented parameter.
This will continue indefinitely until the stack overflows and an error is thrown.
The output of the code is 9.
The code initializes i as 0 and j as 10.
Inside the do-while loop, i is incremented by 1 and j is decremented by 1.
The loop continues until i becomes greater than or equal to j.
Since i is incremented before the comparison and j is decremented before the comparison, the loop runs 9 times.
Therefore, the output is 9.
Interview experience
based on 433 reviews
Rating in categories
7-14 Yrs
₹ 25-53 LPA
Consultant
335
salaries
| ₹8 L/yr - ₹20 L/yr |
Associate Manager
335
salaries
| ₹12.5 L/yr - ₹35 L/yr |
Senior Business Analyst
276
salaries
| ₹6.5 L/yr - ₹17 L/yr |
Data Engineer
190
salaries
| ₹6 L/yr - ₹22 L/yr |
Business Analyst
180
salaries
| ₹6 L/yr - ₹12 L/yr |
Fractal Analytics
Mu Sigma
LatentView Analytics
AbsolutData