Add office photos
Employer?
Claim Account for FREE

Wittybrains Software Technologies

4.0
based on 31 Reviews
Video summary
Filter interviews by

10+ Andromeda Shipping Interview Questions and Answers

Updated 25 Jun 2024
Popular Designations

Q1. Write a program to count vowels and consonants in string

Ans.

A program to count the number of vowels and consonants in a given string.

  • Iterate through each character in the string

  • Check if the character is a vowel or consonant

  • Increment the respective count

  • Return the counts of vowels and consonants

View 2 more answers

Q2. What is the difference between truncate and drop command

Ans.

Truncate removes all data from a table while drop deletes the table itself.

  • Truncate is faster than drop as it only removes data and not the table structure

  • Truncate cannot be rolled back while drop can be

  • Truncate resets the identity of the table while drop does not

  • Truncate can only be used on tables while drop can be used on tables, views, and indexes

Add your answer

Q3. Write a program to delete middle node from the linked list

Ans.

Program to delete middle node from linked list

  • Traverse the list to find the middle node

  • Delete the middle node by updating pointers

  • Handle edge cases like even number of nodes

Add your answer

Q4. what is oops, what are 4 pillars in oops, what are class and object, what is interface oops, questions. then Data structure and algorithms 1 what is an array, LinkedList, stack, queues, tree, graph, and its ope...

read more
Ans.

Interview questions for Software Developer covering OOPs, Data Structures and Algorithms, and DBMS.

  • OOPs: 4 pillars, class, object, and interface

  • Data Structures: array, LinkedList, stack, queues, tree, graph, and their operations

  • Algorithms: Fibonacci series, palindrome, array min max questions

  • DBMS: general questions

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

Q5. Write a program to reverse a string

Ans.

Program to reverse a string

  • Use a loop to iterate through the string and append each character to a new string in reverse order

  • Alternatively, use built-in string functions like reverse() or slice()

View 1 answer

Q6. Write a program to find the duplicate number in an array ranging 1 to 100, the input array contains exactly 100 items.

Ans.

Program to find duplicate number in array of 1 to 100 items.

  • Iterate through array and use a set to keep track of seen numbers.

  • If a number is already in set, it is a duplicate.

  • Return the duplicate number found.

Add your answer
Are these interview questions helpful?

Q7. What is static keyword

Ans.

Static keyword is used to define a class-level variable or method that can be accessed without creating an instance of the class.

  • Static variables are shared among all instances of a class

  • Static methods can be called without creating an object of the class

  • Static keyword can also be used to define a static block of code that gets executed only once when the class is loaded

  • Example: public static int count = 0; or public static void printMessage() {}

Add your answer

Q8. On which technology do you wish to work?

Ans.

I wish to work on developing applications using artificial intelligence and machine learning technologies.

  • Passionate about developing intelligent systems that can learn and adapt

  • Interested in working on projects involving natural language processing, computer vision, and predictive analytics

  • Experience with tools and frameworks like TensorFlow, PyTorch, and scikit-learn

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

Q9. Explain oops concept (polymorphism)

Ans.

Polymorphism is the ability of an object to take on many forms.

  • Polymorphism allows objects of different classes to be treated as if they are of the same class.

  • It can be achieved through method overloading or method overriding.

  • Example: A shape class can have different subclasses like circle, square, and triangle. Each subclass can have its own implementation of the draw method.

  • Polymorphism makes code more flexible and reusable.

Add your answer

Q10. What is Regression Testing. Functional Testing, Smoke testing?

Ans.

Regression testing ensures changes don't break existing functionality. Functional testing checks if software meets requirements. Smoke testing checks basic functionality.

  • Regression testing verifies that changes to the software do not break existing functionality

  • Functional testing checks if the software meets the specified requirements

  • Smoke testing checks the basic functionality of the software

  • Regression testing is usually automated

  • Functional testing can be manual or automated...read more

Add your answer

Q11. Wap where n=2, power=3, output=8 using recursion

Ans.

A Java program to calculate the power of a number using recursion.

  • Create a recursive function that takes two parameters: the number and the power.

  • If the power is 0, return 1.

  • If the power is 1, return the number.

  • Otherwise, recursively call the function with the number multiplied by itself and the power decreased by 1.

  • Return the result.

View 1 answer

Q12. Wap to print prime number between 1-100 alternately?

Ans.

Print prime numbers between 1-100 alternately using Java.

  • Create a function to check if a number is prime or not.

  • Use a loop to iterate through numbers 1-100.

  • Alternate between printing prime and non-prime numbers.

  • Use a boolean variable to keep track of whether the last printed number was prime or not.

Add your answer

Q13. Wap to print prime number between 1-100?

Ans.

A program to print prime numbers between 1-100.

  • Iterate from 1 to 100

  • For each number, check if it is divisible by any number from 2 to itself-1

  • If not divisible by any number, it is a prime number

View 1 answer

Q14. Difference between overloading and overriding

Ans.

Overloading is when multiple methods have the same name but different parameters. Overriding is when a subclass provides a different implementation of a method inherited from its superclass.

  • Overloading is compile-time polymorphism, while overriding is runtime polymorphism.

  • Overloading allows a class to have multiple methods with the same name but different parameters.

  • Overriding is used to provide a different implementation of a method in a subclass.

  • Overloading is determined at...read more

View 1 answer

Q15. how to create thread

Ans.

To create a thread in Java, you can extend the Thread class or implement the Runnable interface.

  • Extend the Thread class and override the run() method

  • Implement the Runnable interface and pass an instance to the Thread constructor

  • Start the thread using the start() method

  • Example: Thread thread = new Thread(() -> System.out.println("Hello World")); thread.start();

Add your answer

Q16. Overloading vs Overriding

Ans.

Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in its superclass.

  • Overloading is compile-time polymorphism while overriding is runtime polymorphism

  • Overloading is used to provide different ways of calling a method with different parameters

  • Overriding is used to provide a specific implementation of a method in a subclass

  • Overloading can be done in the same...read more

Add your answer

Q17. What is recursion

Ans.

Recursion is a programming concept where a function calls itself to solve a problem by breaking it down into smaller subproblems.

  • Recursion involves a base case and a recursive case

  • It is commonly used to solve problems that can be divided into smaller, similar subproblems

  • Examples include factorial calculation, Fibonacci sequence, and tree traversal

View 1 answer

Q18. What is constructor

Ans.

A constructor is a special method used to initialize objects in a class.

  • Constructors have the same name as the class they belong to.

  • They are called automatically when an object is created.

  • Constructors can have parameters to initialize object properties.

  • They can be overloaded to have multiple versions with different parameters.

  • Constructors can also call other constructors using the 'this' keyword.

View 1 answer

Q19. Methods in thread

Ans.

Methods in thread are used to perform tasks concurrently.

  • Thread.start() method is used to start a new thread.

  • Thread.sleep() method is used to pause the execution of a thread.

  • Thread.join() method is used to wait for a thread to finish its execution.

  • Thread.yield() method is used to give a chance to other threads to execute.

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

Interview Process at Andromeda Shipping

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

Top Interview Questions from Similar Companies

3.7
 • 2.9k Interview Questions
3.7
 • 351 Interview Questions
3.3
 • 326 Interview Questions
4.1
 • 279 Interview Questions
4.0
 • 265 Interview Questions
4.2
 • 168 Interview Questions
View all
Top Wittybrains Software Technologies 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
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