Add office photos
GlobalLogic logo
Engaged Employer

GlobalLogic

Verified
3.6
based on 4.5k Reviews
Video summary
Filter interviews by
Designation
Fresher
Experienced
Skills
Clear (1)

30+ GlobalLogic Interview Questions and Answers for Freshers

Updated 7 Nov 2024
Popular Designations

Q1. What is serialisation and serialisation where actually it used?

Ans.

Serialisation is the process of converting an object into a format that can be easily stored or transmitted.

  • Serialisation is used in data storage and transmission, allowing objects to be saved to a file or sent over a network.

  • It is commonly used in programming languages to convert objects into a byte stream for storage or communication.

  • Examples include saving an object to a file in JSON or XML format, or sending an object over a network using protocols like HTTP.

Add your answer
right arrow

Q2. What is sql definition and uses?

Ans.

SQL is a programming language used for managing and manipulating relational databases.

  • SQL stands for Structured Query Language.

  • It is used to communicate with and manipulate databases.

  • SQL can be used to retrieve data, update data, insert data, and delete data from databases.

  • Common SQL commands include SELECT, INSERT, UPDATE, DELETE.

  • Examples of SQL database systems include MySQL, PostgreSQL, Oracle, SQL Server.

Add your answer
right arrow

Q3. What is java and explain it's concepts.

Ans.

Java is a high-level programming language known for its portability, security, and object-oriented features.

  • Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM).

  • It is object-oriented, allowing for the creation of reusable code through classes and objects.

  • Java is known for its security features, such as sandboxing and encryption.

  • It supports multithreading, allowing for concurrent execution of multiple tasks.

  • Java has a rich standard l...read more

Add your answer
right arrow

Q4. What is MVC architecture

Ans.

MVC architecture is a software design pattern that separates an application into three main components: Model, View, and Controller.

  • Model represents the data and business logic of the application

  • View is responsible for displaying the data to the user

  • Controller acts as an intermediary between Model and View, handling user input and updating the Model accordingly

  • Example: In a web application, the Model could be a database, the View could be the HTML/CSS for the user interface, ...read more

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

Q5. what are promises

Ans.

Promises are a feature in JavaScript that allow asynchronous operations to be handled in a more organized and readable way.

  • Promises are objects that represent the eventual completion or failure of an asynchronous operation.

  • They are used to handle asynchronous code and avoid callback hell.

  • Promises have three states: pending, fulfilled, or rejected.

  • They can be chained together using methods like .then() and .catch().

  • Promises can be created using the Promise constructor or by us...read more

Add your answer
right arrow

Q6. what is event loop

Ans.

Event loop is a mechanism that allows a program to efficiently handle and respond to multiple events or tasks concurrently.

  • Event loop is commonly used in asynchronous programming.

  • It manages the execution of tasks or events in a non-blocking manner.

  • Event loop continuously checks for events or tasks and executes them when they are ready.

  • It helps prevent blocking and allows for efficient utilization of system resources.

  • Examples of event loop implementations include Node.js event...read more

Add your answer
right arrow
Are these interview questions helpful?

Q7. how microservices are developed.

Ans.

Microservices are developed by breaking down a large application into smaller, independent services that communicate with each other through APIs.

  • Identify the boundaries of each microservice based on business capabilities

  • Design each microservice to be independent and loosely coupled

  • Use lightweight protocols like HTTP or messaging queues for communication between microservices

  • Implement each microservice using the technology stack best suited for its requirements

  • Deploy microser...read more

Add your answer
right arrow

Q8. Oops concepts explanation

Ans.

Oops concepts are fundamental principles of object-oriented programming such as inheritance, polymorphism, encapsulation, and abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class.

  • Polymorphism: Allows objects to be treated as instances of their parent class or as instances of their own class.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Abstraction: Hiding the implementation details and showing onl...read more

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

Q9. Name the google application you know

Ans.

Google Maps - a web mapping service developed by Google

  • Provides satellite imagery, street maps, panoramic views, and route planning

  • Used for navigation, finding local businesses, and exploring new places

  • Available on desktop and mobile devices

