Light & Wonder
10+ Supremology Software Services Interview Questions and Answers
Q1. Java oops concepts and describe overloading
Java oops concepts include encapsulation, inheritance, abstraction, and polymorphism. Overloading is a way to define multiple methods with the same name but different parameters.
Encapsulation: bundling data and methods that operate on that data within a single unit
Inheritance: creating new classes from existing ones
Abstraction: hiding implementation details and showing only the necessary information
Polymorphism: using a single interface to represent multiple types
Overloading:...read more
Q2. Encapsulation how to achieve in java
Encapsulation in Java is achieved by using access modifiers and creating classes with private fields and public methods.
Use access modifiers such as private, public, and protected to restrict access to fields and methods
Create classes with private fields and public methods to control access to data
Encapsulation helps to maintain data integrity and prevent unauthorized access to data
Example: class Person { private String name; public void setName(String name) { this.name = nam...read more
Q3. What are the pillars of OOPS?
The pillars of OOPS are Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation restricts access to certain components within a class, protecting the data from outside interference.
Abstraction hides the complex implementation details and only shows the necessary features to the user.
Polymorphism allows objects to be treated as instances of their parent class, enabling flexibility ...read more
Q4. How would you approach writing a program that clears a grid based on following conditions. 1. Take any grid which has values in each cell. There is a ball that moves in all 8 directions from any point in the gr...
read moreApproach: Create a program to clear a grid by moving a ball in all 8 directions and clearing cells at the center.
Create a grid with values in each cell
Randomly select a starting point and direction for the ball
Move the ball in all 8 directions, clearing cells at the center
Reroute the ball when it reaches the edge
Continue until all cells are cleared
Q5. How does a IEnumerator work in C# and not in Unity. For ex: If i have a function that has yield return 8; yield return 10; yield return 15; in 3 lines how does it work. I have answered it based on unity, that i...
read moreAn IEnumerator in C# is used to iterate over a collection of objects one at a time, allowing for more efficient memory usage and performance.
IEnumerator is used to implement custom iterators in C# by defining a method with a yield return statement.
Each time the iterator is called, it returns the next value in the sequence defined by the yield return statements.
IEnumerators can be used in foreach loops to iterate over the values returned by the iterator.
Q6. How would you approach writing a program that creates a new integer array based on the following condition: Given an input integer array, for each element in the array, calculate the sum of all integers smaller...
read moreCreate a new array with sums of all integers smaller than each element in the input array.
Iterate through the input array and for each element, calculate the sum of all integers smaller than the current element.
Populate the new array with these sums.
Use a lambda expression to simplify the code.
Q7. Networkteoubleshooting Sql integration with application
Integration of SQL with application and network troubleshooting
Ensure proper network connectivity between application and SQL server
Check SQL server logs for any errors or issues
Verify SQL server configuration and permissions
Test SQL queries and data retrieval from application
Use network monitoring tools to identify and resolve network issues
Q8. What design patterns you use in your games?
I use design patterns such as MVC, Observer, and Factory in my games for better organization and scalability.
MVC (Model-View-Controller) for separating game logic, user interface, and data
Observer for handling events and notifications between game components
Factory for creating objects without specifying the exact class
Q9. What is linked list?
A linked list is a data structure where each element points to the next element in the sequence.
Consists of nodes connected by pointers
Allows for dynamic size and efficient insertion/deletion
Examples: singly linked list, doubly linked list
Q10. Join two tables using joins in sql
Joining two tables in SQL using JOINs to combine data based on a related column
Use INNER JOIN to return rows when there is at least one match in both tables
Use LEFT JOIN to return all rows from the left table and the matched rows from the right table
Use RIGHT JOIN to return all rows from the right table and the matched rows from the left table
Use FULL JOIN to return rows when there is a match in one of the tables
Q11. Find if number is power of 2 or not
Check if a number is a power of 2 or not
A number is a power of 2 if it has only one bit set to 1
Use bitwise operations to check if the number is a power of 2
If the number is a power of 2, it will be greater than 0 and have only one bit set to 1
Q12. Explain about trees?
Trees in Unity are hierarchical data structures used to organize game objects in a parent-child relationship.
Trees are used to create complex scenes by organizing game objects in a hierarchy.
Each game object can have one parent and multiple children, forming a tree structure.
Transform properties like position, rotation, and scale are relative to the parent in the tree.
Example: A tree structure can be used to represent a character with body parts as children of the main charac...read more
Top HR Questions asked in Supremology Software Services
Interview Process at Supremology Software Services
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month