Filter interviews by
The coding syntax for a programming language.
Syntax refers to the rules and structure of a programming language.
It includes elements like keywords, operators, and punctuation.
Syntax errors occur when the code violates the language's rules.
Examples: C++ uses semicolons to end statements, Python uses indentation for blocks.
Entity Framework is a popular ORM tool for connecting to databases in .NET applications.
Install Entity Framework NuGet package
Create a DbContext class that inherits from DbContext
Specify the connection string in the application's configuration file
Use the DbContext to query and manipulate data from the database
Code first approach involves creating the database schema based on the code, while database first approach involves creating the code based on an existing database schema.
Code first approach focuses on defining the entities and their relationships in code, and then generating the database schema from the code.
Database first approach involves designing the database schema first, and then generating the code based on the...
I applied via Naukri.com and was interviewed before Apr 2022. There were 2 interview rounds.
I applied via Naukri.com and was interviewed before Mar 2022. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2021. There were 4 interview rounds.
Marlabs interview questions for designations
Top trending discussions
I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 3 interview rounds.
posted on 8 Jan 2025
Simple array questions
Spring JPA is a part of the Spring framework that provides an abstraction layer on top of JPA, while Hibernate is a standalone ORM framework.
Spring JPA is a part of the Spring framework and provides additional features like transaction management, dependency injection, and aspect-oriented programming.
Hibernate is a standalone ORM framework that provides mapping between Java objects and database tables, along with featu...
Cyclic barrier is a synchronization aid that allows a set of threads to wait for each other to reach a common barrier point.
Cyclic barrier is similar to CountDownLatch but can be reused after the barrier point is reached.
It is initialized with a count of the number of threads that must invoke await() before the barrier is tripped.
Threads wait at the barrier until all threads have invoked await(), then the barrier is re...
I applied via Recruitment Consulltant and was interviewed in Sep 2023. There were 2 interview rounds.
Builder design pattern is a creational design pattern used to construct complex objects step by step.
Builder pattern separates the construction of a complex object from its representation.
It allows the same construction process to create different representations of the object.
Useful when there are multiple ways to construct an object or when the object creation process is complex.
Example: StringBuilder in Java allows ...
JOIN query to retrieve country and employee name
Use JOIN keyword to combine data from multiple tables
Specify the columns to select from each table
Use ON keyword to specify the relationship between the tables
I applied via LinkedIn and was interviewed in Jun 2023. There were 4 interview rounds.
Use lambda function to print greater number
Define a lambda function that takes two parameters
Use the max() function inside the lambda to compare the two numbers
Call the lambda function with two numbers to print the greater one
OOPs concepts refer to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation detail
Fibonacci series code in iterative and recursive methods
Iterative method: Use a loop to calculate Fibonacci numbers
Recursive method: Define a function that calls itself to calculate Fibonacci numbers
Example for iterative method: int fib(int n) { int a = 0, b = 1, c; for(int i = 2; i <= n; i++) { c = a + b; a = b; b = c; } return b; }
Example for recursive method: int fib(int n) { if(n <= 1) return n; return fib(n-1) + f
Use two threads to print numbers 1-10 in correct order
Create two threads, one for printing odd numbers and one for printing even numbers
Use synchronization mechanisms like mutex or semaphore to ensure correct order
Example: Thread 1 prints 1, 3, 5, 7, 9 and Thread 2 prints 2, 4, 6, 8, 10
Unit testing in C++ involves writing test cases for individual units of code to ensure they work as expected.
Use a unit testing framework like Google Test or Catch2 to write and run test cases
Create separate test files for each unit of code being tested
Use assertions to check the expected behavior of the code under test
Mock dependencies or use dependency injection to isolate units for testing
Run tests regularly to catc
based on 4 interviews
2 Interview rounds
based on 41 reviews
Rating in categories
Senior Software Engineer
622
salaries
| ₹5.8 L/yr - ₹25 L/yr |
Software Engineer
589
salaries
| ₹2.8 L/yr - ₹12 L/yr |
Technical Lead
360
salaries
| ₹9.4 L/yr - ₹35 L/yr |
Software Developer
123
salaries
| ₹3 L/yr - ₹11.4 L/yr |
Associate Software Engineer
93
salaries
| ₹3 L/yr - ₹5.4 L/yr |
TCS
Infosys
Wipro
HCLTech