i
GlobalLogic
Filter interviews by
Use a subquery to find the third highest salary from the employees table in MySQL.
Use a subquery to select distinct salaries from the employees table.
Order the salaries in descending order and use LIMIT to get the third highest salary.
Example: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 2, 1;
Steps to connect to a database involve specifying the database type, providing credentials, and establishing a connection.
Specify the type of database you want to connect to (e.g. MySQL, PostgreSQL, MongoDB).
Provide the necessary credentials such as username and password.
Establish a connection using a programming language or tool like JDBC, ODBC, or ORM frameworks.
Sliding window technique is used to solve problems involving subarrays or substrings by creating a window that can expand and contract based on certain conditions.
Maintain start and end indices to represent current window
Adjust indices based on problem constraints
Minimize number of elements processed for optimized performance
I handle stress by practicing mindfulness, taking breaks, and seeking support from colleagues.
Practice mindfulness techniques such as deep breathing or meditation
Take short breaks throughout the day to recharge
Seek support from colleagues or a mentor to talk through challenges
Exercise regularly to reduce stress levels
Maintain a healthy work-life balance
OOPS concept refers to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class. Example: Animal class can inherit from Mammal class.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: Using private variables in a class.
Polymorphism: Ability to present...
Find the occurrence of char in the String. print the duplicate characters.
An interface is a collection of abstract methods. Java 8 introduced default and static methods in interfaces.
Interface is a blueprint for classes to implement its methods
Java 8 introduced default methods which provide a default implementation for methods in an interface
Static methods can also be defined in interfaces
Example: interface MyInterface { void method1(); default void method2() { //default implementation } sta
Lambda expression for map applies a function to each element of a list and returns a new list.
Syntax: list(map(lambda x: function(x), list_name))
Example: list(map(lambda x: x*2, [1, 2, 3])) returns [2, 4, 6]
Lambda expression can also be replaced with a named function
MAP is an interface while HASHMAP is a class implementing it. Collection is an interface while Collections is a utility class.
MAP is used to store key-value pairs while HASHMAP is a class implementing it.
MAP is an interface while HASHMAP is a class implementing it.
Collection is used to store a group of objects while Collections is a utility class providing various methods to manipulate collections.
Collection is an inte
Dropdowns can be handled using Select class in Selenium.
Locate the dropdown element using any of the locators available in Selenium
Create an object of Select class and pass the dropdown element as argument
Use selectByVisibleText(), selectByValue() or selectByIndex() methods to select an option
Use getOptions() method to get all the options in the dropdown
Use isMultiple() method to check if the dropdown allows multiple s
Alerts can be handled using automation tools and screenshots can be captured using built-in functions or third-party libraries.
Use automation tools like Selenium or Appium to handle alerts in web or mobile applications respectively.
For capturing screenshots, use built-in functions like 'screenshot' in Selenium or third-party libraries like 'Puppeteer' in Node.js.
Save the screenshots with appropriate names and in a desi...
Scrum methodology involves various meetings such as daily stand-up, sprint planning, review, and retrospective.
Daily stand-up meetings are held to discuss progress and plan for the day.
Sprint planning meetings are held at the beginning of each sprint to plan the work to be done.
Sprint review meetings are held at the end of each sprint to review the work done and get feedback.
Retrospective meetings are held at the end o...
Rest assured is a Java library used for API testing. Types of assertion include status code, response body, and header.
Rest assured is a popular Java library used for API testing
It simplifies the process of sending HTTP requests and verifying the response
Types of assertion include status code, response body, and header
Status code assertion checks if the response code is as expected
Response body assertion checks if the ...
GIT commands and project creation in GIT
GIT commands: add, commit, push, pull, clone, branch, merge
To create a project in GIT: initialize a repository, add files, commit changes, create a remote repository, push changes to remote repository
Example: git init, git add ., git commit -m 'initial commit', create a repository on GitHub, git remote add origin
To trigger a job in Jenkins, configure a build trigger and specify the source code repository.
Configure a build trigger such as a schedule or webhook
Specify the source code repository to pull code from
Set up any necessary build steps or scripts
Ensure proper permissions and credentials are set up
Test the job to ensure it runs successfully
Types of wait in Selenium and their syntax.
Implicit Wait: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS)
Explicit Wait: WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("elementId")));
Fluent Wait: Wait wait = new FluentWait(driver).withTimeout(Duration.ofSeconds(10)).pollingEvery(Duration.ofSeconds(2)).ignoring(NoSuchElementException.clas
POM stands for Page Object Model. It is a design pattern used in automation testing to create object repositories for web UI elements.
POM separates the UI elements and the test scripts, making the code more modular and maintainable.
It helps in reducing code duplication and improves code reusability.
POM also makes it easier to update the UI elements in case of any changes in the application.
Implementation of POM involve...
GlobalLogic interview questions for designations
I applied via Naukri.com and was interviewed before Jun 2023. There were 3 interview rounds.
Optimizing train platform allocation to minimize waiting time and congestion
Analyze train schedules and passenger flow to determine optimal platform allocation
Consider factors such as train frequency, arrival and departure times, and passenger volume
Implement strategies like staggered arrival times or dedicated platforms for specific train routes
Use simulation models to test different platform allocation scenarios
Monit...
Designing a high-level system for YouTube
Use a distributed system architecture to handle large amounts of data and traffic
Implement a content delivery network (CDN) to efficiently deliver video content to users worldwide
Utilize a recommendation algorithm to suggest personalized content to users based on their viewing history
Incorporate a robust user authentication and authorization system to protect user data and preve
Get interview-ready with Top GlobalLogic Interview Questions
I was interviewed before Sep 2022.
I applied via Naukri.com and was interviewed before Dec 2022. There were 4 interview rounds.
2 Problem solving questions mostly related to array
The Circuit Breaker Design Pattern is used to handle faults and failures in distributed systems.
It is used to prevent cascading failures in a system.
It acts as a safety net by monitoring the availability of a service or resource.
When the service or resource fails, the circuit breaker trips and subsequent requests are short-circuited.
It provides a fallback mechanism to handle failures gracefully.
Once the service or reso...
Manager Round case related
I applied via Naukri.com and was interviewed before Jul 2022. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2021. There were 3 interview rounds.
I applied via Approached by Company and was interviewed before Apr 2022. There were 2 interview rounds.
Top trending discussions
The duration of GlobalLogic Associate Consultant interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 16 interviews
4 Interview rounds
based on 296 reviews
Rating in categories
Associate Analyst
3.9k
salaries
| ₹1 L/yr - ₹7.2 L/yr |
Senior Software Engineer
3.3k
salaries
| ₹5.3 L/yr - ₹22 L/yr |
Analyst
3.1k
salaries
| ₹1 L/yr - ₹5.5 L/yr |
Software Engineer
3k
salaries
| ₹3 L/yr - ₹13 L/yr |
Associate Consultant
2.8k
salaries
| ₹9.2 L/yr - ₹33.9 L/yr |
TCS
Wipro
Infosys
HCLTech