Horizontal Integration
SoftwareONE Interview Questions and Answers
Q1. Find sublost from a lost which gives maximum sum value
Find subarray with maximum sum value
Use Kadane's algorithm to find the maximum subarray sum
Initialize max_so_far and max_ending_here to 0
Loop through the array and update max_ending_here and max_so_far
Return the subarray with maximum sum value
Q2. Difference between truncate and delete command
Truncate removes all data from a table while delete removes specific rows.
Truncate is faster than delete as it doesn't log individual row deletions
Truncate resets the identity of the table while delete doesn't
Truncate cannot be rolled back while delete can be
Truncate is a DDL command while delete is a DML command
Q3. Explain about mvc and mvt architecture
MVC and MVT are software architecture patterns used for developing web applications.
MVC stands for Model-View-Controller and separates the application into three interconnected components.
MVT stands for Model-View-Template and is similar to MVC but with a different approach to handling user input.
In MVC, the Model represents the data and business logic, the View displays the data to the user, and the Controller handles user input and updates the Model and View accordingly.
In ...read more
Q4. Difference between list and tuple
List is mutable and tuple is immutable in Python.
List can be modified after creation, tuple cannot
List uses square brackets [], tuple uses parentheses ()
List is slower than tuple in terms of performance
List is used for collections of data that may change, tuple for fixed collections
Q5. Explain Many to many relationship
Many to many relationship is a type of relationship between two entities where one entity can have multiple instances of another entity and vice versa.
It involves a junction table that connects the two entities.
It allows for complex data modeling and querying.
Example: A student can enroll in multiple courses and a course can have multiple students.
Example: A book can have multiple authors and an author can have written multiple books.
Q6. Difference between flask and Django
Flask is a micro web framework while Django is a full-stack web framework.
Flask is lightweight and flexible while Django is more structured and includes many built-in features.
Flask is better for small to medium-sized projects while Django is better for larger projects.
Flask has less built-in functionality but allows for more customization while Django has more built-in functionality but is less customizable.
Flask is easier to learn and use while Django has a steeper learning...read more
Q7. Accounting entries in Procurement cycle
Accounting entries are made in procurement cycle to record financial transactions.
When goods are received, a debit entry is made to inventory account and a credit entry is made to accounts payable account.
When goods are issued, a debit entry is made to cost of goods sold account and a credit entry is made to inventory account.
When invoice is received, a debit entry is made to accounts payable account and a credit entry is made to expense account.
When payment is made, a debit ...read more
Q8. Special procurement in SCM
Special procurement types in SAP Supply Chain Management (SCM)
Special procurement types are used to handle procurement scenarios that are not covered by standard procurement types
Examples include subcontracting, consignment, pipeline, and stock transfer
Subcontracting involves sending raw materials to a vendor who will process them into finished goods
Consignment involves placing goods at a customer's location until they are used or sold
Pipeline involves transporting goods thro...read more
Interview Process at SoftwareONE
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month