Filter interviews by
OOP concepts in C++ include classes, objects, inheritance, polymorphism, encapsulation, and abstraction.
Classes: Blueprint for creating objects with data and functions.
Objects: Instances of classes that encapsulate data and behavior.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability to process objects differently based on their data types.
Encapsulation: Bundling...
Structure is a data type that allows different data types to be grouped together, while union is a data type that allows different data types to share the same memory location.
Structures allocate memory for each member separately, while unions share memory for all members.
Structures are used when different data types need to be stored together, while unions are used when only one type of data needs to be stored at...
An inline function in C++ is a function that is expanded in place at the point of call, rather than being called like a regular function.
Inline functions are typically small and simple, as they are expanded in place at each call site.
They can improve performance by reducing the overhead of function calls.
Example: inline int square(int x) { return x * x; }
TCP is a connection-oriented protocol that ensures reliable data delivery, while UDP is a connectionless protocol that focuses on speed.
TCP is reliable and ensures data delivery by establishing a connection between sender and receiver.
UDP is faster but less reliable as it does not establish a connection before sending data.
TCP uses sequencing and acknowledgment of data packets for reliable delivery.
UDP is used for...
The grep command is used to search for specific patterns in text files.
Used to search for a specific pattern in a file
Can be used with regular expressions for more complex searches
Can be used in combination with other commands like 'ls' or 'cat'
Example: grep 'search_term' file.txt
A daemon in the context of Linux is a background process that runs continuously to perform specific tasks.
Daemons do not have a controlling terminal.
They typically start at system boot and run until the system is shut down.
Examples include the Apache web server daemon (httpd) and the SSH daemon (sshd).
C is a procedural programming language while C++ is a multi-paradigm programming language with support for object-oriented programming.
C is a procedural programming language, focusing on functions and procedures.
C++ is a multi-paradigm programming language, supporting procedural, object-oriented, and generic programming.
C does not support classes and objects, while C++ does.
C++ has features like inheritance, polym...
I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.
Yield keyword is used in Python to pause and resume a generator function.
Yield keyword is used to return a value from a generator function and pause its execution.
When the generator function is called again, it resumes from where it was paused.
Yield can be used in a loop to generate a sequence of values without storing them all in memory.
Example: def my_generator(): yield 1 yield 2 yield 3
Use variadic arguments in C++ to handle variable number of parameters in a function
Use variadic arguments in C++ to create a function that can accept any number of parameters
Example: void myFunction(int firstParam, ...)
Access the parameters using va_list and va_start macros
Example: va_list args; va_start(args, firstParam); int nextParam = va_arg(args, int);
End the argument list with va_end macro
SQL join query combines data from multiple tables based on a related column, and aggregate functions perform calculations on grouped data.
Use JOIN keyword to combine data from multiple tables based on a related column
Use aggregate functions like SUM, AVG, COUNT, etc. to perform calculations on grouped data
Example: SELECT orders.order_id, SUM(order_details.quantity) FROM orders JOIN order_details ON orders.order_id = or...
I follow the Agile software management framework and am familiar with various Scrum terminologies.
Agile software management framework focuses on iterative development and collaboration.
Scrum is a specific Agile framework that includes roles like Scrum Master and Product Owner.
Some Scrum terminologies include Sprint, Daily Standup, Backlog, and User Stories.
General aptitude, C and C++ questions, OOPS
Reverse a linked list by changing the direction of pointers.
Start with three pointers: current, previous, and next.
Iterate through the linked list, updating pointers to reverse the direction.
Return the new head of the reversed linked list.
To reverse a string, iterate through the characters and swap the characters from start to end.
Iterate through the characters of the string
Swap the characters from start to end until reaching the middle of the string
Return the reversed string
LInq, React Js and Sortings
I appeared for an interview before Mar 2024.
I appeared for an interview before Jun 2024, where I was asked the following questions.
Tuples are immutable, while lists are mutable; append adds an item, extend adds multiple items.
Tuples are immutable, meaning they cannot be changed after creation. Example: t = (1, 2, 3)
Lists are mutable, allowing changes. Example: l = [1, 2, 3]
append() adds a single element to the end of a list. Example: l.append(4) results in [1, 2, 3, 4]
extend() adds multiple elements from an iterable to the end of a list. Example: ...
Top trending discussions
Some of the top questions asked at the L&T Technology Services Senior Software Engineer interview -
The duration of L&T Technology Services Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 15 interview experiences
Difficulty level
Duration
based on 164 reviews
Rating in categories
Senior Engineer
6.2k
salaries
| ₹6 L/yr - ₹13.2 L/yr |
Engineer
4.8k
salaries
| ₹4 L/yr - ₹8 L/yr |
Technical Lead
2.3k
salaries
| ₹13.5 L/yr - ₹23.5 L/yr |
Project Lead
1.6k
salaries
| ₹10.3 L/yr - ₹18 L/yr |
Software Engineer
1.5k
salaries
| ₹4 L/yr - ₹9 L/yr |
LTIMindtree
DXC Technology
Mphasis
EXL Service