Add office photos
Engaged Employer

Fluentgrid

3.9
based on 223 Reviews
Filter interviews by

20+ Galaxy Surfactants Interview Questions and Answers

Updated 2 Oct 2024

Q1. Given a ArrayList of String containing some name with some name repeated. Write the code on a notepad printing only the single occurrence of each name in the ArrayList. iImplement the same using Java 8 Streams ...

read more
Ans.

Using Java 8 Streams API to print single occurrences of names in an ArrayList of Strings.

  • Use stream() method on the ArrayList to create a stream of elements.

  • Use filter() method to filter out elements that occur more than once.

  • Use distinct() method to get only unique elements.

  • Use forEach() method to print each unique element.

Add your answer

Q2. You are given a string, name and an integer which is year of birth. You need to print the reverse of year of birth followed by the reverse of name.

Ans.

Reverse the year of birth and name, then print them in that order.

  • Reverse the year of birth using StringBuilder.reverse() method

  • Reverse the name using StringBuilder.reverse() method

  • Print the reversed year of birth followed by the reversed name

Add your answer

Q3. Given a ArrayList of String containing some names with some repeated names. Write the code on a notepad printing each name and the number of occurrences of each name in the ArrayList

Ans.

Code to print each name and the number of occurrences in an ArrayList of Strings.

  • Iterate through the ArrayList and use a HashMap to store the count of each name.

  • Print each name along with its count from the HashMap.

Add your answer

Q4. What are Interfaces and Abstract classed in Java and code an example of an interface on Notepad

Ans.

Interfaces and Abstract classes in Java are used for achieving abstraction and defining contracts for classes to implement.

  • Interfaces in Java are like blueprints for classes, defining methods that must be implemented by classes that implement the interface.

  • Abstract classes are classes that cannot be instantiated and can have both abstract and concrete methods.

  • Example of an interface in Java: public interface Shape { double calculateArea(); double calculatePerimeter(); }

  • Exampl...read more

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

Q5. What are lambda expressions in Java

Ans.

Lambda expressions in Java are a concise way to represent anonymous functions.

  • Lambda expressions are used to provide implementation of functional interfaces.

  • They enable you to treat functionality as a method argument, or code as data.

  • Syntax: (parameters) -> expression or (parameters) -> { statements; }

  • Example: (int a, int b) -> a + b

Add your answer

Q6. What are functional interfaces in Java

Ans.

Functional interfaces in Java are interfaces with only one abstract method, used for lambda expressions and functional programming.

  • Functional interfaces have only one abstract method, but can have multiple default or static methods.

  • They are used for lambda expressions and functional programming in Java.

  • Examples include java.lang.Runnable, java.util.Comparator, and java.util.function.Function.

Add your answer
Are these interview questions helpful?

Q7. What is the android studio? what tools did you use earlier?

Ans.

Android Studio is an Integrated Development Environment (IDE) for Android app development.

  • Android Studio is developed by Google and is the official IDE for Android app development.

  • It provides a user-friendly interface for coding, debugging, and testing Android apps.

  • Android Studio includes various tools such as a layout editor, code editor, emulator, and more.

  • Before Android Studio, developers used Eclipse with the Android Development Tools (ADT) plugin for app development.

Add your answer

Q8. What is the difference between truncate and delete, how many types of joins in SQL and explain briefly, how many languages in SQL. etc...,

Ans.

