Add office photos
Employer?
Claim Account for FREE

Epicor Software Corporation

3.7
based on 158 Reviews
Video summary
Filter interviews by

Sparsh Communications Interview Questions and Answers

Updated 24 Sep 2024

Q1. to code program which tells if 2 words are anagrams and also program to print a sentence with reverse order of words

Ans.

Program to check if 2 words are anagrams and to print a sentence with reverse order of words.

  • Create a function to check if two words are anagrams by sorting the characters in each word and comparing them.

  • Create a function to reverse the order of words in a sentence by splitting the sentence into words, reversing the order, and joining them back together.

  • Use arrays of strings to store the words in the sentence and the two words to check for anagrams.

Add your answer

Q2. program for sorting (selection sort, insertion sort)

Ans.

Selection sort and insertion sort programs for array of strings

  • Selection sort: Find the smallest element in the array and swap it with the first element, repeat for remaining elements

  • Insertion sort: Iterate through the array, for each element, compare with previous elements and insert in correct position

Add your answer

Q3. to create a simple login page in html

Ans.

Create a simple login page in HTML

  • Use <form> element to create a form for login

  • Include <input> elements for username and password

  • Add a <button> element for submitting the form

  • Use CSS for styling the login page

Add your answer

Q4. 3. String str= abaaac find occurrence of consecutive chars

Ans.

Count the occurrences of consecutive characters in a given string.

  • Iterate through the string and compare each character with the next one

  • Keep track of the count when consecutive characters are found

  • Store the consecutive characters and their counts in an array of strings

Add your answer
Discover Sparsh Communications interview dos and don'ts from real experiences

Q5. Explained MVC patterns used in the application

Ans.

MVC (Model-View-Controller) is a software design pattern that separates the application logic into three interconnected components.

  • Model represents the data and business logic

  • View displays the user interface

  • Controller handles user input and updates the model and view accordingly

  • Example: In a web application, the model could be a database, the view could be an HTML page, and the controller could be a server-side script

Add your answer

Q6. 2. Second Largest Element from an array.

Ans.

Find the second largest element in an array of strings.

  • Convert the strings to integers for comparison.

  • Sort the array in descending order.

  • Return the second element in the sorted array.

Add your answer

Q7. Find unique characters from string

Ans.

To find unique characters from a string, we can iterate through the string and store each character in a set to check for uniqueness.

  • Iterate through the string and store each character in a set

  • Check if the character already exists in the set, if not add it

  • Return the set of unique characters

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

Interview Process at Sparsh Communications

based on 17 interviews
Interview experience
3.6
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 570 Interview Questions
4.1
 • 550 Interview Questions
3.3
 • 405 Interview Questions
3.9
 • 395 Interview Questions
3.5
 • 212 Interview Questions
4.1
 • 143 Interview Questions
View all
Top Epicor Software Corporation Interview Questions And Answers
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

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