Alpingi.com

Freshers Jobs | AMCAT | FRESHERSWORLD | JEE | NEET | GATE & CAT

AMCAT coupon code --> ALP50 | Freshersworld Discount Code --> AFF1451AGI
Alpingi.com New UpdatesAMCAT Discount Code (ALP50) - get upto 100 flat off Alpingi.com UpdatesFreshersworld Coupon Code (AFF1451AGI) - - get flat 100 off

AMCAT Process Management and Synchronization Questions 2018 – Computer Science

AMCAT Process Management and Synchronisation Questions 2018: It is one of the most aspired and sought after employment tests. The exam is comparatively easier and its results are used for hiring purpose, by all the top level IT Companies. In particular, all the graduates are eligible to take up this test. Since the competition and the mass of candidates have also increased over time. Therefore, it is highly recommended to score the best.

Below we will be discussing on AMCAT Process Management and Synchronisation Questions in detail.

AMCAT Process Management and Synchronisation Questions – Computer Science Branch

Besides Logical and Quantitative ability and English language, Computer Science section is an optional module in AMCAT Test. But the marks in this module leaves a better impact on the recruiter. In this section, as has been noted, 26 questions should be completed in 25 minutes. It comes out to be less than one minute for a question. So definitely time management needs to be done to procure good marks. To emphasize, this will help you in standing out among other candidates. Also, it will invite a call from the companies sooner.

By all means, in Computer Science part, Process Management & Synchronisation is an important topic. In general, 2 questions will come whose difficulty level is average to tough. You can nail it only if you are familiar with the relevant theory of the chapter.

About Process Management & Synchronisation

When you got to your Task Manager in the laptop or PC, you see a list of processes running. Once the programs are compiled and executed, these processes are created.

AMCAT Process Management and Synchronisation Questions

AMCAT Process Management and Synchronisation

Based on Synchronisation, processes are classified into two types:

  1. Independent Process– Here the processes run independently. This does not affect the execution of others.
  2. Cooperated Process– Since resources are shared here, hence execution of one process can affect the execution of other processes. In case of cooperated process, there are chances of synchronisation problem.

The problem that is often encountered is called Critical section problem. This section is nothing but a segment of code that can be accessed by one process at a time. The solution can be explicitly in three ways.

  • Mutual Exclusion : When a process is executing in its critical section, then other processes should not interrupt.
  • Progress : When no process is in the critical section, then no other process from outside can block it from entering the critical section.
  • Bounded Waiting : A limit must exist on the number of times that other processes are allowed to enter their critical sections

Following are the possible solutions to it.

Peterson’s Solution

In this solution two shared variables are created which significantly help two processes trying to execute the code.

  • boolean flag[i] :Initialized to FALSE, initially no one is interested in entering the critical section
  • int turn : The process whose turn is to enter the critical section.

TestAndSet

TestAndSet is a hardware solution to the synchronization problem. In this method a shared lock variable is explicitly defined. It can take either of the two values, 0 or 1.

So in this attempt, a process inquires about the lock before entering into the critical section. If it is locked, it waits till it becomes free. On the other hand, if it is not locked, it takes the lock and executes the critical section.

Semaphores

A Semaphore is an integer variable. It is accessed only through two operations – wait() and signal().

Download AMCAT Process Management and Synchronisation Questions pdf

AMCAT Process Management and Synchronisation Sample Questions

AMCAT Computer Programming Questions Papers

AMCAT CSE Question Papers

Practice Questions for Process Management & Synchronization

Question 1:  In ——————, if a parent process terminates, then all of its children processes must also
terminate.
A. process termination
B. serial termination
C. parallel termination
D. cascading termination
Answer: Option D
Explanation: If one process is terminated and its related processes are also terminated abnormally, then it is called cascade termination. It occurs in the case of parent child process. If the parent process terminates normally or abnormally then all its child processes are terminated.

Question 2: A semaphore S is an integer variable that, apart from initialization, is accessed only through two standard atomic operations What are those operations?
A. test() and set()
B. wait() and signal()
C. lock() and unlock()
D. test() and flag()
Answer: Option B

Question 3:For FIFO page replacement algorithms with 4 frames, the number of page faults is :
A. 16
B. 14
C. 11
D.15
Answer: Option B

Question 4:Consider the following page reference string : 1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6 i) For LRU page replacement algorithm with 4 frames, the number of page faults is :
A. 14
B. 8
C. 11
D. 1
Answer: Option D

Question 5:The most optimal scheduling algorithm is :
A. FCFS – First come First served
B. SJF – Shortest Job First
C. RR – Round Robin
D. None of these
Answer: Option B

Question 6: Round robin scheduling falls under the category of :
A. Non Preemptive
B. Preemptive
C. Mutli Preemptive
D. None of these
Answer: Option B

Question 7: Bankers Algorithm is a technique of _________
A. deadlock avoidance
B. deadlock prevention
C. deadlock detection
D. deadlock creation
Answer: Option  A

Kindly leave a comment below for any queries or any additions to AMCAT Process Management and Synchronisation Questions 2018.

More topics on AMCAT CSE Module Question Papers:

Operating System and Computer Architecture

DBMS (Data Base Management System)

Computer Networks

AMCAT Directory

How to Register for AMCAT Test

AMCAT Sample Question Paper

AMCAT Exam Pattern and Syllabus

AMCAT Registration

AMCAT Exam Benefits and Fees

How to avail Discount on AMCAT Test

AMCAT Discount Coupon Code

AMCAT or Elitmus or Cocubes

Leave a Reply

Your email address will not be published.

alpingi © 2018