i
ValueLabs
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There were 2 interview rounds.
I applied via Approached by Company and was interviewed in Oct 2024. There were 3 interview rounds.
One coding test happen
Using stream API for Data Structures and Algorithms
Stream API in Java can be used to perform operations on collections like filtering, mapping, reducing, etc.
It can be used for implementing various data structures and algorithms efficiently.
For example, you can use stream API to find the sum of all elements in an array or filter out even numbers from a list.
Using stream API to filter a list of numbers and find the sum of even numbers
Use Stream.filter() to filter out even numbers
Use Stream.mapToInt() to convert stream to IntStream
Use IntStream.sum() to find the sum of even numbers
posted on 11 Nov 2024
Closures are functions that have access to variables from their containing scope even after the scope has closed.
Closures allow functions to access variables from their outer function even after the outer function has finished executing.
They are commonly used in event handlers, callbacks, and asynchronous programming.
Closures help in maintaining state in functional programming.
Virtual DOM is a lightweight copy of the actual DOM used for efficient updates in web development.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing actual DOM manipulations.
When changes are made to the virtual DOM, a comparison is done with the actual DOM to determine the minimal updates needed.
This approach reduces the number of costly DOM operations, resulting in faster rende
Data types in JavaScript include number, string, boolean, object, function, undefined, and null.
Number - represents numeric data, e.g. 10, 3.14
String - represents textual data, e.g. 'hello', '123'
Boolean - represents true or false values, e.g. true, false
Object - represents complex data structures, e.g. { key: 'value' }
Function - represents executable code, e.g. function() { }
Undefined - represents a variable that has ...
React code for a simple counter
Create a functional component for the counter
Use useState hook to manage the count state
Render the count value and buttons to increment and decrement the count
posted on 12 Sep 2024
I applied via Approached by Company and was interviewed in Aug 2024. There were 2 interview rounds.
Side member and cross member are structural components in the Body in White (BIW) of a vehicle, providing support and rigidity.
Side members are longitudinal structural components that run along the sides of the vehicle, providing support and connecting various components.
Cross members are structural components that run across the width of the vehicle, connecting the side members and providing additional rigidity.
These ...
Annotations, PMI stands for Product Manufacturing Information, which includes dimensions, tolerances, materials, and other specifications on a technical drawing.
PMI is used to communicate important information about a product's design and manufacturing requirements.
Annotations are typically added to CAD drawings to provide clarity and guidance to manufacturers.
Examples of PMI include geometric dimensioning and toleranc...
Beads and darts are decided based on design requirements, manufacturing constraints, and structural considerations in BIW members.
Consider design requirements such as stiffness, strength, and crashworthiness.
Take into account manufacturing constraints like tooling limitations and cost.
Evaluate structural considerations such as load distribution and stress concentrations.
Examples: Beads are often used to increase stiffn...
Various methods such as stamping, welding, and bonding are used for making BIW in manufacturing processes.
Stamping: involves pressing a sheet of metal into a die to create the desired shape
Welding: joining metal pieces together using heat or pressure
Bonding: using adhesives to attach metal components
Riveting: joining metal parts using rivets
Hydroforming: shaping metal using fluid pressure
Hydroforming uses fluid pressure to shape metal, while forming involves shaping metal using mechanical force.
Hydroforming uses fluid pressure to shape metal into complex shapes
Forming involves shaping metal using mechanical force such as bending, stretching, or compressing
Hydroforming is often used in automotive industry for creating lightweight and strong components
Forming can be done through processes like stamping,
Yes, GD&T (Geometric Dimensioning and Tolerancing) is used in engineering to communicate design specifications.
GD&T is a symbolic language used on engineering drawings to specify the allowable variations in form, size, and orientation of features.
It helps ensure that parts fit together correctly and function properly.
GD&T can improve quality, reduce costs, and lead to more efficient manufacturing processes.
Examples of ...
Benchmarking and master section are important in design for setting standards and improving performance.
Benchmarking involves comparing design processes, products, or performance against industry standards or competitors.
Master section refers to a standardized section of a design that serves as a reference point for consistency and quality.
Both benchmarking and master section help in setting benchmarks, identifying are...
LMC & MMC are GD&T concepts used to define the extreme sizes of a part. LMC is the smallest size while MMC is the largest size.
LMC (Least Material Condition) is the condition where a part has the least amount of material, ensuring the smallest size possible.
MMC (Max Material Condition) is the condition where a part has the most amount of material, ensuring the largest size possible.
GD&T uses LMC and MMC to establish th...
Use XOR operation to swap two variables without using a temporary variable
Use XOR operation to swap two variables without using a temporary variable
Example: a = 5, b = 10. a = a XOR b, b = a XOR b, a = a XOR b. Now a = 10, b = 5
Matrix multiplication in CUDA involves parallelizing the computation across multiple threads on the GPU.
Use CUDA kernels to launch parallel threads for matrix multiplication.
Divide the matrices into blocks and load them into shared memory for faster access.
Implement the matrix multiplication algorithm in CUDA C/C++.
Ensure proper memory management and synchronization between threads.
Merge two sorted arrays into a single sorted array
Create a new array to store the merged result
Iterate through both arrays simultaneously and compare elements
Add the smaller element to the new array and move to the next element in that array
Continue until all elements from both arrays are merged
Design patterns are reusable solutions to common problems in software design.
Design patterns help in creating flexible, maintainable, and scalable software.
Some common design patterns include Singleton, Factory, Observer, Strategy, and Decorator.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Factory pattern creates objects without specifying the exact class of object...
Delegates are type-safe function pointers in C# used for implementing callbacks. async/await is used for asynchronous programming in C#.
Delegates in C# are similar to function pointers in C or C++. They allow methods to be passed as parameters to other methods.
Async/await in C# is used for asynchronous programming, allowing methods to run asynchronously without blocking the main thread.
Delegates can be used with async/
An interceptor is a design pattern commonly used in software development to capture and manipulate requests and responses.
Interceptors can be used for logging, authentication, authorization, caching, error handling, etc.
In Angular, interceptors can be used to modify HTTP requests before they are sent and responses before they are received.
In Spring framework, interceptors can be used to intercept client requests and se
Authentication is the process of verifying the identity of a user or system.
Authentication involves confirming the identity of a user through credentials such as passwords, biometrics, or security tokens.
Common methods of authentication include single-factor authentication (e.g. password) and multi-factor authentication (e.g. password + SMS code).
Authentication can be achieved through protocols like OAuth, OpenID, SAML...
Basic MCQs on General aptitude, logical reasoning and programming questions
A constructor in C++ is a special member function that is automatically called when an object is created.
Constructors have the same name as the class and do not have a return type.
They can be used to initialize the object's data members.
Default constructors are automatically generated if no constructor is defined.
Parameterized constructors can be defined to accept arguments during object creation.
Copy assignment operator is a special member function in C++ that allows one object to be assigned the values of another object of the same class.
Copy assignment operator is denoted by the = operator.
It is used to copy the values of one object into another object of the same class.
It is automatically generated by the compiler if not explicitly defined.
Example: MyClass obj1; MyClass obj2; obj2 = obj1; // Copy assignment
Virtualization in C++ is the process of creating a virtual version of a class or function to allow for polymorphism and dynamic binding.
Virtualization in C++ is achieved through the use of virtual functions and inheritance.
Virtual functions are declared in a base class and overridden in derived classes to provide different implementations.
Virtualization allows for polymorphism, where a pointer to a base class can point...
Implement a custom String class in a programming language.
Define a class with necessary properties and methods to manipulate strings.
Include methods for concatenation, substring, length, etc.
Handle memory allocation and deallocation properly.
Example: class MyString { // implementation }
Smart pointers are objects that act like pointers but provide automatic memory management.
Smart pointers help prevent memory leaks by automatically deallocating memory when no longer needed.
Examples include unique_ptr, shared_ptr, and weak_ptr in C++.
They provide better memory safety compared to raw pointers.
I applied via Campus Placement
Senior Software Engineer
2.2k
salaries
| ₹4.5 L/yr - ₹25 L/yr |
Software Engineer
934
salaries
| ₹6.3 L/yr - ₹14 L/yr |
Analyst
538
salaries
| ₹8.4 L/yr - ₹32 L/yr |
Technical Lead
413
salaries
| ₹11.6 L/yr - ₹43 L/yr |
System Analyst
387
salaries
| ₹8.5 L/yr - ₹30 L/yr |
TCS
Infosys
Wipro
HCLTech