
Xoriant

100+ Xoriant Interview Questions and Answers
Q101. What is slicing in Python?
Slicing is a way to extract a portion of a sequence (string, list, tuple) in Python.
Slicing is done using the colon (:) operator.
The syntax for slicing is [start:stop:step].
start is the index where the slice starts (inclusive), stop is the index where the slice ends (exclusive), and step is the size of the jump between indices.
If start or stop is not specified, it defaults to the beginning or end of the sequence.
If step is not specified, it defaults to 1.
Slicing can be used o...read more
Q102. Explain in detail about Oops Concept
OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPs focuses on creating objects that interact with each other to solve a problem
Key principles include Inheritance, Encapsulation, Polymorphism, and Abstraction
Inheritance allows a class to inherit properties and behavior from another class
Encapsulation restricts access to certain components within an object
Polymorphism allows objects to be treated as...read more
Q103. What is N tier and 2 tier architecture?
N tier and 2 tier architecture are software architecture patterns used in designing applications.
2 tier architecture involves a client and a server, where the client directly communicates with the server.
N tier architecture involves multiple layers of servers, where each layer communicates with the layer above and below it.
2 tier architecture is simpler and faster, but less scalable and secure than N tier architecture.
N tier architecture is more complex and slower, but more s...read more
Q104. What are python iterators?
Python iterators are objects that allow iteration over a collection of elements.
Iterators are used to loop through a collection of elements, one at a time.
They implement the __iter__() and __next__() methods.
The __iter__() method returns the iterator object and the __next__() method returns the next element in the sequence.
Iterators can be created using iter() function or by defining a class that implements the required methods.
Examples of built-in iterators in Python include...read more
Q105. How do you check if there is an issue with payment
To check for issues with payment, I would verify payment logs, conduct test transactions, and analyze customer complaints.
Verify payment logs for any errors or discrepancies
Conduct test transactions to ensure payments are processed correctly
Analyze customer complaints related to payment issues
Check for any system errors or bugs that may be affecting payments
Q106. How do you handle conflict between manager and developer
Addressing conflict between manager and developer requires open communication, understanding both perspectives, and finding a mutually beneficial solution.
Encourage open communication between the manager and developer to understand each other's perspectives and concerns.
Facilitate a meeting to discuss the conflict and find common ground or compromises.
Seek to understand the underlying reasons for the conflict and address them proactively.
Encourage empathy and mutual respect b...read more
Q107. How to handle Iframe
To handle Iframe, switch to the frame using driver.switchTo().frame() method.
Identify the Iframe using its ID, name, or index
Switch to the Iframe using driver.switchTo().frame() method
Perform the required actions inside the Iframe
Switch back to the default content using driver.switchTo().defaultContent() method
Q108. 2. API Status codes. DIfferent HTTP methods
API status codes and HTTP methods are important for testing APIs.
API status codes indicate the success or failure of an API request.
HTTP methods include GET, POST, PUT, DELETE, PATCH, and more.
Testing API status codes and HTTP methods ensures proper functionality and error handling.
Examples of status codes include 200 (OK), 404 (Not Found), and 500 (Internal Server Error).
Examples of HTTP methods include GET (retrieve data), POST (create new data), PUT (update existing data),...read more
Q109. Explain GetOption() method
GetOption() method is used to retrieve the value of a selected option in a dropdown list.
GetOption() method is commonly used in automated testing to verify if the correct option is selected in a dropdown list.
The method returns the value of the selected option as a string.
If no option is selected, the method returns null or an empty string.
Q110. If one functional interface can extend another interface
Yes, one functional interface can extend another interface in Java.
Functional interfaces can extend other functional interfaces in Java.
The child interface can have only one abstract method, but can inherit default methods from the parent interface.
Example: interface Parent { void method1(); } interface Child extends Parent { void method2(); }
Q111. Explain in detail on Collection
Collections in programming refer to data structures that allow you to store and manipulate multiple elements.
Collections can be used to store groups of related data, such as lists, sets, maps, or queues.
They provide methods for adding, removing, and accessing elements within the collection.
Examples of collections in Java include ArrayList, HashSet, HashMap, and LinkedList.
Q112. Types of scripts in NetSuite.
Types of scripts in NetSuite include SuiteScript, SuiteTalk, SuiteFlow, and SuiteBuilder.
SuiteScript: JavaScript-based scripts for customizing NetSuite functionality.
SuiteTalk: Web services integration for connecting NetSuite with external systems.
SuiteFlow: Visual workflow tool for automating business processes.
SuiteBuilder: Customization tool for modifying NetSuite forms, fields, and records.
Q113. Explain OOPs concept with your current Project?
OOPs is a programming paradigm based on the concept of objects.
My current project is built using OOPs concepts.
I have used classes and objects to represent real-world entities.
Inheritance and polymorphism are used to achieve code reusability and flexibility.
Encapsulation is used to hide the implementation details of the classes.
Abstraction is used to provide a simplified view of the complex system.
For example, I have a class called 'Employee' with properties like name, age, a...read more
Q114. What is the sdlc ?
SDLC stands for Software Development Life Cycle, a process used by software development teams to design, develop, and test high-quality software.
SDLC is a structured process that consists of several phases such as planning, analysis, design, implementation, testing, and maintenance.
Each phase has its own set of activities and deliverables to ensure the successful completion of the software project.
Examples of SDLC models include Waterfall, Agile, Scrum, and DevOps.
SDLC helps ...read more
Q115. Diff types of constructor
Different types of constructors in object-oriented programming
Default constructor: no parameters
Parameterized constructor: accepts parameters
Copy constructor: creates a new object as a copy of an existing object
Static constructor: used to initialize static data members of a class
Private constructor: restricts the instantiation of a class to within the class itself
Q116. Different types of Exception
Different types of exceptions include checked, unchecked, runtime, and error.
Checked exceptions are checked at compile time and must be handled or declared.
Unchecked exceptions are not checked at compile time and do not need to be handled or declared.
Runtime exceptions are unchecked exceptions that occur during runtime.
Errors are serious problems that cannot be handled by the program, such as OutOfMemoryError.
Q117. What is slice , Coding example on interface, What is difference between concurrency and parallelism
Slice is a dynamically-sized, flexible view of elements in an array. Concurrency is the ability to run multiple tasks at the same time, while parallelism is the actual execution of multiple tasks simultaneously.
Slice in Go is a reference to a portion of an array. It allows for dynamic resizing and manipulation of elements.
Example: var s []int = make([]int, 5) // creates a slice of length 5
Interfaces in Go define a set of methods that a type must implement. They allow for poly...read more
Q118. How to enable twig debug
To enable twig debug, set debug to true in the twig configuration file.
Edit the development.services.yml file in the sites/default folder
Set debug to true under the twig.config section
Clear the cache to apply changes
Q119. Wride a code in python
Code in Python to print 'Hello, World!'
Use the print() function in Python to display the text
Enclose the text in single or double quotes
Q120. 1 program to perform
A program to calculate the average of a list of numbers.
Prompt the user to enter a list of numbers separated by commas.
Split the input string into an array of numbers.
Calculate the sum of the numbers in the array.
Divide the sum by the length of the array to get the average.
Display the average to the user.
Q121. How caching work?
Caching is the process of storing frequently accessed data in a temporary storage to improve performance.
Caching reduces the number of requests made to the server, thus improving website speed.
Drupal has built-in caching mechanisms such as page caching, block caching, and dynamic caching.
Caching can be configured and customized based on specific needs and requirements.
Examples of caching tools include Memcached, Redis, and Varnish.
Q122. why functional interface when we have interface
Functional interfaces provide a single abstract method for functional programming in Java.
Functional interfaces allow for lambda expressions and method references to be used as instances of the interface.
Interfaces with multiple abstract methods cannot be used for lambda expressions.
Example: java.util.function.Function is a functional interface with a single abstract method apply().
Q123. live example of oop concept
Inheritance is a key OOP concept where a class inherits properties and behaviors from another class.
Inheritance allows for code reusability and promotes a hierarchical structure.
Example: Animal class can be a base class with properties like name and age, and subclasses like Dog and Cat can inherit these properties.
Subclasses can also have their own unique properties and methods in addition to the inherited ones.
Q124. What is angular, javascript
Angular is a popular front-end framework for building dynamic web applications, while JavaScript is a programming language commonly used for web development.
Angular is a front-end framework developed by Google for building single-page applications
JavaScript is a programming language used for adding interactivity to web pages
Angular uses TypeScript, a superset of JavaScript, for development
JavaScript is widely used for client-side scripting and server-side development with Nod...read more
Q125. 1. Explain UI Automation Framework
UI Automation Framework is a tool that automates the testing of user interfaces.
It allows testers to write scripts that simulate user actions on the UI.
It can be used for functional testing, regression testing, and performance testing.
Examples include Selenium, Appium, and TestComplete.
Q126. Types of Asserts
Asserts are used to verify expected results in automated tests. There are various types of asserts.
Assert.AreEqual - compares two values for equality
Assert.IsTrue/False - checks if a condition is true/false
Assert.IsNull/NotNull - checks if a value is null/not null
Assert.ThrowsException - checks if an exception is thrown
Assert.AreSame - checks if two objects refer to the same instance
Assert.AreNotSame - checks if two objects do not refer to the same instance
Q127. fibbonacci series optimal solution
The optimal solution for generating Fibonacci series efficiently.
Use dynamic programming to store previously calculated values to avoid redundant calculations.
Implement a recursive function with memoization to store and reuse calculated values.
Iterate through the series using a loop to generate Fibonacci numbers efficiently.
Q128. Explain Project and the architecture?
The project is a Java-based web application with a microservices architecture.
The project is built using Java and follows a microservices architecture.
The application is designed to be scalable and modular.
Each microservice is responsible for a specific task or functionality.
The architecture allows for easy maintenance and updates.
Examples of microservices include user management, payment processing, and inventory management.
Q129. What are the types of Serializers in Django
Types of Serializers in Django include ModelSerializer, Serializer, and HyperlinkedModelSerializer.
ModelSerializer: Used to serialize Django model instances.
Serializer: Generic serializer class for custom data serialization.
HyperlinkedModelSerializer: Includes hyperlinks to related resources in the serialized data.
Q130. 1 What is UX 2 Accessibility 3 Design system 4 Portfolio 5 solutions for problems statement
UX (User Experience) encompasses all aspects of the end-user's interaction with the company, its services, and its products.
UX focuses on creating a seamless and enjoyable experience for the user
Accessibility ensures that all users, including those with disabilities, can access and use a product or service
Design system is a collection of reusable components and guidelines for creating consistent user interfaces
Portfolio showcases a UX designer's past work and skills
Solutions ...read more
Q131. What are views
Views are a powerful Drupal module that allows users to create custom queries and display data in various formats.
Views allow users to create custom queries without writing any code
Users can display data in various formats such as tables, grids, lists, etc.
Views can be used to create complex filters and sorts for data
Views can be used to create custom pages, blocks, and feeds
Views can be extended with custom code and plugins
Q132. Have you used any CRM before?
Yes, I have used multiple CRMs in my previous roles.
I have experience using Salesforce, HubSpot, and Zoho CRM.
I am comfortable with managing leads, contacts, and opportunities within a CRM.
I have also used CRMs to track sales metrics and generate reports.
I believe that a CRM is an essential tool for any sales team to stay organized and efficient.
Q133. Migration of projects from server to cloud
Migration of projects from server to cloud involves planning, testing, and executing the transfer of data and applications.
Assess the current server setup and identify all projects and data to be migrated
Choose a suitable cloud provider and plan the migration process
Test the migration process with a small project before moving larger ones
Ensure data security and compliance during the migration
Update any necessary configurations and settings post-migration
Q134. What is call and apply in JS
call and apply are methods in JS used to invoke a function with a specified 'this' value and arguments.
call() method is used to invoke a function with a specified 'this' value and arguments provided individually
apply() method is used to invoke a function with a specified 'this' value and arguments provided as an array
Both methods are used to borrow methods from other objects, and to set the 'this' value explicitly
Q135. Explain in detail ur framework?
Our framework is a hybrid framework that combines data-driven and keyword-driven approaches.
Our framework uses Excel sheets to store test data and keywords.
We have created custom libraries for commonly used functions.
We use Selenium WebDriver for web application testing.
Our framework supports parallel execution of tests.
We have integrated it with Jenkins for continuous integration.
We have also added reporting functionality using ExtentReports.
Q136. Api testing methods?
API testing methods involve functional, security, performance, and load testing of APIs.
Functional testing ensures that the API meets the requirements and specifications.
Security testing checks for vulnerabilities and ensures data protection.
Performance testing measures the API's response time and resource utilization.
Load testing evaluates the API's ability to handle a large number of requests.
Tools like Postman, SoapUI, and JMeter can be used for API testing.
Q137. What is raid and explain r5
RAID stands for Redundant Array of Independent Disks. RAID 5 is a type of RAID that uses block-level striping with distributed parity.
RAID is a technology that combines multiple physical hard drives into a single logical unit for data redundancy and performance improvement.
RAID 5 requires at least three disks and uses parity data to provide fault tolerance.
In RAID 5, data is striped across all disks with parity data distributed across all disks.
If one disk fails, the data can...read more
Q138. Find the middle node of a linked list.
To find the middle node of a linked list, use the slow and fast pointer technique.
Initialize two pointers, slow and fast, both pointing to the head of the linked list.
Move the slow pointer by one step and the fast pointer by two steps until the fast pointer reaches the end of the list.
The node pointed to by the slow pointer at this point will be the middle node.
Q139. prime number program
A prime number program checks if a given number is only divisible by 1 and itself.
Check if the number is greater than 1
Iterate from 2 to the square root of the number and check for divisibility
If no divisors found, the number is prime
Q140. Java 8 explain all features in short
Java 8 introduced new features like lambda expressions, streams, functional interfaces, and default methods.
Lambda expressions: Allows writing concise code by enabling functional programming.
Streams: Provides a way to work with sequences of elements efficiently.
Functional interfaces: Interfaces with a single abstract method, used for lambda expressions.
Default methods: Allows adding new methods to interfaces without breaking existing implementations.
Q141. What is regression testing
Regression testing is the process of retesting software after changes to ensure that previously working features still work correctly.
Regression testing is performed to make sure that new code changes have not adversely affected existing functionality.
It involves running previously executed test cases to verify that no new bugs have been introduced.
Regression testing helps in maintaining the overall quality and stability of the software.
Automated testing tools are often used ...read more
Q142. SSL Pinning with different ways
SSL pinning is a security measure to prevent man-in-the-middle attacks by associating a specific SSL certificate with a particular app.
Implementing SSL pinning using public key
Implementing SSL pinning using certificate
Implementing SSL pinning using hash of certificate
Q143. What is List Comprehension
List comprehension is a concise way to create lists in Python by iterating over an existing list or iterable.
Syntax: [expression for item in iterable]
Can include conditions: [expression for item in iterable if condition]
Can be nested: [[i*j for j in range(1, 4)] for i in range(1, 4)]
Can be used to create new lists from existing lists efficiently
Q144. What is decorator?
A decorator is a design pattern in Python that allows adding new functionality to an existing object without modifying its structure.
Decorators are denoted by the @ symbol followed by the decorator function name.
They are commonly used to modify or extend the behavior of functions or methods.
Decorators can be used for logging, timing, authentication, caching, etc.
Example: @staticmethod, @classmethod, @property
Q145. Tell me all oops features
Object-oriented programming features include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability for a class to inherit properties and behavior from another class.
Polymorphism: Ability for objects of different classes to respond to the same message in different ways.
Abstraction: Hiding the complex implementation details and showing only the necessary feature...read more
Q146. Jira project configuration
Jira project configuration involves setting up workflows, issue types, fields, permissions, and notifications.
Define issue types (e.g. bug, task, story)
Create custom fields to capture specific information
Set up workflows to define the lifecycle of an issue
Configure permissions to control who can view and edit issues
Manage notifications to keep stakeholders informed
Q147. Audit trail of payment
Audit trail of payment ensures transparency and accountability in financial transactions.
Audit trail records all payment activities including date, time, amount, payer, payee, and reason for payment.
It helps in detecting errors, fraud, and unauthorized transactions.
Audit trail is crucial for compliance with regulations and internal policies.
Examples: Payment logs, transaction history, digital signatures.
Q148. what is iscsi in san
iSCSI is a protocol used to transmit SCSI commands over IP networks.
iSCSI stands for Internet Small Computer System Interface.
It allows block-level access to storage devices over a network.
It uses TCP/IP to transmit SCSI commands and data over IP networks.
iSCSI targets are storage devices that can be accessed by iSCSI initiators.
iSCSI is commonly used in SAN (Storage Area Network) environments.
Q149. what is load testing
Load testing is a type of performance testing that simulates real-world usage to evaluate how a system performs under specific conditions.
Simulates real-world usage to test system performance
Measures response times, throughput, and resource utilization
Helps identify bottlenecks and optimize system performance
Examples: testing how a website handles a large number of simultaneous users or how an application performs under heavy data loads
Q150. What is a bug?
A bug is an error, flaw, mistake, failure, or fault in a computer program or system that causes it to produce incorrect or unexpected results.
A bug can manifest as a software glitch, crash, or malfunction.
Bugs can be caused by coding errors, design flaws, or unexpected interactions between different parts of a system.
Examples of bugs include software freezing, incorrect calculations, and data loss.
Identifying and fixing bugs is a key part of software testing and quality assur...read more
Q151. Find duplicate in list
Find duplicates in an array of strings.
Iterate through the array and compare each element with all the other elements.
If a match is found, add it to a separate list of duplicates.
Return the list of duplicates.
Q152. Locator Techniques
Locator techniques are used in software testing to identify and interact with elements on a web page.
Locator techniques include ID, class name, tag name, name, link text, partial link text, xpath, and css selector.
ID is the most efficient locator as it is unique to each element.
Xpath is powerful but can be slow and brittle.
CSS selector is fast and reliable for locating elements based on their attributes.
Q153. Program on String.
Program to manipulate strings in an array.
Use loops to iterate through the array of strings.
Implement different string manipulation functions like concatenation, substring, etc.
Handle edge cases like empty strings or null values.
Example: ['hello', 'world'] -> 'helloworld'
Q154. Explain hooks in react
Hooks are a new addition in React 16.8 that allow you to use state and other React features without writing a class.
Hooks are functions that let you use state and other React features in functional components.
useState() is a hook that allows you to add state to functional components.
useEffect() is a hook that allows you to perform side effects in functional components.
Custom hooks are reusable functions that can contain logic and state.
Hooks provide a more concise and readabl...read more
Q155. Shifts the zeros to right
Shift all zeros in an array to the right while maintaining the order of non-zero elements.
Iterate through the array and move all non-zero elements to the front of the array.
Fill the remaining elements with zeros.
Maintain the relative order of non-zero elements.
Q156. Test cases on QR code
Test cases for QR code should cover scanning, decoding, error handling, and compatibility with different devices.
Verify that the QR code can be scanned successfully using different devices and apps.
Test the decoding accuracy of the QR code to ensure the correct information is extracted.
Check for error handling scenarios such as invalid QR codes or damaged codes.
Test the compatibility of the QR code with various devices, screen sizes, and resolutions.
Q157. Bout aws ec2 instance
AWS EC2 instance is a virtual server in Amazon's Elastic Compute Cloud (EC2) service.
Virtual server in Amazon's EC2 service
Can be easily scaled up or down based on demand
Can run various operating systems and applications
Can be launched in different regions and availability zones
Example: t2.micro, m5.large, c5.xlarge
Q158. Write a linked list.
A linked list is a data structure consisting of nodes where each node points to the next node in the sequence.
Nodes contain data and a reference to the next node
Can be singly linked (each node points to the next) or doubly linked (each node points to the next and previous)
Example: Node 1 -> Node 2 -> Node 3
Q159. Explain the Smoke Testing .
Smoke testing is a preliminary test to check if the basic functionalities of a software application are working fine.
Smoke testing is a subset of regression testing and is usually performed after a build is received.
It is a quick and shallow test to ensure that the critical functionalities of the software are working.
The main purpose of smoke testing is to determine if the build is stable enough for further testing.
If the smoke test fails, further testing is halted until the ...read more
Q160. Atomic vs Non-Atomic
Atomic means thread-safe access, non-atomic is not thread-safe
Atomic ensures that a property is always fully set or retrieved, while non-atomic does not guarantee this
Atomic properties are slower due to the overhead of ensuring thread safety
Non-atomic properties are faster but can lead to data corruption in a multi-threaded environment
More about working at Xoriant

Top HR Questions asked in Xoriant
Interview Process at Xoriant

Top Interview Questions from Similar Companies






Reviews
Interviews
Salaries
Users/Month