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

Lab-file processingobjectivesbulladd persistent data

Lab-File Processing OBJECTIVES • Add persistent data storage to your Week 4 Lab using text file input/output. PROBLEM: Stocks4U Portfolio Management System The portfolio management system you developed for Stocks4U needs ...

Assignment exploring the machinein this assignment you will

Assignment: Exploring the Machine In this assignment, you will explore a computer (i.e., a Windows PC or a Mac computer). Specifically, you will view the system's general information, create a folder on the desktop of th ...

Purpose of this assignmentthe purpose of this written

Purpose of this assignment: The purpose of this written assignment is to verify students' knowledge on some of the topics covered in the second half of the course: The Device Handler, File management, Deadlock, UNIX/Linu ...

1 consider a system of 9 processes p p1 p10 associated

1. Consider a system of 9 processes, P = {p1, ..., p10} Associated with the system are 6 memory cells, M = {M1, .., M6}. The domain and range for each process is given in the following table: Process pi Domain D(pi) Rang ...

Linux implementation proposalphelpstech llc has a new

Linux Implementation Proposal PhelpsTech, LLC. has a new research and development group - Medals. All systems in Medals will run the Linux operating system and will access resources, as well as share resources, with Phel ...

Discussionconduct a system evaluation on your computer

Discussion Conduct a system evaluation on your computer (Windows 8 and 10 are covered) to decide if your current computer meets your needs for now and in the future. (Windows 7, Mac OS) • What is your CPU utilization? • ...

Primary discussion responseprimary discussion response your

Primary Discussion Response Primary Discussion Response: Your classmates, your instructor, and you have been working together over the session as a team. Through discussion board tasks and individual projects, you have s ...

Question 1an important service provided by any system is

Question 1: An important service provided by any system is the ability to run a process on a predetermined schedule without human intervention. The "automation" of tasks can reduce the workload of the system administrato ...

Firewall linux-a simple firewall is a filter which blocks

Firewall (Linux)- A simple firewall is a filter which blocks the packets based on the pre-defined filter rules. There are two general strategies to set-up a filter. One strategy is restrictive firewall which blocks all p ...

Goals1 to gain hands-on experience with fork exec and wait

Goals: 1. To gain hands-on experience with fork(), exec(), and wait() system calls. 2. To master the basics of multi-process application development. 3. To appreciate the performance and fault-tolerance bene_ts of multi- ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate