i
LG Soft India
Filter interviews by
I applied via Naukri.com and was interviewed in Dec 2023. There were 2 interview rounds.
Basic C++ questions , Threading design patterns
Functors
Std:: function
Std::move and modern c++ features
Moving a threading
Vectors
Smart pointers
Design a smart pointers
Design a vector
A thread-safe implementation of the Singleton pattern ensures that only one instance of a class is created in a multi-threaded environment.
Use double-checked locking to minimize the use of synchronization and improve performance.
Declare the instance variable as volatile to ensure visibility across threads.
Use synchronized block to create the instance if it doesn't exist.
Return the instance variable in the getInstance()
A functor is an object that can be treated as a function or a function pointer. It is used to encapsulate a function or a callable object.
Functors are often used in C++ to implement function objects.
They can be used as arguments to algorithms or as template parameters.
Functors provide a way to customize behavior in generic programming.
They can be used to define custom comparison functions for sorting or searching.
Examp...
OOPS stands for Object-Oriented Programming System. It is a programming paradigm that uses objects to represent and manipulate data.
OOPS is a programming paradigm that focuses on the concept of objects.
It allows for the creation of reusable and modular code.
Objects have properties (attributes) and behaviors (methods).
Encapsulation, inheritance, and polymorphism are key principles of OOPS.
Example: In a banking system, a...
Top trending discussions
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
I applied via Walk-in and was interviewed in Mar 2021. There was 1 interview round.
I applied via Company Website and was interviewed in Dec 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed in Nov 2020. There were 6 interview rounds.
OOPs concepts are the fundamental principles of object-oriented programming.
Encapsulation - binding data and functions that manipulate the data
Inheritance - creating new classes from existing ones
Polymorphism - ability of objects to take on many forms
Abstraction - hiding implementation details and showing only functionality
Storage classes in C define the scope and lifetime of variables.
There are four storage classes in C: auto, register, static, and extern.
Auto variables are local to a block and have automatic storage duration.
Register variables are stored in CPU registers for faster access.
Static variables have a lifetime throughout the program and are initialized only once.
Extern variables are declared outside any function and can be a
I applied via Recruitment Consulltant and was interviewed before Feb 2021. There were 3 interview rounds.
1.It covers all aptitude topics, and English sentences
2.Essay writing
3.Coding
based on 2 interviews
Interview experience
based on 1 review
Rating in categories
Test Engineer
381
salaries
| ₹0 L/yr - ₹0 L/yr |
Research Engineer
377
salaries
| ₹0 L/yr - ₹0 L/yr |
Softwaretest Engineer
297
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Research Engineer
278
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Test Engineer
252
salaries
| ₹0 L/yr - ₹0 L/yr |
Samsung Research
IBM
Microsoft Corporation
Oracle