i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
posted on 30 Oct 2021
I applied via Naukri.com
Explaining data passing, storage, and routing in Asp.Net Mvc.
Data can be passed from controller to view using ViewBag, ViewData, or TempData.
ViewBag is a dynamic property that allows passing data as key-value pairs.
ViewData is a dictionary object that stores data as key-value pairs.
TempData is a dictionary object that stores data for a single request and is cleared after that.
Stored procedure is a precompiled SQL code ...
I applied via campus placement at Biju Patnaik University of Technology (BPUT) and was interviewed before Jun 2019. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Mar 2023. There were 2 interview rounds.
OOPs concepts in Java include inheritance, polymorphism, encapsulation, and abstraction.
Inheritance allows a subclass to inherit properties and methods from a superclass.
Polymorphism allows objects to take on multiple forms and behave differently based on their context.
Encapsulation hides the implementation details of an object and only exposes necessary information.
Abstraction allows for the creation of abstract class...
Interfaces define contracts for behavior, while inheritance allows for code reuse and polymorphism.
Interfaces allow for loose coupling and abstraction, enabling multiple implementations of the same behavior.
Inheritance allows for code reuse and extension of existing classes, reducing code duplication.
Polymorphism allows objects of different classes to be treated as if they were of the same class, simplifying code and i
SQL query for joining tables
Use JOIN keyword to combine two or more tables based on a related column
Specify the columns to be selected using SELECT keyword
Use ON keyword to specify the condition for joining the tables
Different types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL OUTER JOIN
Used Java concepts such as inheritance, polymorphism, and exception handling in my project.
Implemented inheritance to create a base class and derived classes with specific functionalities.
Utilized polymorphism to allow objects of different classes to be treated as if they were of the same class.
Implemented exception handling to handle errors and prevent program crashes.
Used interfaces to define a set of methods that a ...
Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in the superclass.
Overloading is used to provide different ways to call a method with different parameters
Overriding is used to provide a specific implementation of a method in a subclass
Overloading is resolved at compile-time while overriding is r...
I applied via Naukri.com and was interviewed in Oct 2022. There were 3 interview rounds.
Java is a popular programming language used for developing various applications. A variable is a named memory location used to store data.
Java is an object-oriented language
It is platform-independent
Variables in Java have a specific data type
Variables can be assigned values and their values can be changed
Example: int age = 25; String name = "John";
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows code reuse and promotes code organization.
There are different types of inheritance: single inheritance, multiple inheritance, multilevel inheritance, and hierarchical inheritance.
Single inheritance involves a class inheriting from a single base class.
Multiple inheritance involves...
Inheritance is acquiring properties of parent class to child class without changing parent class properties. It is classified into 5 types.
Inheritance is a way to reuse code and establish a relationship between classes
The 'extends' keyword is used to implement inheritance in Java
Examples of inheritance include a 'Car' class inheriting properties from a 'Vehicle' class
Single level inheritance involves one parent class a...
May I about you ? Which your qualification and which stream
I applied via Naukri.com and was interviewed in Sep 2022. There were 3 interview rounds.
Technical assignment in my project and my technical skills
I applied via Approached by Company and was interviewed in Jun 2022. There were 3 interview rounds.
posted on 1 Nov 2022
Test duration = 30 minutes, Topics = numbers, HCF, LCM, Time and distance, Ages, Average and reasoning
Duration = 30 minutes, Topics = array, string, athematic operation, prime number etc.
I applied via Naukri.com and was interviewed in Nov 2021. There was 1 interview round.
To add a new server in Spring Boot, you need to exclude the default Tomcat dependency and add the desired server dependency.
Exclude the Tomcat dependency in the pom.xml file
Add the desired server dependency in the pom.xml file
Configure the server properties in the application.properties or application.yml file
Checking if a string is not null without using string != null.
Use string.IsNullOrEmpty() method
Use string.IsNullOrWhiteSpace() method
Use string.Compare() method to compare with an empty string
Use string.Length property to check if length is greater than 0
Yoda notation is a programming style where the order of a conditional statement is reversed.
Used to avoid null pointer exceptions
Improves readability for complex conditions
Example: if ('red' === color) instead of if (color === 'red')
Convert a List of employees into a Map of Employees with ID as the key.
Create an empty Map
Iterate through the List of employees
For each employee, add a key-value pair to the Map with ID as key and employee object as value
I applied via Job boards and was interviewed in Sep 2021. There were 4 interview rounds.
Use a physical medium like a USB drive or a portable storage device to transfer the file.
Physically carry the file on a USB drive or portable storage device.
Use a local network connection to transfer the file between the two floors.
Utilize Bluetooth or other wireless technologies to transfer the file.
If the distance is short, use a physical method like printing the file and physically handing it over.
JVM stands for Java Virtual Machine. It is an abstract machine that enables a computer to run Java programs.
JVM is responsible for interpreting the compiled Java code and executing it on the computer.
It provides a platform-independent environment for Java programs to run on different operating systems.
JVM has various components like Class Loader, Bytecode Verifier, Just-In-Time Compiler, and Garbage Collector.
Examples ...
JDK memories are areas of memory used by Java programs to store data and code.
JDK memories include heap memory, stack memory, and non-heap memory.
Heap memory is used to store objects and is managed by the garbage collector.
Stack memory is used to store method calls and local variables.
Non-heap memory is used to store class definitions and other data.
Examples of non-heap memory include the method area and the permanent ...
based on 2 reviews
Rating in categories
Associate
72.7k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
Programmer Analyst
55.4k
salaries
| ₹2.4 L/yr - ₹9.7 L/yr |
Senior Associate
48.3k
salaries
| ₹8.9 L/yr - ₹27 L/yr |
Senior Processing Executive
28.6k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24 L/yr |
TCS
Infosys
Wipro
Accenture