Add your answer
right arrow

Q10. Speak anything you want in 5 minutes.

Ans.

I will talk about my passion for data analysis and how I have used it to solve complex problems in previous projects.

  • I have always been fascinated by the power of data analysis in uncovering insights and driving decision-making.

  • In my previous role, I used data analysis to identify trends and patterns in customer behavior, leading to a 10% increase in sales.

  • I am proficient in various data analysis tools such as Excel, SQL, and Python, and have a strong foundation in statistica...read more

Add your answer
right arrow

Q11. Slot Game Problem Statement

You are given a slot machine with four slots, each containing one of the colors Red (R), Yellow (Y), Green (G), or Blue (B). You must guess the colors without prior knowledge. For ea...read more

Ans.

Calculate total score based on guessing colors in a slot machine.

  • Iterate through each slot in the original and guess strings to compare colors.

  • Count perfect hits when color matches in correct slot, and pseudo-hits when color matches in different slot.

  • Calculate total score by adding perfect hits and pseudo-hits.

  • Handle edge cases like invalid input strings or exceeding constraints.

Add your answer
right arrow

Q12. Reverse Array Elements

Given an array containing 'N' elements, the task is to reverse the order of all array elements and display the reversed array.

Explanation:

The elements of the given array need to be rear...read more

Ans.

Reverse the order of elements in an array and display the reversed array.

  • Iterate through the array from both ends and swap the elements until the middle is reached.

  • Use a temporary variable to store the element being swapped.

  • Print the reversed array after all elements have been swapped.

Add your answer
right arrow

Q13. Tiling Problem Statement

Given a board with 2 rows and N columns, and an infinite supply of 2x1 tiles, determine the number of distinct ways to completely cover the board using these tiles.

You can place each t...read more

Ans.

The problem involves finding the number of ways to tile a 2xN board using 2x1 tiles.

  • Use dynamic programming to solve this problem efficiently.

  • Define a recursive function to calculate the number of ways to tile the board.

  • Consider both horizontal and vertical placements of tiles.

  • Implement the function to handle large values of N using modulo arithmetic.

  • Example: For N = 4, the number of ways to tile the board is 5.

View 1 answer
right arrow

Q14. Left Rotations of an Array

Given an array of size N and Q queries, each query requires left rotating the original array by a specified number of elements. Return the modified array for each query.

Input:

The fi...read more
Ans.

Rotate an array left by a specified number of elements for each query.

  • Parse input: read number of test cases, array size, queries, and array elements

  • For each query, left rotate the array by the specified number of elements

  • Return the modified array for each query

Add your answer
right arrow

Q15. Pair Sum Problem Statement

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to find and return a list of all pairs of elements where each sum of a pair equals 'S'.

Note:

Each pa...read more

Ans.

Given an array and a target sum, find pairs of elements that add up to the target sum.

  • Iterate through the array and for each element, check if the complement (target sum - current element) exists in a hash set.

  • If the complement exists, add the pair to the result list.

  • Sort the result list based on the first element of each pair, and then the second element if the first elements are equal.

Add your answer
right arrow

Q16. N Queens Problem

Given an integer N, find all possible placements of N queens on an N x N chessboard such that no two queens threaten each other.

Explanation:

A queen can attack another queen if they are in the...read more

Ans.

The N Queens Problem involves finding all possible placements of N queens on an N x N chessboard where no two queens threaten each other.

  • Understand the constraints of the problem: N represents the size of the chessboard and the number of queens, and queens can attack each other if they are in the same row, column, or diagonal.

  • Implement a backtracking algorithm to explore all possible configurations of queen placements without conflicts.

  • Ensure that each valid configuration is ...read more

Add your answer
right arrow

Q17. Definitions and example code of OOPS Concepts

Ans.

