Publicis Sapient
400+ ORYX GTL Interview Questions and Answers
Q401. What is scheduling?
Scheduling is the process of organizing and planning tasks, appointments, or events over a period of time.
Scheduling involves creating a timetable or calendar to allocate resources such as time, people, and equipment efficiently.
It helps in coordinating activities, managing workloads, and ensuring deadlines are met.
Examples include employee shift scheduling, project timelines, and appointment booking systems.
Q402. Optimize the Solution
Optimizing a solution involves identifying and implementing improvements to increase efficiency and effectiveness.
Analyze the current solution to identify areas for improvement
Consider alternative approaches and technologies
Implement changes and measure the impact on performance
Continuously iterate and refine the solution
Example: optimizing a manufacturing process to reduce waste and increase output
Q403. Add error-handling mechanisms
Error-handling mechanisms are essential for robust software. They help prevent crashes and improve user experience.
Identify potential errors and exceptions
Implement try-catch blocks
Use logging to track errors
Provide informative error messages to users
Test error-handling thoroughly
Consider using third-party libraries for error-handling
Document error-handling procedures
Q404. hash map internal working
Hash map is a data structure that stores key-value pairs and uses hashing to quickly retrieve values.
Hash map uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Retrieving a value from a hash map involves computing the hash of the key and accessing the corresponding index in the array.
Examples of hash map implementations include Java's Ha...read more
Q405. Project contribution of yours
Developed a web application for tracking employee attendance and performance
Implemented user authentication and authorization using Spring Security
Utilized Hibernate for database interaction and data persistence
Designed and developed RESTful APIs for frontend integration
Used AngularJS for frontend development to create interactive user interfaces
Q406. Merge Sort Implementation using Java
Q407. Solid principles application and code
Q408. what is interface
An interface is a point where two systems, subjects, organizations, etc., meet and interact with each other.
An interface defines the methods that a class must implement, without specifying how they should be implemented.
Interfaces allow for multiple inheritance in programming languages like Java.
Examples of interfaces in programming include Java interfaces, USB ports on electronic devices, and user interfaces on software applications.
Q409. sum and count formula
The SUM formula adds up a range of numbers, while the COUNT formula counts the number of cells that contain numbers.
Use SUM formula to add up a range of numbers, like =SUM(A1:A10)
Use COUNT formula to count the number of cells that contain numbers, like =COUNT(A1:A10)
You can also combine these formulas, like =SUM(A1:A10) + COUNT(B1:B10)
Q410. What is hashmap
HashMap is a data structure in Java that stores key-value pairs and allows for fast retrieval of values based on keys.
HashMap is part of the Java Collections framework.
It uses hashing to store and retrieve elements quickly.
Each key in a HashMap must be unique.
HashMap allows for null keys and values.
Example: HashMap
map = new HashMap<>();
Q411. explain internal working of viewmodel
Q412. Different kind of string program
Q413. Microservices in depth
Microservices are a software architecture pattern where applications are built as a collection of small, loosely coupled services.
Microservices promote modularity and scalability.
Each microservice is responsible for a specific business capability.
Communication between microservices is typically done through APIs.
Microservices can be developed and deployed independently.
Examples of microservices include Netflix, Amazon, and Uber.
Q414. Implement Stack using queue
Implement a stack using a queue data structure.
Create two queues, q1 and q2.
Push elements into q1.
When popping, dequeue all elements from q1 and enqueue them into q2 until the last element.
Dequeue and return the last element from q1.
Swap q1 and q2 after each push or pop operation.
Q415. Securing a REST API
Securing a REST API involves implementing authentication, authorization, encryption, and rate limiting.
Implement authentication using tokens or API keys
Use HTTPS to encrypt data transmitted over the network
Implement authorization to control access to resources
Implement rate limiting to prevent abuse or DoS attacks
Q416. optimization techniques
Q417. Docker file use
Docker file is used to create Docker images by specifying the environment and dependencies for a container.
Docker file contains instructions to build an image, such as base image, dependencies, commands to run, etc.
It uses a simple syntax with keywords like FROM, RUN, COPY, etc.
Example: FROM ubuntu:latest, RUN apt-get update, COPY . /app
Docker file is typically named 'Dockerfile' and located in the root directory of the project.
Q418. Memory management in java
Q419. Advantages of software testing
Software testing helps identify defects early, ensures quality, reduces maintenance costs, and improves customer satisfaction.
Identifies defects early in the development process
Ensures the quality of the software product
Reduces maintenance costs by fixing issues before deployment
Improves customer satisfaction by delivering a reliable product
Helps in meeting regulatory requirements and standards
Q420. explain MVVM and its pros/cons
MVVM is a design pattern that separates the UI, business logic, and data layers in an iOS application.
Model: Represents the data and business logic of the application.
View: Represents the UI components of the application.
ViewModel: Acts as a mediator between the Model and View, handling the presentation logic and data binding.
Pros: Separation of concerns, easier to maintain and test, promotes reusability.
Cons: Increased complexity due to additional layers, potential for over-...read more
Q421. Micro service Design Patterns
Microservice design patterns are architectural patterns used to design and implement microservices.
Service discovery and registration
Circuit breaker pattern
API gateway pattern
Event sourcing pattern
Saga pattern
Q422. multithreading in swift
Multithreading in Swift allows for concurrent execution of tasks to improve performance and responsiveness.
Use Grand Central Dispatch (GCD) for managing concurrent tasks
Avoid blocking the main thread to prevent UI freezes
Consider using Operation and OperationQueue for more complex task management
Q423. Architecture of Spark
Spark is a distributed computing framework that provides in-memory processing capabilities for big data analytics.
Spark has a master-slave architecture with a central coordinator called the Spark Master and distributed workers called Spark Workers.
It uses Resilient Distributed Datasets (RDDs) for fault-tolerant distributed data processing.
Spark supports various data sources like HDFS, Cassandra, and S3 for input/output operations.
It includes components like Spark SQL for stru...read more
Q424. Vision on next 5 yeas
In the next 5 years, I envision leveraging emerging technologies to enhance test automation, improve efficiency, and drive continuous improvement in testing processes.
Implementing AI and machine learning in test automation to increase accuracy and speed
Exploring blockchain technology for secure test data management
Adopting IoT testing for connected devices
Enhancing performance testing capabilities for cloud-based applications
Focusing on cybersecurity testing to address growin...read more
Q425. Find xpath of dynamic element
Use contains() function to find xpath of dynamic element
Identify a unique static parent element
Use contains() function to locate the dynamic element
Example: //div[contains(@class, 'dynamicClass')]
Q426. Insertion sort algorithm
Insertion sort is a simple sorting algorithm that builds the final sorted array one item at a time.
Iterate through the array starting from the second element
Compare each element with the elements before it and insert it in the correct position
Repeat until the entire array is sorted
Example: ['3', '1', '4', '1', '5', '9', '2', '6'] -> ['1', '1', '2', '3', '4', '5', '6', '9']
Q427. User story definition
User story definition is a narrative that describes a user's interaction with a product or service.
User story should be written from the perspective of the user
It should describe the user's goal or need
It should include acceptance criteria to define when the story is complete
It should be concise and easy to understand
Example: As a frequent traveler, I want to be able to easily book a hotel room on my mobile device so that I can quickly make reservations while on the go.
Q428. Integrations in Salesforce
Integrations in Salesforce allow for seamless data exchange between Salesforce and other systems.
Salesforce offers a variety of integration options including REST, SOAP, and Bulk APIs.
Integrations can be used to connect Salesforce with other CRMs, marketing automation tools, and more.
Salesforce also has pre-built integrations with popular apps like Microsoft Outlook and Gmail.
Integrations can be set up using point-and-click tools or custom code.
Salesforce's AppExchange market...read more
Q429. write in c
Q430. Reverse a linked list
Q431. Acid Properties
Acid properties refer to the characteristics of acids, including their ability to donate protons and react with bases.
Acids have a sour taste and can corrode metals.
Acids turn blue litmus paper red.
Acids react with bases to form salts and water.
Acids can donate protons in reactions.
Q432. Explain Kafka and spark
Kafka is a distributed streaming platform used for building real-time data pipelines and streaming applications. Spark is a fast and general-purpose cluster computing system for big data processing.
Kafka is used for building real-time data pipelines by enabling high-throughput, low-latency data delivery.
Spark is used for processing large-scale data processing tasks in a distributed computing environment.
Kafka can be used to collect data from various sources and distribute it ...read more
Q433. Current CTC and Expected CTC
Current CTC is $90,000 and Expected CTC is $110,000.
Current CTC: $90,000
Expected CTC: $110,000
Q434. Explain Binary tree
Q435. Explain joins
Q436. Optimization on spark
Optimizing Spark involves tuning configurations, partitioning data, using efficient transformations, and caching intermediate results.
Tune Spark configurations for optimal performance
Partition data to distribute workload evenly
Use efficient transformations like map, filter, and reduce
Cache intermediate results to avoid recomputation
Q437. Azure services experience
I have extensive experience working with various Azure services such as Azure Data Factory, Azure Databricks, Azure SQL Database, and Azure Blob Storage.
Experience with Azure Data Factory for ETL processes
Proficiency in using Azure Databricks for big data processing
Knowledge of Azure SQL Database for data storage and querying
Familiarity with Azure Blob Storage for storing unstructured data
Q438. implement mvvm architecture
MVVM architecture is a software design pattern that separates the user interface from the business logic.
MVVM stands for Model-View-ViewModel
Model represents the data and business logic
View represents the user interface
ViewModel acts as a mediator between the Model and View
ViewModel exposes data and commands to the View
Data binding is used to keep the View and ViewModel in sync
Example frameworks that support MVVM: Angular, React, Xamarin
Q439. Maximum Consecutive Zeros
Find the maximum number of consecutive zeros in a binary string.
Iterate through the binary string and keep track of the current consecutive zeros count.
Update the maximum consecutive zeros count whenever a non-zero digit is encountered.
Return the maximum consecutive zeros count at the end.
Q440. Write pallindrome code
A palindrome code is a program that checks if a given string reads the same forwards and backwards.
Create a function that takes a string as input
Reverse the string and compare it to the original string
Return true if they are the same, false otherwise
Q441. Explain your framework
My framework is a data-driven automation framework using Selenium and TestNG.
Utilizes Selenium for web automation
Uses TestNG for test case management and execution
Data-driven approach for test data separation
Supports parallel execution for faster testing
Includes reporting tools like ExtentReports for detailed test results
Q442. Find max subarray
Q443. Search in rotated sorted array
Q444. Gangs of four explanation
Q445. jetpack compose uses
Jetpack Compose is a modern Android UI toolkit that simplifies and accelerates UI development.
Declarative UI: Jetpack Compose allows developers to build UI using a declarative programming model.
State management: Jetpack Compose handles state management efficiently, making it easier to update UI based on data changes.
Compose functions: Developers can create reusable UI components using Compose functions.
Interoperability: Jetpack Compose can be used alongside existing View-base...read more
Q446. Explain web vitals
Web vitals are a set of metrics related to user experience on websites, including loading speed, interactivity, and visual stability.
Web vitals include metrics such as Largest Contentful Paint (LCP), First Input Delay (FID), and Cumulative Layout Shift (CLS).
They are important for measuring and improving user experience on websites.
Google uses web vitals as a ranking factor for search results.
Developers can use tools like Lighthouse or PageSpeed Insights to monitor and improv...read more
Q447. Merge sort algorithm
Merge sort is a divide and conquer algorithm that sorts an array by dividing it into two halves, sorting them separately, and then merging the sorted halves.
Divide the array into two halves
Sort each half recursively
Merge the two sorted halves
Time complexity is O(nlogn)
Space complexity is O(n)
Q448. Election Problem
The election problem involves determining the winner of an election based on votes received.
Consider the voting system being used (e.g. first-past-the-post, proportional representation).
Calculate the total number of votes each candidate received.
Determine the threshold needed to win the election (e.g. majority, plurality).
Declare the candidate with the most votes as the winner.
Handle tie-breaking scenarios if necessary.
Q449. Thrid highest in sql
The third highest value in SQL can be obtained using the LIMIT and OFFSET clauses.
Use the ORDER BY clause to sort the values in descending order.
Use the LIMIT clause to limit the number of rows returned.
Use the OFFSET clause to skip the first two highest values.
Example: SELECT column_name FROM table_name ORDER BY column_name DESC LIMIT 1 OFFSET 2;
Q450. Truncate vs Delete
Truncate is faster but cannot be rolled back, while Delete is slower but can be rolled back.
Truncate removes all rows from a table quickly, but cannot be rolled back.
Delete removes rows one by one, slower than Truncate, but can be rolled back using a transaction.
Truncate resets the identity seed of the table, while Delete does not.
Q451. Experience on ERP
I have 3 years of experience working with SAP ERP system in a manufacturing company.
Implemented SAP ERP modules for inventory management, production planning, and procurement.
Customized reports and dashboards to track key performance indicators.
Trained end users on how to use the ERP system efficiently.
Resolved technical issues and provided ongoing support for system maintenance.
Q452. Flatten the array
Flatten the array of strings
Use flatMap() method to flatten the array
Example: ['hello', ['world'], ['foo', 'bar']] => ['hello', 'world', 'foo', 'bar']
Q453. Explain oops concept
OOPs concept is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOPs stands for Object-Oriented Programming
Key concepts include classes, objects, inheritance, polymorphism, and encapsulation
Classes are blueprints for objects, defining their properties and behaviors
Objects are instances of classes, representing real-world entities
Inheritance allows classes to inherit properties and behavior...read more
Top HR Questions asked in ORYX GTL
Interview Process at ORYX GTL
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month