Add office photos
Employer?
Claim Account for FREE

Virtusa Consulting Services

3.8
based on 4.5k Reviews
Filter interviews by

30+ Sri Krishna Group Interview Questions and Answers

Updated 3 Sep 2024
Popular Designations
Q1. Reverse Stack Using Recursion

Reverse a given stack of integers using recursion.

Note:

You are not allowed to use any extra space other than the internal stack space used due to recursion. You are not allowed to...read more
View 2 more answers
Q2. Occurrence Of Each Word

You are given a string S of words. Your task is to count the occurrence of each word present in the string S. A word is a sequence of one or more non-space characters, and there can be mu...read more

View 3 more answers
Q3. Number And Digits

You are given a positive number ‘N.’ You need to find all the numbers such that the sum of digits of those numbers to the number itself is equal to ‘N.’

For example:
You are given ‘N’ as 21, th...read more
View 3 more answers
Q4. Technical Questions

Basic concepts of java.
What is Constructor,
what is Oops concept,
What is exceptional handling,
What is multithreading,
how to reverse a linkedlist,
What was your college project,
What is di...read more

Add your answer
Discover Sri Krishna Group interview dos and don'ts from real experiences
Q5. DBMS Question

What are the three levels of data abstraction?

Add your answer
Q6. Java Question

What is the difference between JDK, JRE, and JVM?

Add your answer
Are these interview questions helpful?
Q7. HTML Question

What are some of the advantages of HTML5 over its previous versions?

Add your answer
Q8. HTML Question

What are the various formatting tags in HTML?

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. DBMS Question

What is Cursor? How to use a Cursor?

Add your answer
Q10. DBMS Question

What is meant by normalization and denormalization?

Add your answer
Q11. CSS Question

Difference between reset vs normalize CSS?. How do they differ?

Add your answer
Q12. JavaScript Question

What is the difference between .call() and .apply()?

Add your answer
Q13. JavaScript Question

How do you compare Object and Map

Add your answer
Q14. CSS Question

What is a z-index, how does it function?

Add your answer
Q15. JavaScript Question

What is the difference between let and var

Add your answer
Q16. SQL Question

Combine Two Tables

Add your answer
Q17. Java Question

Difference between Abstract class and Interface.

Add your answer

Q18. Is a string mutable/immutable with an example

Ans.

A string can be both mutable and immutable depending on the programming language.

  • In languages like Java and Python, strings are immutable.

  • In languages like C++ and C#, strings are mutable.

  • Immutable strings cannot be modified once created, while mutable strings can be modified.

  • Example of immutable string: 'hello world'.replace('o', '0') returns 'hell0 w0rld'.

  • Example of mutable string: string s = 'hello'; s[0] = 'j'; s now becomes 'jello'.

Add your answer

Q19. String is immutable. Array and arraylist differences

Ans.

String is immutable, array and arraylist are mutable data structures.

  • String is immutable, meaning its value cannot be changed once it is created.

  • Array is a fixed-size data structure that stores elements of the same data type.

  • ArrayList is a dynamic array that can grow or shrink in size as needed.

  • Example: String str = "hello"; char[] arr = {'h', 'e', 'l', 'l', 'o'}; ArrayList list = new ArrayList();

Add your answer

Q20. What is Java OOP's concept

Ans.

Java OOP's concept is a programming paradigm that uses objects to design applications and programs.

  • Java OOP's concept is based on four main principles: encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation is the process of hiding the implementation details of an object from the outside world.

  • Inheritance allows a class to inherit properties and methods from another class.

  • Polymorphism allows objects to take on multiple forms or behaviors.

  • Abstraction is the pr...read more

Add your answer

Q21. A program on recursion.

Ans.

Recursion is a programming technique where a function calls itself to solve a problem.

  • Recursion involves a base case and a recursive case

  • Recursion can be used to solve problems like factorial, Fibonacci sequence, and binary search

  • Recursion can be less efficient than iterative solutions for some problems

Add your answer

Q22. OOPS concept with examples

Ans.