OOPS Concepts are fundamental principles of Object-Oriented Programming.

  • Encapsulation - bundling of data and methods that operate on that data

  • Inheritance - ability of a class to inherit properties and methods from its parent class

  • Polymorphism - ability of objects to take on multiple forms

  • Abstraction - hiding of complex implementation details from the user

  • Example code: class Car { private String make; public void setMake(String make) { this.make = make; } }

Add your answer
right arrow

Q18. What is TestNG, Difference between WebElement and WebElements, fially and final, types of Exceptions in selenium, how to handel frams

Ans.

TestNG is a testing framework for Java. WebElement represents a single element on a web page, while WebElements represents a collection of elements. 'finally' is a keyword used in exception handling. There are different types of exceptions in Selenium. To handle frames in Selenium, we can use the switchTo() method.

  • TestNG is a testing framework for Java

  • WebElement represents a single element on a web page

  • WebElements represents a collection of elements

  • 'finally' is a keyword used...read more

Add your answer
right arrow

Q19. Diffrence between Normal and Arrow Fuction and its example

Ans.

Arrow functions are concise syntax for writing functions in JavaScript, compared to normal functions.

  • Arrow functions do not have their own 'this' keyword, they inherit it from the parent scope.

  • Arrow functions do not have 'arguments' object.

  • Arrow functions cannot be used as constructors.

  • Arrow functions are more concise and easier to read compared to normal functions.

Add your answer
right arrow

Q20. Define transformer and why use transformer

Ans.

A transformer is an electrical device that transfers electrical energy from one circuit to another through electromagnetic induction.

  • Transformers are used to increase or decrease the voltage of an alternating current (AC) power supply.

  • They are used in power distribution systems to step up the voltage for long-distance transmission and step it down for local distribution.

  • Transformers are also used in electronic devices to isolate circuits, match impedances, and provide galvani...read more

Add your answer
right arrow

Q21. find 2 numbers occurring once while others occurring twice

Ans.

To find 2 unique numbers in an array with others occurring twice.

  • Iterate through the array and use a hash table to count the occurrences of each number.

  • Iterate through the hash table and find the two numbers with a count of 1.

  • Return the two unique numbers as an array of strings.

Add your answer
right arrow

Q22. What is Automation and advantages

Ans.

Automation is the use of technology to perform tasks without human intervention.

  • Increases efficiency and productivity

  • Reduces errors and improves accuracy

  • Saves time and money

  • Allows for 24/7 operation

  • Enables scalability and consistency

  • Examples include robotic process automation, industrial automation, and test automation

Add your answer
right arrow

Q23. Write an example for the closure

Ans.

A closure is a function that has access to its own scope, as well as the outer scope in which it was defined.

  • A closure can access variables from its outer function even after the outer function has finished executing.

  • Closures are commonly used in event handlers, callbacks, and asynchronous code.

  • Example: const outerFunction = () => { const outerVar = 'I am outer'; return () => { console.log(outerVar); }; }; const innerFunction = outerFunction(); innerFunction(); // Output: 'I ...read more

Add your answer
right arrow

Q24. What is plc and advantages

Ans.

PLC stands for Programmable Logic Controller. It is an industrial computer used to automate processes and control machinery.

  • PLCs are highly reliable and can operate in harsh environments

  • They can be easily programmed and reprogrammed to accommodate changes in the manufacturing process

  • PLCs can communicate with other devices and systems, allowing for seamless integration

  • They can improve efficiency and productivity while reducing costs

  • Examples of PLC applications include assembly...read more

Add your answer
right arrow

Q25. What is instrumentation

Ans.

Instrumentation refers to the use of instruments or devices to measure, control, or monitor a process or system.

  • Instruments are used to gather data about a process or system

  • Data is then used to control or monitor the process or system

  • Examples include sensors, gauges, and meters

  • Instrumentation is used in various industries such as manufacturing, energy, and transportation

Add your answer
right arrow

Q26. What is panel design

Ans.

Panel design refers to the process of designing and creating electrical control panels for industrial automation systems.

  • Panel design involves selecting appropriate components such as circuit breakers, relays, and switches.

  • The design must also consider factors such as wiring, labeling, and safety standards.

  • CAD software is often used to create detailed panel layouts and schematics.

  • Examples of industrial automation systems that require panel design include manufacturing lines, ...read more

