Premium Employer

Accelya Solutions India Limited

3.7
based on 316 Reviews
Filter interviews by

10+ _VOIS Interview Questions and Answers

Updated 25 Nov 2024

Q1. Detect and remove cycle from linked list

Ans.

To detect and remove a cycle from a linked list, we can use Floyd's Cycle Detection Algorithm.

  • Use two pointers, slow and fast, to detect a cycle in the linked list.

  • If there is a cycle, the fast pointer will eventually meet the slow pointer.

  • Once the cycle is detected, reset one of the pointers and move them at the same pace to find the start of the cycle.

  • Remove the cycle by setting the next pointer of the node where the two pointers meet to null.

Add your answer

Q2. What are collections and its type?

Ans.

Collections are data structures used to store multiple values of the same data type.

  • Types of collections in Oracle are Associative arrays, Nested tables, and Varrays.

  • Associative arrays are indexed by string values, Nested tables are like arrays with no fixed size, and Varrays are like arrays with a fixed size.

  • Collections can be used to pass multiple values to a stored procedure or function.

Add your answer

Q3. What is record and explain?

Ans.

Record is a composite data type that stores related fields together.

  • A record is a user-defined data type that contains a group of related data items.

  • It is also known as a row or tuple in a table.

  • Each field in a record can have a different data type.

  • Records are commonly used in PL/SQL to hold query results or to pass data between procedures.

  • Example: DECLARE emp_rec employees%ROWTYPE;

  • This creates a record variable emp_rec that contains all the columns of the employees table.

Add your answer

Q4. Reverse a linkedlist

Ans.

Reverse a linkedlist by changing the pointers direction

  • Iterate through the linkedlist and change the direction of pointers

  • Use three pointers to keep track of current, previous, and next nodes

  • Update the head of the linkedlist to point to the last node as the new head

Add your answer
Discover _VOIS interview dos and don'ts from real experiences

Q5. Explain the API-creating process from start to end

Ans.

The API-creating process involves designing, developing, testing, documenting, and deploying APIs.

  • Design the API by defining endpoints, request/response formats, and authentication methods

  • Develop the API using programming languages like Java, frameworks like Spring Boot, and tools like Swagger

  • Test the API for functionality, performance, security, and scalability

  • Document the API with clear instructions, examples, and usage guidelines

  • Deploy the API to a server or cloud platform...read more

Add your answer

Q6. Before prod deployment

Ans.

Before prod deployment, it is crucial to thoroughly test the changes to ensure they do not negatively impact the system.

  • Perform thorough testing of the changes in a staging environment before deploying to production

  • Ensure all stakeholders are informed and prepared for the deployment

  • Have a rollback plan in case any issues arise during deployment

Add your answer
Are these interview questions helpful?

Q7. PROCEDUR VS FUNCTIONS

Ans.

Procedures are used to perform an action, while functions return a value.

  • Procedures do not return values, but can have output parameters

  • Functions must return a value and cannot have output parameters

  • Procedures can modify data, while functions cannot

  • Functions can be used in SQL queries, while procedures cannot

Add your answer

Q8. How you are comfortable with testing

Ans.

I am comfortable with testing as it allows me to ensure the quality and functionality of the product.

  • I have experience in creating test plans and test cases to cover all aspects of the software

  • I am proficient in using testing tools and techniques to identify and report bugs

  • I enjoy the challenge of finding defects and working with the development team to resolve them

  • I am detail-oriented and thorough in my approach to testing

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Retrieve all the data from table

Ans.

Use a SQL query to retrieve all data from a table

  • Use SELECT * FROM table_name to retrieve all data

  • Make sure you have the necessary permissions to access the table

  • Consider using WHERE clause for specific data retrieval

  • Check for any filters or conditions specified in the query

Add your answer

Q10. What is interface

Ans.

An interface in Java is a reference type, similar to a class, that can contain only constants, method signatures, default methods, static methods, and nested types.

  • Interfaces are used to define a contract for classes that implement them.

  • Classes can implement multiple interfaces, but can only extend one class.

  • Interfaces can be used to achieve abstraction and multiple inheritance in Java.

  • Example: interface Shape { void draw(); }

  • Example: class Circle implements Shape { public vo...read more

Add your answer

Q11. how to reverse an string

Ans.

Use a loop to iterate through the string and build a new string in reverse order.

  • Create an empty string to store the reversed string.

  • Iterate through the original string from the end to the beginning.

  • Append each character to the new string.

  • Return the reversed string.

Add your answer

Q12. How to sort and arrray

Ans.

To sort an array of strings, use a sorting algorithm like quicksort or mergesort.

  • Use a sorting algorithm like quicksort or mergesort to sort the array of strings.

  • Implement a comparison function to define the sorting order.

  • Consider the time complexity of the sorting algorithm for efficiency.

  • Example: Sorting an array of strings alphabetically.

Add your answer

Q13. Cycle detection in linked list

Ans.

Cycle detection in linked list involves finding if there is a loop in the list.

  • Use two pointers approach - slow pointer moves one step at a time, fast pointer moves two steps at a time. If they meet, there is a cycle.

  • Floyd's Tortoise and Hare algorithm is commonly used for cycle detection in linked lists.

  • Maintain a set to keep track of visited nodes and check if a node is already in the set while traversing the list.

Add your answer

Q14. Write code for bubble sort

Ans.

Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.

  • Start from the first element and compare it with the next element, swapping if necessary

  • Repeat this process for each pair of adjacent elements in the array until the entire array is sorted

  • Continue this process for each element in the array until no more swaps are needed

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

Interview Process at _VOIS

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

Top Interview Questions from Similar Companies

3.8
 • 2k Interview Questions
4.0
 • 284 Interview Questions
4.1
 • 279 Interview Questions
4.2
 • 239 Interview Questions
3.8
 • 135 Interview Questions
3.7
 • 133 Interview Questions
View all
Top Accelya Solutions India Limited Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 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