What are the Viva questions in data structures?

What are the Viva questions in data structures?

Data Structures VIVA Questions :-

  • What is data structure?
  • What are the goals of Data Structure?
  • What does abstract Data Type Mean?
  • What is the difference between a Stack and an Array?
  • What do you mean by recursive definition?
  • What is sequential search?
  • What actions are performed when a function is called?

What are the Viva questions asked in operating system?

Operating System Interview Question

  • 1) What is an operating system?
  • 2) What is the main purpose of an operating system?
  • 3) What are the different operating systems?
  • 4) What is a socket?
  • 5) What is a real-time system?
  • 6) What is kernel?
  • 7) What is monolithic kernel?
  • 8) What do you mean by a process?

What are data structure questions?

Interview Questions

  • Can you explain the difference between file structure and storage structure?
  • Can you tell how linear data structures differ from non-linear data structures?
  • What is an array?
  • What is a multidimensional array?
  • What is a linked list?
  • Are linked lists of linear or non-linear type?

What are the basic questions of operating system?

Basic OS Interview Questions

  • Why is the operating system important?
  • What’s the main purpose of an OS?
  • What are the benefits of a multiprocessor system?
  • What is RAID structure in OS?
  • What is GUI?
  • What is a Pipe and when it is used?
  • What are the different kinds of operations that are possible on semaphore?

What is a fork in OS?

In computing, particularly in the context of the Unix operating system and its workalikes, fork is an operation whereby a process creates a copy of itself. It is an interface which is required for compliance with the POSIX and Single UNIX Specification standards.

What is zombie process in OS?

On Unix and Unix-like computer operating systems, a zombie process or defunct process is a process that has completed execution (via the exit system call) but still has an entry in the process table: it is a process in the “Terminated state”.

Why is fork () used?

The purpose of fork() is to create a new process, which becomes the child process of the caller. After a new child process is created, both processes will execute the next instruction following the fork() system call.

What is safe state in OS?

A state of the system is called safe if the system can allocate all the resources requested by all the processes without entering into deadlock. If the system cannot fulfill the request of all processes then the state of the system is called unsafe.