Thoughts2Binary Consulting & Solutions
Divine Empire Interview Questions and Answers
You have given a Singly Linked List of integers, determine if it forms a cycle or not.
A cycle occurs when a node's next points back to a previous node in the list. The li...read more
You have given two 32 bit signed integers, and you have to check if their multiplication will overflow 32 bit signed integer or not.
An integer overflow occurs when you attempt to store in...read more
Degree between an hour hand and a minute hand
Find the degree between an hour hand and a minute hand? Gave me a pen and paper to come up with the answer (it was an equation).
Q4. what is testingq
Testing is the process of evaluating a software application to find defects and ensure it meets requirements.
Testing involves executing the software with the intention of finding bugs or issues.
It helps ensure the software meets the specified requirements and functions correctly.
Types of testing include unit testing, integration testing, system testing, and acceptance testing.
Q5. why do we do testing
Testing is done to ensure the quality, functionality, and reliability of software products.
To identify defects and bugs in the software
To ensure the software meets the requirements and specifications
To improve the user experience and satisfaction
To prevent potential failures and issues in production
To validate that the software works as intended
Q6. Constructors and its usage
Constructors are special methods in classes used to initialize objects. They are called automatically when an object is created.
Constructors have the same name as the class and are defined using the __init__() method.
They can be used to set initial values for object attributes.
Constructors can take parameters to customize object initialization.
Example: class Person: def __init__(self, name, age): self.name = name self.age = age person1 = Person('Alice', 30)
Interview Process at Divine Empire
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month