Add office photos
Engaged Employer

Stryker

4.0
based on 336 Reviews
Filter interviews by

Sayali Facilities Interview Questions and Answers

Updated 5 Feb 2024

Q1. C++ program for EMP ID, name, salary

Ans.

C++ program to store EMP ID, name, and salary using array of strings.

  • Declare an array of strings to store EMP ID, name, and salary

  • Use cin to take input from user and store in the array

  • Use cout to display the stored data

Add your answer

Q2. without loop print 1 to 10

Ans.

Print 1 to 10 without using loops.

  • Use recursion to print numbers.

  • Use a switch statement to print numbers.

  • Use an array and map function to print numbers.

Add your answer

Q3. reverse a string using recursion

Ans.

Reverse a string using recursion

  • Create a function that takes a string as input

  • If the string is empty, return an empty string

  • Otherwise, call the function recursively with the substring starting from the second character

  • Concatenate the first character with the result of the recursive call

Add your answer

Q4. Reverse a integer

Ans.

Reverse an integer

  • Convert integer to string and reverse the string

  • Use modulo operator to extract digits and reverse them

  • Use recursion to reverse the integer

Add your answer
Discover Sayali Facilities interview dos and don'ts from real experiences

Q5. Start condition for SPI

Ans.

The start condition for SPI is a low-to-high transition on the SCK line while SS is high.

  • SPI communication begins when the master device sends a start condition to the slave device.

  • The start condition is a low-to-high transition on the SCK line while SS is high.

  • The SS line is used to select the slave device for communication.

  • The SPI protocol supports multiple slaves, but only one slave can be selected at a time.

  • After the start condition, the master device sends the clock sign...read more

Add your answer

Q6. Thread vs process

Ans.

Thread is a lightweight unit of a process. Process is an instance of a program that runs independently.

  • Threads share the same memory space as the parent process while processes have their own memory space.

  • Threads are faster to create and switch between than processes.

  • Processes are more secure and stable than threads.

  • Example: A web server can have multiple threads to handle multiple requests simultaneously.

  • Example: A word processor can have multiple processes to handle differe...read more

Add your answer

Q7. SPI vs I2C

Ans.

SPI and I2C are communication protocols used to transfer data between devices.

  • SPI is faster than I2C.

  • SPI uses separate lines for data and clock signals while I2C uses a shared line.

  • I2C supports multiple devices on the same bus while SPI requires a separate chip select line for each device.

  • SPI is commonly used for high-speed communication between microcontrollers and peripherals while I2C is used for low-speed communication between sensors and other devices.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

3.7
 • 244 Interview Questions
3.7
 • 50 Interview Questions
3.2
 • 39 Interview Questions
3.7
 • 30 Interview Questions
2.0
 • 22 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