Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

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.

main()
{
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

Linux implementation proposallinx llc has a new research

Linux Implementation Proposal Linx, LLC. has a new research and development group - LSDG. All systems in LSDG will run the Linux operating system and will access resources, as well as share resources, with Linx, LLC.'s M ...

1 write a shell script lab2q1sh to do the followingacreate

1. Write a shell script (lab2_q1.sh) 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 ...

Assignmentthe power supply provides the power for all of

Assignment The power supply provides the power for all of the components of a personal computer. When replacing a power supply, it is important to consider the power needs of the internal components of the system, as wel ...

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 ...

V1 file processing commands worksheetmiddot

Version 1 File Processing Commands Worksheet · What UID and PID have the highest amount of physical memory a process has used and is not swapped out? Show all processes and full output. · If using a long listing and no p ...

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 ...

Questionwhen designing a kernel with rudimentary

Question: When designing a kernel with rudimentary functionality, what are the required services? Justify your answer and provide an example. provide atleast 15 lines. do the best. need reference which is good.

Foundations of informationsthere are so many operating

Foundations of Informations There are so many operating systems available in the market that it's difficult to decide which one is the best. Search the Internet for information on the following operating systems, and dra ...

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 ...

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 ...

  • 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

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

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen