TCS iON
10+ Apollo Pipes Interview Questions and Answers
Q1. GCD (Greatest Common Divisor) Problem Statement
You are given two numbers, X
and Y
. Your task is to determine the greatest common divisor of these two numbers.
The Greatest Common Divisor (GCD) of two integers ...read more
The greatest common divisor (GCD) of two numbers is the largest positive integer that divides both numbers without leaving a remainder.
Use Euclidean algorithm to find GCD efficiently
GCD(X, Y) = GCD(Y, X % Y)
Repeat until Y becomes 0, then X is the GCD
Q2. Reverse Linked List Problem Statement
Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.
Input:
The first line of input is an integer T, rep...read more
Reverse a singly linked list by altering the links between nodes.
Iterate through the linked list and reverse the links between nodes
Use three pointers to keep track of the current, previous, and next nodes
Update the links while traversing the list to reverse it
Return the head of the reversed linked list
Q3. Difference between primary and foreign key?
Primary key uniquely identifies a record in a table while foreign key refers to a field in another table.
Primary key is used to enforce data integrity and ensure uniqueness of records.
Foreign key is used to establish a relationship between two tables.
A table can have only one primary key but multiple foreign keys.
Primary key cannot have null values while foreign key can have null values.
Example: In a database of students and courses, student_id can be a primary key in the stu...read more
Q4. How to create user account in active directory
User accounts in Active Directory can be created using Active Directory Users and Computers tool or PowerShell commands.
Open Active Directory Users and Computers tool
Navigate to the desired organizational unit (OU)
Right-click on the OU and select 'New' -> 'User'
Fill in the required user details such as username, password, etc.
Alternatively, use PowerShell commands like New-ADUser to create user accounts
Q5. How to install network printer in windows
To install a network printer in Windows, you need to add a printer using the 'Devices and Printers' option in Control Panel.
Go to Control Panel and select 'Devices and Printers'.
Click on 'Add a printer'.
Choose 'Add a network, wireless or Bluetooth printer'.
Select the network printer from the list or enter the printer's IP address.
Follow the on-screen instructions to complete the installation.
Q6. What is list , tuple and difference
List and tuple are data structures in Python. List is mutable while tuple is immutable. Difference lies in their usage and properties.
List is a collection of items that are ordered and changeable. Example: [1, 2, 3]
Tuple is a collection of items that are ordered and unchangeable. Example: (1, 2, 3)
Difference: Lists are mutable, meaning their elements can be changed after creation. Tuples are immutable, meaning their elements cannot be changed after creation.
Q7. Difference between Java and JavaScript?
Java is a general-purpose programming language while JavaScript is a scripting language used for web development.
Java is compiled while JavaScript is interpreted
Java is statically typed while JavaScript is dynamically typed
Java is used for developing desktop applications, web applications, and Android apps while JavaScript is used for web development
Java code runs on a virtual machine while JavaScript code runs on a web browser
Java has a larger standard library compared to Ja...read more
Q8. What are arrays and lists
Arrays and lists are data structures used to store multiple values in a single variable.
Arrays are fixed in size and can hold values of the same data type.
Lists are dynamic in size and can hold values of different data types.
Arrays and lists are indexed starting from 0.
Arrays and lists are commonly used in programming for storing and manipulating data.
Example of an array: ['apple', 'banana', 'orange']
Example of a list: [1, 'hello', True]
Q9. Is it ok for Reallocation
Yes, reallocation is acceptable in certain situations to optimize resources.
Reallocation can be acceptable if it helps optimize resources and improve efficiency.
For example, reallocating server resources to handle increased traffic during peak hours.
Reallocation should be carefully planned and executed to avoid negative impacts on system performance.
Regular monitoring and evaluation of the reallocated resources is important to ensure effectiveness.
Q10. Creating custom node programmatically
Creating custom nodes programmatically involves defining the node class, implementing the necessary functionality, and adding it to the system.
Define a new class for the custom node
Implement the desired functionality within the class
Add the custom node to the system programmatically
Q11. What is cloud computing
Cloud computing is the delivery of computing services over the internet, including servers, storage, databases, networking, software, analytics, and intelligence.
Allows users to access and store data and applications on remote servers instead of on their local devices
Provides flexibility, scalability, and cost-effectiveness for businesses
Examples include Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform
Q12. What is react virtual dom
React virtual DOM is a lightweight copy of the actual DOM, used for efficient updates and rendering in React applications.
Virtual DOM is a concept where a lightweight copy of the actual DOM is created and updated by React.
React compares the virtual DOM with the actual DOM and only updates the necessary parts for efficiency.
This helps in faster rendering and updates in React applications.
Q13. SQL joins and there use
SQL joins are used to combine rows from two or more tables based on a related column between them.
Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
INNER JOIN returns rows when there is at least one match in both tables.
LEFT JOIN returns all rows from the left table and the matched rows from the right table.
RIGHT JOIN returns all rows from the right table and the matched rows from the left table.
FULL JOIN returns rows when there is a match in one of the ...read more
Q14. Test case test plan difference
Test case is a detailed step-by-step procedure to test a specific functionality, while test plan is a high-level document outlining testing approach and resources.
Test case is specific to a particular functionality or feature, while test plan is an overall strategy for testing the entire system.
Test case includes detailed steps, expected results, and actual results, while test plan includes objectives, scope, schedule, and resources.
Test case is executed by testers to validat...read more
Q15. Stages in devops
DevOps stages include plan, code, build, test, release, deploy, operate, and monitor.
Plan: Define goals and plan the project.
Code: Develop and code the software.
Build: Compile the code into executable files.
Test: Test the software for bugs and issues.
Release: Deploy the software for users.
Deploy: Implement the software in the production environment.
Operate: Manage and maintain the software.
Monitor: Monitor the software performance and user feedback.
Interview Process at Apollo Pipes
Top System Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month