Filter interviews by
I appeared for an interview 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.
Top trending discussions
I appeared for an interview in Sep 2020.
I appeared for an interview before Oct 2021.
A nested list is a list that contains other lists as its elements.
Nested lists can be created using square brackets and separating the elements with commas.
Elements of a nested list can be accessed using indexing and slicing.
Example: my_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
Accessing element 5: my_list[1][1]
A queue is a data structure that follows the First In First Out (FIFO) principle.
Elements are added to the back of the queue and removed from the front.
Example: A line of people waiting for a movie ticket.
Operations: Enqueue (add element to back), Dequeue (remove element from front), Peek (view front element)
I appeared for an interview in Sep 2017.
I applied via first naukari and was interviewed before Oct 2020. There were 4 interview rounds.
I appeared for an interview in Sep 2019.
I applied via Recruitment Consultant and was interviewed before Jan 2020. There were 5 interview rounds.
I am proficient in Java, Python, and C++. I have 2 years of experience in software development. I have excellent communication skills for client interaction.
Proficient in Java, Python, and C++
2 years of software development experience
Excellent communication skills for client interaction
I applied via Naukri.com and was interviewed before May 2018. There were 5 interview rounds.
I appeared for an interview before Nov 2020.
I applied via Naukri.com and was interviewed before Sep 2020. There were 4 interview rounds.
Some of the top questions asked at the Tredence Software Engineer interview for experienced candidates -
based on 9 reviews
Rating in categories
Consultant
429
salaries
| ₹6.5 L/yr - ₹21 L/yr |
Associate Manager
374
salaries
| ₹11 L/yr - ₹36 L/yr |
Senior Business Analyst
246
salaries
| ₹6.5 L/yr - ₹17 L/yr |
Data Engineer
245
salaries
| ₹6 L/yr - ₹22 L/yr |
Business Analyst
175
salaries
| ₹5.8 L/yr - ₹10 L/yr |
ITC Infotech
CMS IT Services
KocharTech
Xoriant