Add office photos
Samsung Research logo
Employer?
Claim Account for FREE

Samsung Research

3.1
based on 998 Reviews
Video summary
Filter interviews by
Software Development Engineer
Clear (1)

Samsung Research Software Development Engineer Interview Questions and Answers

Updated 5 Feb 2024

Q1. You are given a thread and you are unlocked in a room.Measure the height of the room using string.

Ans.

Measure the height of a room using a thread.

  • Tie one end of the thread to a known height point, such as a door handle.

  • Hold the other end of the thread and let it hang down to the floor.

  • Mark the point where the thread touches the floor.

  • Repeat the process at different points in the room to get multiple measurements.

  • Take the average of the measurements to estimate the height of the room.

Add your answer
right arrow

Q2. Print linked list in reverse order

Ans.

To print a linked list in reverse order, we can use recursion or a stack data structure.

  • Recursion: Traverse the linked list recursively until the end, then print the current node.

  • Stack: Traverse the linked list and push each node onto a stack. Then pop and print the nodes from the stack.

Add your answer
right arrow

Q3. Process Scheduling in operating system

Ans.

Process scheduling is the method by which the operating system decides the order in which processes are executed.

  • Process scheduling determines the fairness and efficiency of resource allocation.

  • Different scheduling algorithms prioritize different factors such as CPU utilization, response time, and throughput.

  • Examples of scheduling algorithms include First-Come, First-Served (FCFS), Round Robin, and Shortest Job Next (SJN).

Add your answer
right arrow

Q4. Deadlock in operating system

Ans.

Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.

  • Deadlock occurs when two or more processes are stuck in a circular wait.

  • Four necessary conditions for deadlock are mutual exclusion, hold and wait, no preemption, and circular wait.

  • Examples of deadlock prevention techniques include resource allocation graphs and bankers' algorithm.

  • Deadlock avoidance techniques involve resource scheduling alg...read more

Add your answer
right arrow
Discover Samsung Research interview dos and don'ts from real experiences

Q5. Dijkstra algorithm

Ans.

Dijkstra algorithm is a graph search algorithm that finds the shortest path between nodes in a weighted graph.

  • Dijkstra algorithm uses a priority queue to select the node with the smallest distance from the source node.

  • It maintains a distance array to keep track of the shortest distance from the source node to each node in the graph.

  • The algorithm iteratively selects the node with the smallest distance and updates the distances of its neighboring nodes.

  • It continues until all no...read more

Add your answer
right arrow

Q6. Bankers algorithm

Ans.

Banker's algorithm is a resource allocation and deadlock avoidance algorithm used in operating systems.

  • Banker's algorithm is used to prevent deadlock in a system with multiple processes and resources.

  • It works by simulating the allocation of resources to processes and checking if it leads to a safe state.

  • The algorithm considers the current allocation, maximum needs, and available resources to make decisions.

  • If a request for resources cannot be granted without leading to an uns...read more

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

Top Software Development Engineer Interview Questions from Similar Companies

View all
Recently Viewed
INTERVIEWS
Centre for Development of Advanced Computing
No Interviews
CAMPUS PLACEMENT
National Institute of Technology (NIT), Tiruchirappalli
INTERVIEWS
Centre for Development of Advanced Computing
No Interviews
CAMPUS PLACEMENT
Centre for Development of Advanced Computing (CDAC)
INTERVIEWS
Centre for Development of Advanced Computing
No Interviews
CAMPUS PLACEMENT
Lovely Professional University (LPU)
INTERVIEWS
Sehaj Synergy Technologies
No Interviews
INTERVIEWS
Sehaj Synergy Technologies
No Interviews
SALARIES
Sehaj Synergy Technologies
INTERVIEWS
Centre for Development of Advanced Computing
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
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