Truncate is a DDL command that removes all records from a table, while delete is a DML command that removes specific records.

  • Truncate is faster than delete as it does not log individual row deletions.

  • Truncate resets identity columns, while delete does not.

  • Joins in SQL: Inner join, outer join (left, right, full), cross join, self join.

  • Languages in SQL: Data Definition Language (DDL), Data Manipulation Language (DML), Data Control Language (DCL), Transaction Control Language (T...read more

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

Q9. What are Threads in Java

Ans.

Threads in Java are lightweight sub-processes that allow concurrent execution within a single process.

  • Threads allow multiple tasks to be executed simultaneously in a Java program.

  • Threads share the same memory space and resources within a process.

  • Example: Creating a new thread using the Thread class or implementing the Runnable interface.

Add your answer

Q10. What are Streams in Java

Ans.

Streams in Java are sequences of elements that support functional-style operations such as filter, map, reduce, etc.

  • Streams are not data structures, but rather a way to interact with collections of objects.

  • They allow for efficient processing of large amounts of data.

  • Streams can be sequential or parallel, allowing for concurrent processing.

  • Example: List names = Arrays.asList("Alice", "Bob", "Charlie"); Stream stream = names.stream();

Add your answer

Q11. What is the need of area in ospf

Ans.

Areas in OSPF are used to divide a large network into smaller, more manageable subnetworks.

  • Areas reduce the amount of routing information that needs to be exchanged between routers.

  • They also improve network scalability and reduce the impact of network failures.

  • For example, a large organization with multiple campuses might use different areas for each campus.

  • This allows for more efficient routing and easier troubleshooting.

  • Areas are identified by a unique 32-bit number called ...read more

Add your answer

Q12. Charts and their required data types to plot them

Ans.

Different types of charts require different data types to plot them.

  • Line charts require numerical data

  • Bar charts require categorical data

  • Pie charts require numerical data that adds up to 100%

  • Scatter plots require numerical data for both x and y axes

  • Heat maps require numerical data for both x and y axes, and a third numerical value for the color intensity

  • Bubble charts require numerical data for both x and y axes, and a third numerical value for the size of the bubbles

Add your answer

Q13. What is ACL AD value,As number

Ans.

ACL AD value and AS number are related to network security and routing protocols.

  • ACL AD value is the Access Control List Administrative Distance value, which is used to determine the priority of a particular ACL entry in case of multiple entries matching a packet.

  • AS number is the Autonomous System number, which is used in Border Gateway Protocol (BGP) to identify a group of networks under a single administrative domain.

  • ACL AD value and AS number are both important in network ...read more

Add your answer

Q14. What is STP, OSPF BGP

Ans.

STP, OSPF, and BGP are routing protocols used in computer networks.

  • STP (Spanning Tree Protocol) is used to prevent loops in Ethernet networks.

  • OSPF (Open Shortest Path First) is a link-state routing protocol used in IP networks.

  • BGP (Border Gateway Protocol) is used to exchange routing information between different autonomous systems.

  • STP and OSPF are used in local area networks (LANs), while BGP is used in wide area networks (WANs).

Add your answer

Q15. How inter vlan routing

Ans.

Inter VLAN routing is the process of forwarding network traffic between different VLANs.

  • Inter VLAN routing can be achieved through a router or a layer 3 switch.

  • It requires the use of a routing protocol such as OSPF or EIGRP.

  • VLANs must be configured with unique IP subnets to enable inter VLAN routing.

  • ACLs can be used to control traffic flow between VLANs.

  • Inter VLAN routing can improve network performance and security by segregating traffic.

  • Example: A company may have separate ...read more

Add your answer

Q16. Ip routing how many types

Ans.

There are two types of IP routing: static and dynamic.

  • Static routing involves manually configuring the routes in the routing table.

  • Dynamic routing uses protocols to automatically update the routing table.

  • Examples of dynamic routing protocols include OSPF, BGP, and RIP.

  • Static routing is simpler and more secure, but less flexible than dynamic routing.

Add your answer

Q17. what is collection interface what is differences of spring and springboot

Ans.

Collection interface is a framework in Java that represents a group of objects.

  • Collection interface is part of Java's Collections Framework.

  • It provides a unified architecture for representing and manipulating collections of objects.

  • Examples of classes that implement Collection interface are ArrayList, LinkedList, and HashSet.

Add your answer

Q18. What's routing protocols

Ans.

Routing protocols are used to determine the best path for data to travel between network devices.

  • Routing protocols are used in computer networks to exchange information about available routes.

  • They help routers determine the best path for data to travel between devices.

  • Examples of routing protocols include OSPF, BGP, and RIP.

Add your answer

Q19. What do know about API's

Ans.

APIs are sets of protocols and tools for building software applications.

  • API stands for Application Programming Interface

  • APIs allow different software applications to communicate with each other

  • APIs can be used to access data or functionality from a third-party service

  • APIs can be RESTful or SOAP-based

  • Examples of APIs include Google Maps API, Twitter API, and Facebook API

Add your answer

Q20. ROC and AUC Differences

Ans.

ROC and AUC are performance metrics used in binary classification models.

  • ROC (Receiver Operating Characteristic) is a curve that plots the true positive rate against the false positive rate at different classification thresholds.

  • AUC (Area Under the Curve) is the area under the ROC curve and is a measure of the model's ability to distinguish between positive and negative classes.

  • ROC and AUC are commonly used to evaluate the performance of binary classification models and compa...read more

Add your answer

Q21. What's meter base idf

Ans.

Meter Base IDF is an identification number used to uniquely identify a meter base in a utility system.

  • Meter Base IDF stands for Meter Base Identification

  • It is a unique number assigned to each meter base in a utility system

  • The IDF helps in accurately identifying and tracking meter bases

  • It is used for billing purposes and maintenance of the utility system

  • Meter Base IDF can be found on the meter base itself or in utility records

View 1 answer

Q22. Clustering Techniques

Ans.

Clustering techniques are used to group similar data points together based on their characteristics.

  • Clustering is an unsupervised learning technique

  • K-means, hierarchical, and DBSCAN are popular clustering algorithms

  • Clustering can be used for customer segmentation, anomaly detection, and image segmentation

Add your answer

Q23. What are routed protocols

Ans.

Routed protocols are network protocols that are used to send data between different networks.

  • Routed protocols use routing tables to determine the best path for data to travel between networks

  • Examples of routed protocols include IP (Internet Protocol) and IPv6

  • Routed protocols are used in contrast to bridged protocols, which are used to send data within the same network

Add your answer

Q24. What's EBGP and IBGP

Ans.

EBGP and IBGP are two types of Border Gateway Protocol used in networking.

  • EBGP stands for External BGP and is used for communication between different autonomous systems.

  • IBGP stands for Internal BGP and is used for communication within the same autonomous system.

  • EBGP uses different metrics to determine the best path for routing traffic between autonomous systems.

  • IBGP uses the same metrics as the internal routing protocol to determine the best path for routing traffic within t...read more

Add your answer

Q25. How do u make costing sheets

Ans.

Costing sheets are created by gathering all relevant cost information and organizing it in a structured format.

  • Gather all cost information related to the project or product

  • Organize the costs into categories such as labor, materials, overhead, etc.

  • Calculate the total cost for each category and for the project as a whole

  • Include any additional costs such as taxes, shipping, or fees

  • Ensure all calculations are accurate and up to date

Add your answer

Q26. Explain functionality of MDM

Ans.

MDM stands for Master Data Management, which is a method used to define and manage the critical data of an organization to provide, with data integration, a single point of reference.

  • MDM helps in ensuring data consistency and accuracy across the organization.

  • It involves creating and managing a central repository of master data, such as customer, product, and employee information.

  • MDM helps in improving data quality, reducing data redundancy, and streamlining data sharing.

  • It en...read more

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

Interview Process at Galaxy Surfactants

based on 6 interviews in the last 1 year
Interview experience
4.8
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.8
 • 359 Interview Questions
3.7
 • 330 Interview Questions
4.0
 • 249 Interview Questions
4.2
 • 147 Interview Questions
4.1
 • 137 Interview Questions
4.0
 • 133 Interview Questions
View all
Top Fluentgrid 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
Get AmbitionBox app

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