
GlobalLogic


20+ GlobalLogic Associate Consultant Interview Questions and Answers
Q1. How to trigger the Job in Jenkins and How to configure
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
Q2. what is Interface and Java 8 feature in Inter face?
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 } static void method3() { //static implementation }}
Q3. What is POM and implementation in project?
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 involves creating a separate class for each web page, defining th...read more
Q4. API testing using rest assured and types of assertion.
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 response body contains expected values
Header assertion che...read more
Q5. GIT commands and how to create project in git?
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
, git push -u origin master
Q6. Oops Analytical program any from array or string Garbage collection Use of Static and private class and members
Answering questions on analytical programs, garbage collection, and use of static and private class and members.
Analytical programs can manipulate arrays and strings to extract useful information.
Garbage collection is an automatic process of freeing up memory used by objects that are no longer needed.
Static and private class and members are used to control access to certain variables and methods within a class.
Static members are shared across all instances of a class, while p...read more
Q7. How to handle alerts and capture the screenshots?
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 designated folder for easy access and reference.
Include the ca...read more
Q8. How to handle dropdown using selenium?
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 selections
Q9. MAP vs HASHMAP and difference between the Collection vs Collections.
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 interface while Collections is a utility class.
Q10. Display the character and it's frequency in a string.
Display the character and it's frequency in a string.
Iterate through the string and count the frequency of each character using a dictionary or hashmap.
Print the character and its frequency for each unique character in the string.
Handle edge cases such as empty string or non-alphabetic characters.
Q11. Number of Matches among teams given team names using sql?
Using SQL, count the number of matches among teams given team names.
Create a table for teams and another for matches
Use JOIN to match teams in the matches table
Use COUNT to get the number of matches for each team
Q12. What are the steps to connect to a database?
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.
Q13. System design - high level on designing youtube
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 prevent unauthorized access
Q14. Scrum methodology and types of meetings.
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 of each sprint to reflect on the process and identify areas...read more
Q15. Second highest salary using sql ?
To find the second highest salary using SQL, we can use the ORDER BY and LIMIT clauses.
Sort the salaries in descending order using ORDER BY clause
Use LIMIT clause to select the second highest salary
Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1,1
Q16. Types of wait in selenium and syntax.
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.class);
Q17. Lambda expression for map?
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
Q18. Mysql query for 3rd highest salary
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;
Q19. Train platform problem statement
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
Monitor and adjust platform assignments in real-time based on a...read more
Q20. OOPS concept with practical examples
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 the same interface for different data types. Example: Ove...read more
Q21. Circuit Breaker Design Pattern
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 resource is back online, the circuit breaker allows requests t...read more
Q22. Technology worked on
I have worked on various technologies including Java, Python, SQL, and AWS.
Proficient in Java programming language and its related frameworks such as Spring and Hibernate
Experience in developing Python scripts for automation and data analysis
Strong understanding of SQL and relational databases
Familiarity with AWS services such as EC2, S3, and Lambda
Knowledge of web development technologies such as HTML, CSS, and JavaScript
Q23. Sliding window problem
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
Top HR Questions asked in GlobalLogic Associate Consultant
Interview Process at GlobalLogic Associate Consultant

Top Associate Consultant Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

