Ask Question, Ask an Expert

+61-413 786 465

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

Show all stepssuppose that the following processes arrive

Show all steps Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. in answering the questions, use non-preemptive scheduling and base all dec ...

Catalog course descriptionin this course students carry out

Catalog Course Description In this course students carry out independent research in a significant technical area of information, network, and computer security. The student is to investigate a technical area, research i ...

Research types of operating systems that are currently

Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Explain why you think the choice you made ...

Assignment -building a multi-threaded web server using c

Assignment - Building a multi-threaded web server using C and p threads, following the model from the lecture. Your program will have one thread acting as a dispatcher thread, listening fornetwork connections with reques ...

Question what do you see as the major differences between

Question : What do you see as the major differences between UNIX/Linux and other operating systems, such as Windows and Mac OS X? The response must be typed, single spaced, must be in times new roman font (size 12) and m ...

Question note apa format 250 words and three reference

Question: Note: APA format 250 words and three reference without plagarism Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use ...

Question research hex editors available for mac os and

Question : Research hex editors available for Mac OS and Linux. Based on the documentation, how easy would validating these tools be? Select at least two hex editors for each OS, and discuss what you would do to validate ...

Taskyour job in this assignment is to create two virtual

Task Your job in this assignment is to create two Virtual machines each running a different but the latest distribution of Linux e.g. Ubuntu Server and CentOS. Each of these VM's is to offer services to a user base. The ...

Foundation of information technologyresearch types of

Foundation of Information Technology Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Expl ...

Question you are a security administrator responsible for

Question: You are a security administrator responsible for providing secure configuration requirements for new laptop deployments. After reading Module 2 of Certified Secure Computer User v2exercises, apply the configura ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As