Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
define grammar of a languagea formal language grammar is a set of formation rules which describe that strings formed from the alphabet of a formal
explain difference between scanning and parsingscanning and parsing scanning process is the process of recognizing the lexical components in a source
explain difference between dynamic and static bindingdynamic and static binding dynamic binding is a binding performed after the execution of a
explain difference between problem-oriented and procedure-oriented languageproblem-oriented and procedure-oriented language the programming languages
give a solution for readers-writers problem using conditional critical regionssolution for readers-writers problem using conditional critical
explain readers-writers problemreaders-writers problem assume that a data object as a file or record is to be shared between several concurrent
disadvantage and advantage of mutual-exclusion implementation with semaphoresdisadvantage mutual-exclusion solutions specified by semaphores require
how semaphores implement mutual exclusionmutual-exclusion implementation along with semaphoresassume that there are n-processes and they share a
what are semaphoressemaphore a semaphore is a synchronization tool which gives a general-purpose solution to controlling access to critical sections
an operating system contains 3 resource classes the number of resource units in these classes is 7 7 and 10 the current resource allocation state is
explain the necessary conditions for deadlock to occur conditions for deadlock to arise arei mutual exclusion at least one resource must be held in a
define deadlockdeadlock is a condition wherein processes never finish executing and system resources are tied up preventing another job from
what is threada thread sometimes termed a lightweight process lwp is a fundamental unit of cpu utilization this comprises a thread id a register set
what are the differences between user level threads and kernel supported threadsa thread sometimes termed a lightweight process lwp is a fundamental
consider the following set of jobs with their arrival times execution time in minutes and deadlines job idsarrival timeexecution
consider the following set of jobs with their arrival times execution time in minutes and deadlines job idsarrival
explain direct or indirect communication in inter-process communicationseveral types of message passing system in direct or indirect communication
what are interacting processesinteracting processes the concurrent processes executing into the operating system are cooperating or interacting
explain any two methods of implementing interacting processestwo methods of implementing interacting process are given belowi shared memory solution
what is processprocess a process is a program in executionit is an active entity represented through the value of the program counter and the
list the typical functions of operating systemsclassical functions of operating system are given as1 process management a process is a program
what are interrupts interrupt an interrupt is a hardware mechanism which enables an external device classically inputoutput devices to send a
what is an operating system an operating system is system software which provides interface between hardware and user the operating system gives the
explain debug monitorsdebug monitors give debugging support for a program a debug monitor executes the program being debugged in its own control
explain yet another compiler-compileryacc uses for yet another compiler-compiler computer program input usually has some structure actually all