Ask Question, Ask an Expert


Ask Operating System Expert

problem 1)a) describe the use of stack in Macro-Processor? Give ex.

b) What features of assembly language makes it mandatory to design a two pass assembler? Describe with appropriate ex.

problem 2)a) Enlist the various types of errors that are handler by PASS-I and PASS-II of two PASS assembler.

b) Draw a neat flowchart for macroprocessor to handle nested macro definitions.

problem 3)a) Define the terms:

i) Incremental compiler.

ii) Cross compiler.

iii) Bootstrap Compiler.

b) Consider the following segment of code.

int a,b;
float a,b;
a = 10 + b;
b = a*s;

Demonstrate the output of lexical analyzer for the above code segment.

a) Enlist the different tables used and created by the lexical analyzer? Give the format of each of these tables.

b) State TRUE or FALSE:

i) Loader loads and execute the object code.

ii) Linker and loader not needed with re-locatable programs.

iii) Transfer vector is used by direct linking loader.

iv) In absolute loader relocation is done by assembler.

b) With the help of neat diagram describe the state transition of a process.

problem 6)a) What is long-term, short-term and medium-term scheduling? Which one of there is used in process scheduling?

b) Describe the difference between preemptive and non-preemptive process scheduling with an ex.

problem 7)a) Describe virtual memory management.

b) What is swapping? Describe how space is allocated using swapping.

problem 8)a) Consider the following page reference string 1, 2, 3, 4, 2, 1, 5, 6, 1, 2, 3, 7. Number of page frames are three. Show the page trace and find out number of page faults for the following page reference schemes

i) LRU

ii) Optimal.

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M95603

Have any Question? 

Related Questions in Operating System

Problemnbspdescriptionflash back to flash forward see

Problem  Description: Flash Back to Flash Forward (see Chapter 1 Practice Exercise 1.2 and the OS in DevOps Discussion Area) While having a discussion with your OS DevOps team, you are approached with the situation: our ...

Operating system assignmentpart onetopic- operating system

Operating System Assignment Part One Topic- Operating system support for mobile computing Submission Rquirements Project Proposal 1 page 1- Pages - 8 to 10 2- Power point slides 3-The project description document which e ...

1 from this book you have learned a little about the

1. From this book, you have learned a little about the different file systems inWindows and Linux. To get a better handle on the differences between them, write a short memo describing three properties of each of these f ...

Assignmentinstructions please answer all questions in your

Assignment Instructions: Please answer all questions in your own words Part I: Questions 1. In terms of porting UNIX, what part of the UNIX OS requires modification? why? 2. As a system administrator, how do you deal wit ...

Operating systems assignmentwe have just 3 processes p1 p2

Operating Systems Assignment We have just 3 processes, P1, P2 and P3, and they arrive at 1, 15 and 23 milliseconds respectively, and they each have two CPU Burst as follows (there are no I/O Bursts). P1: 10 3 P2: 5 12 P3 ...

1 write a shell script lab2q1sh to do the followingacreate

1. Write a shell script ( to do the following: a. Create list1.txt (use echo command) as: Football Basketball Skates Soccer ball Golf ball Shoes b. Create list2.txt (use echo command) as: Football Basketball S ...

Scripting the gnulinux shell1 write a script that stores

Scripting the GNU/Linux Shell 1. Write a script that stores the time it takes a command (your choice of command) to run in three variables, real, user, and system, corresponding to the three default times that time print ...

Operating systems assignmentprocessor schedulingprocessor

Operating Systems Assignment Processor Scheduling Processor scheduling is aimed to assign processes to be executed by the processor (or processors) in order to achieve certain operating system objectives, such as respons ...

Operating systemsprogramming assignment- virtual memory

Operating Systems Programming Assignment- Virtual Memory Manager with Paged Segments In this assignment, you will design a virtual memory manager with paged segments, and then simulate its operation for five different pa ...

Firewall rulesin this project you will create two simple

Firewall Rules In this project you will create two simple firewall rules in Windows Advanced Firewall. This may be the first time you have made a modification to the firewall on your computer. The first rule will block a ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro