Add office photos
GlobalLogic logo
Engaged Employer

GlobalLogic

Verified
3.6
based on 4.5k Reviews
Video summary
Filter interviews by
Associate Consultant
Experienced
Clear (1)

20+ GlobalLogic Associate Consultant Interview Questions and Answers

Updated 13 Dec 2024

Q1. How to trigger the Job in Jenkins and How to configure

Ans.

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

Add your answer
right arrow

Q2. what is Interface and Java 8 feature in Inter face?

Ans.

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 }}

Add your answer
right arrow

Q3. What is POM and implementation in project?

Ans.

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

Add your answer
right arrow

Q4. API testing using rest assured and types of assertion.

Ans.

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

Add your answer
right arrow
Discover GlobalLogic interview dos and don'ts from real experiences

Q5. GIT commands and how to create project in git?

Ans.

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

Add your answer
right arrow

Q6. Oops Analytical program any from array or string Garbage collection Use of Static and private class and members

Ans.

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

Add your answer
right arrow
Are these interview questions helpful?

Q7. How to handle alerts and capture the screenshots?

Ans.

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

Add your answer
right arrow

Q8. How to handle dropdown using selenium?

Ans.

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

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. MAP vs HASHMAP and difference between the Collection vs Collections.

Ans.

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.

Add your answer
right arrow

Q10. Display the character and it's frequency in a string.

Ans.

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.

Add your answer
right arrow

Q11. Number of Matches among teams given team names using sql?

Ans.

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

Add your answer
right arrow

Q12. What are the steps to connect to a database?

Ans.

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.

Add your answer
right arrow

Q13. System design - high level on designing youtube

Ans.

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

Add your answer
right arrow

Q14. Scrum methodology and types of meetings.

Ans.

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

Add your answer
right arrow

Q15. Second highest salary using sql ?

Ans.

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

Add your answer
right arrow

Q16. Types of wait in selenium and syntax.

Ans.

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);

Add your answer
right arrow

Q17. Lambda expression for map?

Ans.

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

Add your answer
right arrow

Q18. Mysql query for 3rd highest salary

Ans.

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;

Add your answer
right arrow

Q19. Train platform problem statement

Ans.

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

Add your answer
right arrow

Q20. OOPS concept with practical examples

Ans.

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

Add your answer
right arrow

Q21. Circuit Breaker Design Pattern

Ans.

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

Add your answer
right arrow

Q22. Technology worked on

Ans.

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

Add your answer
right arrow

Q23. Sliding window problem

Ans.

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

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at GlobalLogic Associate Consultant

based on 16 interviews
4 Interview rounds
Technical Round - 1
Technical Round - 2
Personal Interview1 Round
HR Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Consultant Interview Questions from Similar Companies

Oracle Logo
3.7
 • 35 Interview Questions
IQVIA Logo
3.9
 • 11 Interview Questions
View all
Recently Viewed
SALARIES
Johnson Controls Hitachi Air Conditioning
SALARIES
Johnson Controls Hitachi Air Conditioning
SALARIES
Johnson Controls Hitachi Air Conditioning
INTERVIEWS
Dalmia Cement East
No Interviews
DESIGNATION
SALARIES
Godrej & Boyce Manufacturing
SALARIES
Johnson Controls Hitachi Air Conditioning
DESIGNATION
SALARIES
Johnson Controls Hitachi Air Conditioning
SALARIES
GlobalLogic
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter