Filter interviews by
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.
I applied via Campus Placement
1 good coding question and 33 mcqs
Create a database to store information about colleges, students, and professors.
Create tables for colleges, students, and professors
Include columns for relevant information such as name, ID, courses, etc.
Establish relationships between the tables using foreign keys
Use SQL queries to insert, update, and retrieve data
Consider normalization to avoid data redundancy
Lambda functions are anonymous functions in Python that can have any number of arguments but only one expression.
Lambda functions are defined using the lambda keyword.
They are commonly used with functions like map(), filter(), and reduce().
Example: double = lambda x: x * 2
Precision, recall, and F1 score are metrics used to evaluate the performance of classification models.
Precision is the ratio of correctly predicted positive observations to the total predicted positive observations.
Recall is the ratio of correctly predicted positive observations to the all observations in actual class.
F1 score is the harmonic mean of precision and recall, providing a balance between the two metrics.
Pre...
Elbow curve helps in determining the optimal number of clusters in a dataset.
Elbow curve is a plot of the number of clusters against the within-cluster sum of squares (WCSS).
The point where the rate of decrease of WCSS sharply changes is considered as the optimal number of clusters.
It helps in finding the balance between having too few or too many clusters.
For example, if the elbow point is at 3 clusters, it suggests t
Support, confidence, and lift are key metrics in market basket analysis to identify relationships between items in a transaction.
Support measures how frequently an itemset appears in the dataset.
Confidence measures the likelihood that an item B is purchased when item A is purchased.
Lift measures how much more likely item B is purchased when item A is purchased compared to when item B is purchased independently of item ...
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
Data bricks is a unified analytics platform that provides a collaborative environment for data scientists, engineers, and analysts.
Data bricks simplifies the process of building data pipelines and training machine learning models.
It allows for easy integration with various data sources and tools, such as Apache Spark and Delta Lake.
Data bricks provides a scalable and secure platform for processing big data and running ...
Optimizing code involves identifying bottlenecks, improving algorithms, using efficient data structures, and minimizing resource usage.
Identify and eliminate bottlenecks in the code by profiling and analyzing performance.
Improve algorithms by using more efficient techniques and data structures.
Use appropriate data structures like hash maps, sets, and arrays to optimize memory usage and access times.
Minimize resource us...
SQL window function is used to perform calculations across a set of table rows related to the current row.
Window functions operate on a set of rows related to the current row
They can be used to calculate running totals, moving averages, rank, etc.
Examples include ROW_NUMBER(), RANK(), SUM() OVER(), etc.
Tredence interview questions for popular designations
I applied via Approached by Company and was interviewed in Sep 2024. There were 3 interview rounds.
You will be getting questions on the tech stack you have experience with, in depth questions on Node js and React js, real time challenges faced, two coding questions (1 easy and 1 medium)
F2f round for about 1.5 hrs, you be given a task to create a functionality using frontend tech stack you have chosen, more coding questions medium level, framework related ij depth questions
Get interview-ready with Top Tredence Interview Questions
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
Handle missing values by imputation, deletion, or using algorithms that can handle missing data.
Impute missing values using mean, median, mode, or predictive modeling
Delete rows or columns with missing values if they are insignificant
Use algorithms like XGBoost, Random Forest, or LightGBM that can handle missing data
Precision measures the accuracy of positive predictions, while recall measures the ability to find all positive instances.
Precision is the ratio of correctly predicted positive observations to the total predicted positives.
Recall is the ratio of correctly predicted positive observations to all actual positives.
Precision is important when the cost of false positives is high, while recall is important when the cost of fa...
Joins are used to combine rows from two or more tables based on a related column between them.
Types of joins include inner join, left join, right join, and full outer join
Inner join returns rows when there is at least one 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
Ful...
The first round was mix of apti and coding
Deadlocks occur when two or more processes are unable to proceed because each is waiting for the other to release a resource.
Deadlocks happen in multitasking environments where processes compete for resources.
Four conditions must hold for a deadlock to occur: mutual exclusion, hold and wait, no preemption, and circular wait.
Example: Process A holds Resource 1 and waits for Resource 2, while Process B holds Resource 2 a...
I applied via Referral
1 hour - SQL, Python, ML, Deep Learning
I applied via Naukri.com and was interviewed in May 2024. There were 3 interview rounds.
Precision and recall are metrics used in classification tasks to evaluate the performance of a model.
Precision is the ratio of correctly predicted positive observations to the total predicted positive observations.
Recall is the ratio of correctly predicted positive observations to the all observations in actual class.
Precision is about how many of the actual positive cases were correctly predicted as positive.
Recall is...
PEFT stands for Physical Education, Fine Arts, Technology. QLORA is a software platform for managing and analyzing data.
PEFT is an acronym for Physical Education, Fine Arts, Technology, representing different areas of study or activities in education.
QLORA is a software platform used for managing and analyzing data, often used in research or business settings.
PEFT can be implemented in schools to ensure a well-rounded ...
Random forest is an ensemble learning method that builds multiple decision trees and merges their predictions to improve accuracy.
Random forest creates multiple decision trees during training.
Each tree is built using a random subset of features and data points.
The final prediction is made by averaging the predictions of all trees (regression) or taking a majority vote (classification).
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
Customer_id with maximum consecutive purchases
Identify consecutive purchases for each customer
Track the maximum consecutive purchases and corresponding customer_id
Consider edge cases like ties or no consecutive purchases
Identify product_id with more than 10 returns in a month and 3 returns in a year.
Filter the dataset by returns in a month and returns in a year
Group the data by product_id and count the number of returns
Identify product_id with counts exceeding the thresholds
Top trending discussions
Some of the top questions asked at the Tredence interview -
The duration of Tredence interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 95 interviews
Interview experience
based on 471 reviews
Rating in categories
Consultant
385
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Manager
358
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Business Analyst
263
salaries
| ₹0 L/yr - ₹0 L/yr |
Data Engineer
207
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Analyst
173
salaries
| ₹0 L/yr - ₹0 L/yr |
Fractal Analytics
Mu Sigma
LatentView Analytics
AbsolutData