OOPS is a programming paradigm based on the concept of objects.

  • OOPS stands for Object-Oriented Programming System

  • It focuses on creating objects that contain both data and functions

  • Encapsulation, Inheritance, and Polymorphism are the three main pillars of OOPS

  • Example: A car is an object that has properties like color, model, and functions like start, stop, and accelerate

Add your answer

Q23. Explain Marker Interface.

Ans.

Marker interface is an empty interface used to mark classes for special treatment.

  • Marker interface has no methods or fields.

  • It is used to provide metadata to the JVM or other tools.

  • Examples include Serializable interface in Java.

Add your answer

Q24. Explain OOPs concepts.

Ans.

OOPs concepts are the principles of Object-Oriented Programming, including encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit (object).

  • Inheritance: Allowing a class to inherit properties and behavior from another class.

  • Polymorphism: The ability for objects of different classes to respond to the same method call.

  • Abstraction: Hiding the complex implementation details and showing only the...read more

Add your answer

Q25. Explain synchronization.

Ans.

Synchronization is the coordination of multiple processes or threads to ensure they access shared resources in a controlled manner.

  • Synchronization is important in multi-threaded programming to prevent race conditions and ensure data consistency.

  • Common synchronization mechanisms include locks, semaphores, and monitors.

  • For example, using a mutex lock to protect a critical section of code from being accessed by multiple threads simultaneously.

Add your answer

Q26. Explain Normalization.

Ans.

Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.

  • Normalization is used to eliminate data redundancy by breaking up tables into smaller, related tables.

  • It helps in reducing data anomalies such as update, insert, and delete anomalies.

  • Normalization is achieved through a series of stages called normal forms, such as 1NF, 2NF, 3NF, and BCNF.

  • For example, in a database of students and courses, instead of storing student de...read more

Add your answer

Q27. Explain Array and ArrayList

Ans.

Array is a fixed-size collection of elements of the same data type, while ArrayList is a dynamic-size collection of objects.

  • Array is a static data structure with a fixed size, while ArrayList is a dynamic data structure that can grow or shrink in size.

  • Arrays can only store elements of the same data type, while ArrayList can store objects of different data types.

  • Arrays are accessed using index positions, while ArrayList provides methods for adding, removing, and accessing elem...read more

Add your answer

Q28. Deadlock scenario in thread

Ans.

Deadlock scenario in thread occurs when two or more threads are waiting for each other to release resources, causing a standstill.

  • Two threads each holding a resource needed by the other thread

  • No thread can proceed until the other releases the resource

  • Can be avoided by careful resource allocation and ordering

Add your answer

Q29. Maximum questios from java

Ans.

The question is asking for the maximum number of questions that can be asked from Java.

  • Java is a versatile programming language with a wide range of topics that can be covered in questions.

  • Topics can include data types, control structures, object-oriented programming, exception handling, multithreading, collections, etc.

  • Examples of questions could be related to inheritance, polymorphism, encapsulation, abstraction, interfaces, etc.

Add your answer

Q30. Multithreading in Java

Ans.

Multithreading in Java allows multiple threads to execute concurrently, improving performance and responsiveness.

  • Multithreading is achieved in Java by extending the Thread class or implementing the Runnable interface.

  • Threads can be started using the start() method and controlled using methods like join(), sleep(), and interrupt().

  • Synchronization is important to prevent race conditions and ensure thread safety, which can be achieved using synchronized blocks or methods.

  • Java pr...read more

Add your answer

Q31. Array sort program

Ans.

Implement a program to sort an array of strings

  • Use a sorting algorithm like bubble sort, selection sort, or quicksort

  • Ensure the sorting algorithm is implemented correctly for strings

  • Consider using built-in sorting functions in programming languages like sort() in Python

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

Interview Process at Sri Krishna Group

based on 10 interviews in the last 1 year
3 Interview rounds
Aptitude Test Round
Technical Round 1
Technical Round 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Software Engineer Interview Questions from Similar Companies

3.4
 • 47 Interview Questions
4.2
 • 32 Interview Questions
4.0
 • 15 Interview Questions
3.7
 • 14 Interview Questions
3.7
 • 11 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
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