i
Publicis
Sapient
Work with us
Filter interviews by
The treasure is in the red pot.
The statement 'only one of the statement is correct' means that one statement is true and the other is false.
If the blue pot has the treasure, then both statements would be true, which contradicts the given information.
Therefore, the statement 'Blue pot has the treasure' must be false, and the treasure must be in the other pot, which is the red pot.
A stack is a data structure that follows the Last In First Out (LIFO) principle.
Push: adds an element to the top of the stack
Pop: removes the top element from the stack
Peek: returns the top element without removing it
IsEmpty: checks if the stack is empty
Size: returns the number of elements in the stack
if else is used for simple conditions while switch case is used for multiple conditions.
if else is a sequential decision-making statement while switch case is a multi-branch decision-making statement
if else is used when there are only a few conditions to be checked while switch case is used when there are multiple conditions to be checked
if else can have multiple conditions in a single statement while switch case ...
Static variables have local scope but retain their value between function calls, while global variables have global scope.
Static variables are declared inside a function and retain their value between function calls
Global variables are declared outside of any function and can be accessed from any part of the program
Static variables have local scope, while global variables have global scope
Static variables are init...
A union is an organization formed by workers to protect their rights and interests in the workplace.
Unions negotiate with employers for better wages, benefits, and working conditions.
They also provide support and representation for workers in disputes with management.
Membership in a union is voluntary, but members pay dues to support the union's activities.
Unions can be industry-specific, such as the United Auto W...
Exceptions handling is a mechanism to handle runtime errors in Java programs.
Exceptions are objects that are thrown at runtime when an error occurs
Java provides try-catch-finally blocks to handle exceptions
Checked exceptions must be handled or declared in the method signature
Unchecked exceptions can be handled or left unhandled
Custom exceptions can be created by extending the Exception class
A class is a blueprint for creating objects that have similar attributes and behaviors.
Classes are used in object-oriented programming.
They define the properties and methods that objects of that class will have.
Objects are instances of a class.
Classes can inherit properties and methods from other classes.
Examples of classes include 'Person', 'Car', and 'Animal'.
An object is a self-contained entity that contains data and behavior.
An object is an instance of a class.
It has attributes (data) and methods (behavior).
Objects can interact with each other through their methods.
Examples include a car object with attributes like color and model, and methods like start and stop.
Another example is a person object with attributes like name and age, and methods like walk and talk.
Pointers are variables that store memory addresses of other variables or functions.
Pointers allow for dynamic memory allocation and manipulation.
They are commonly used in programming languages like C and C++.
Pointers can be used to pass values between functions by reference.
They can also be used to create complex data structures like linked lists and trees.
Example: int *ptr; // declares a pointer to an integer var...
Three steps for using functions in C.
Declare the function with its return type, name, and parameters.
Define the function by writing the code for it.
Call the function by using its name and passing arguments if necessary.
Three steps for using functions in C.
Declare the function with its return type, name, and parameters.
Define the function by writing the code for it.
Call the function by using its name and passing arguments if necessary.
The limit for the number of arguments passed to functions is not fixed. Arrays or structures can be used to pass more parameters.
The limit for the number of arguments passed to functions is not fixed and depends on the programming language and system architecture.
In C programming language, there is no limit on the number of arguments that can be passed to a function.
In Java, the maximum number of arguments that can be ...
if else is used for simple conditions while switch case is used for multiple conditions.
if else is a sequential decision-making statement while switch case is a multi-branch decision-making statement
if else is used when there are only a few conditions to be checked while switch case is used when there are multiple conditions to be checked
if else can have multiple conditions in a single statement while switch case can o...
Member functions are functions that are defined inside a class and can access the class's private and protected members.
Member functions are also known as methods.
They can be used to manipulate the data members of an object.
They can be overloaded, meaning multiple functions with the same name but different parameters can exist within a class.
They can be declared as const, meaning they do not modify the object's state.
E...
Find the output of c=++a+b-- where a=5 and b=4.
The value of a is incremented by 1 before the addition operation
The value of b is decremented by 1 after the addition operation
The final value of c is 10
The value of a becomes 6 and the value of b becomes 3
10 plants can be planted in 5 rows with 4 plants in each row.
Divide the plants into groups of 4.
Arrange the groups in 5 rows.
Each row will have 4 plants.
What people are saying about Publicis Sapient
I applied via Company Website and was interviewed before Jun 2020. There were 3 interview rounds.
Yes, I am comfortable with night shifts and have experience working during those hours.
I have worked night shifts in my previous job and have adapted to the schedule
I am a night owl and prefer working during those hours
I understand the importance of being alert and focused during night shifts
I am willing to adjust my sleep schedule to accommodate night shifts
I applied via Referral and was interviewed before May 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Mar 2021. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Jul 2021. There was 1 interview round.
I applied via Referral and was interviewed in Dec 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Jan 2021. There was 1 interview round.
Some of the top questions asked at the Publicis Sapient Consultant interview -
based on 2 reviews
Rating in categories
Senior Associate
2.3k
salaries
| ₹16.9 L/yr - ₹32 L/yr |
Associate Technology L2
1.6k
salaries
| ₹9.2 L/yr - ₹18 L/yr |
Senior Associate Technology L1
1.4k
salaries
| ₹16.5 L/yr - ₹27.5 L/yr |
Senior Software Engineer
954
salaries
| ₹18.1 L/yr - ₹32 L/yr |
Senior Associate 2
650
salaries
| ₹23.8 L/yr - ₹42 L/yr |
Genpact
DXC Technology
Optum Global Solutions
Virtusa Consulting Services