Add your answer
right arrow

Q27. allocate min number of pages

Ans.

Allocate minimum number of pages

  • Determine the total content to be included

  • Decide on the layout and formatting

  • Consider the font size and spacing

  • Allocate pages based on the above factors

Add your answer
right arrow

Q28. height of the binary tree, factorial code in python

Ans.

Calculate the height of a binary tree and implement factorial code in Python.

  • To calculate the height of a binary tree, you can use a recursive approach where you find the height of the left and right subtrees and return the maximum height plus one.

  • For factorial code in Python, you can use a recursive function that multiplies the current number with the factorial of the previous number until reaching 1.

  • Example for calculating the height of a binary tree: def height(node): if n...read more

Add your answer
right arrow

Q29. Did you know mapping process

Ans.

Yes, I am familiar with the mapping process.

  • Mapping process involves creating a visual representation of data relationships.

  • It helps in understanding how different data points are connected or related to each other.

  • Examples include creating entity-relationship diagrams, process flowcharts, or geographic maps.

Add your answer
right arrow

Q30. What are storage class

Ans.

Storage classes in C specify the scope and lifetime of variables.

  • Storage classes include auto, register, static, and extern.

  • Auto variables are local to a block and have automatic storage duration.

  • Register variables are stored in CPU registers for faster access.

  • Static variables retain their value between function calls.

  • Extern variables are declared in one file and can be used in another file.

Add your answer
right arrow

Q31. What is meschina learning

Ans.

Meschina learning is a type of machine learning algorithm that focuses on predicting outcomes based on historical data.

  • Meschina learning uses historical data to make predictions about future outcomes.

  • It is a subset of machine learning that focuses on pattern recognition and predictive modeling.

  • Examples include regression analysis, decision trees, and neural networks.

Add your answer
right arrow

Q32. Explain structure program

Ans.

A structure program is a program that uses structures to group related data together.

  • Structures in C programming allow you to group related data together under one name.

  • You can define a structure using the 'struct' keyword.

  • Structures can contain different data types, including int, float, char, and even other structures.

  • You can access the members of a structure using the dot operator.

  • Example: struct employee { int id; char name[20]; float salary; };

  • Example: struct employee em...read more

Add your answer
right arrow

Q33. Oops concept in puthon

Ans.

Python supports Object-Oriented Programming (OOP) concepts like classes, objects, inheritance, encapsulation, and polymorphism.

  • Python supports classes and objects for creating reusable code.

  • Inheritance allows a class to inherit attributes and methods from another class.

  • Encapsulation restricts access to certain components of an object.

  • Polymorphism allows objects to be treated as instances of their parent class.

  • Example: class Animal: def __init__(self, name): self.name = name c...read more

Add your answer
right arrow

Q34. How to dealy rootine

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 for Freshers

based on 52 interviews
Interview experience
3.9
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

Accenture Logo
3.8
 • 4k Interview Questions
Aarti Industries Logo
4.1
 • 225 Interview Questions
Johnson Controls Logo
3.6
 • 192 Interview Questions
HDFC Life Logo
4.0
 • 173 Interview Questions
Standard Chartered Logo
3.7
 • 169 Interview Questions
Xyz Company Logo
3.8
 • 138 Interview Questions
View all
Recently Viewed
SALARIES
Sigmoid
Team Lead
L/yr
(4 salaries)
SALARIES
Mu Sigma
Azure Data Engineer
L/yr
(9 salaries)
SALARIES
Synchrony
Data Analyst
L/yr
(19 salaries)
SALARIES
INTERVIEWS
Synechron
Fresher
10 top interview questions
SALARIES
Infor Global Solution
SALARIES
Tech Mahindra
SALARIES
Tech Mahindra
INTERVIEWS
Snapdeal
Fresher
30 top interview questions
SALARIES
HTC Global Services
Top GlobalLogic Interview Questions And Answers
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