Add office photos
Employer?
Claim Account for FREE

Jio Platforms

3.5
based on 1.4k Reviews
Filter interviews by

Sana International School Interview Questions and Answers

Updated 22 Aug 2024
Popular Designations

Q1. Maximum Sum After Removing K Corner Elements

Given an array arr of 'N' integer elements, your goal is to remove 'K' elements from either the beginning or the end of the array. The task is to return the maximum ...read more

Ans.

Given an array of integers, remove K elements from either end to maximize sum of remaining elements.

  • Iterate through all possible combinations of removing K elements from start and end

  • Calculate sum of remaining elements for each combination

  • Return the maximum sum obtained

Add your answer

Q2. Sum of Two Elements Equals the Third

Determine if a given array contains a valid triplet of integers where two elements sum up to the third. Specifically, find indices i, j, and k such that i != j, j != k, and ...read more

Ans.

Check if a given array contains a valid triplet where two elements sum up to the third.

  • Iterate through all possible triplets in the array and check if any of the conditions are satisfied.

  • Use nested loops to compare each element with every other element in the array.

  • Handle cases where the elements are not distinct by ensuring i != j, j != k, and i != k.

Add your answer

Q3. Idempotent Matrix Verification

Determine if a given N * N matrix is an idempotent matrix. A matrix is considered idempotent if it satisfies the following condition:

M * M = M

Input:

The first line contains a si...read more
Ans.

Check if a given matrix is idempotent by verifying if M * M equals M.

  • Calculate the product of the matrix with itself and compare it with the original matrix.

  • If the product equals the original matrix, then it is idempotent.

  • Iterate through the matrix elements to perform the necessary calculations.

Add your answer

Q4. Difference between spring and spring boot

Ans.

Spring is a framework for building Java applications, while Spring Boot is a tool for quickly creating Spring-based applications.

  • Spring provides a comprehensive framework for building Java applications, including features like dependency injection, AOP, and MVC.

  • Spring Boot is a tool that simplifies the process of creating Spring-based applications by providing auto-configuration and embedded servers.

  • Spring Boot also includes features like health checks, metrics, and externali...read more

Add your answer
Discover Sana International School interview dos and don'ts from real experiences

Q5. What is encapsulation

Ans.

Encapsulation is the process of hiding implementation details and providing a public interface for accessing the functionality.

  • Encapsulation helps in achieving data abstraction and information hiding

  • It prevents direct access to the internal state of an object

  • It allows for better control over the data and prevents unintended modification

  • Example: A class with private variables and public methods to access them

Add your answer

Q6. What data types in python

Ans.

Python has several built-in data types including integers, floats, strings, booleans, lists, tuples, and dictionaries.

  • Integers are whole numbers, positive or negative

  • Floats are decimal numbers

  • Strings are sequences of characters

  • Booleans are either True or False

  • Lists are ordered collections of items

  • Tuples are ordered, immutable collections of items

  • Dictionaries are unordered collections of key-value pairs

Add your answer

Q7. Difference between c and c++

Ans.

C++ is an extension of C with object-oriented programming features.

  • C++ supports classes and objects while C does not.

  • C++ has better support for function overloading and templates.

  • C++ has a built-in exception handling mechanism.

  • C++ supports references while C does not.

  • C++ has a standard library that includes many useful functions.

  • C++ is more complex than C and requires more memory.

  • C++ is often used for developing large-scale applications.

  • C is often used for system programming ...read more

Add your answer

Q8. what are java 8 features

Ans.

Java 8 features include lambda expressions, functional interfaces, streams, and default methods.

  • Lambda expressions allow functional programming in Java

  • Functional interfaces enable the use of lambda expressions

  • Streams provide a concise way to process collections

  • Default methods allow interfaces to have implementation

  • Date and Time API improvements

  • Nashorn JavaScript engine

  • Parallel array sorting

  • Type annotations

Add your answer

Q9. Past Projects Design

Ans.

Designed a web application for tracking inventory and sales data

  • Utilized MVC architecture for clean code separation

  • Implemented responsive design for mobile compatibility

  • Integrated data visualization tools for easy analysis

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

Interview Process at Sana International School

based on 7 interviews
2 Interview rounds
Coding Test Round
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.5
 • 34 Interview Questions
1.9
 • 30 Interview Questions
3.6
 • 25 Interview Questions
3.3
 • 17 Interview Questions
3.7
 • 15 Interview Questions
4.0
 • 14 Interview Questions
View all
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