0% found this document useful (0 votes)
217 views

Assignment 6 (Chapter 8 (Operating Systems Support) and 12 Instruction Sets: Characteristics and Functions)

This document outlines an assignment for a class on operating systems and instruction sets. It includes two parts: Part A contains short answer and essay questions about topics like multitasking, memory addressing, and instruction set design. Part B includes problems about job scheduling, CPU utilization, memory paging, packed decimal numbers, and integer representations. Students are instructed to submit their answers in softcopy to Google Classroom by July 22 before 5pm.

Uploaded by

sd
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
217 views

Assignment 6 (Chapter 8 (Operating Systems Support) and 12 Instruction Sets: Characteristics and Functions)

This document outlines an assignment for a class on operating systems and instruction sets. It includes two parts: Part A contains short answer and essay questions about topics like multitasking, memory addressing, and instruction set design. Part B includes problems about job scheduling, CPU utilization, memory paging, packed decimal numbers, and integer representations. Students are instructed to submit their answers in softcopy to Google Classroom by July 22 before 5pm.

Uploaded by

sd
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 6 (Chapter 8 (Operating systems support) and 12

Instruction Sets: Characteristics and Functions)


Submission type: softcopy (handwritten or typing) PLEASE SUBMIT THE ASSIGNMENT
THROUGH GOOGLE CLASSROOM

Due date: 22nd July 2020 (Wednesday, before 5pm) Part


A: Short answers and essay questions

1. What is the difference between multitasking and multiprogramming?


2. If a process may be dynamically assigned to different locations in main memory, what is
the implication for the addressing mechanism?
3. Is it necessary for all of the pages of a process to be in main memory while the process is
executing?
4. How are operations expressed in high level language and machine language?
5. If an instruction contains four address, what might be the purpose of each address?
6. List and briefly explain five important instruction set design issues?

Part B: (Problem Solving Questions)

1. Suppose a computer has 500 Mbytes memory for user programs, three jobs are
submitted at the same time with the attributes listed below:
Job1 Job2 Job3
Type of job Heavy compute Heavy I/O Heavy I/O
duration 14 min 30 min 25 min
Memory required 180 M 290 M 170 M
Need disk No Yes No
Need printer No No Yes

Compute the Throughput per hour and per day and the Elapsed time if the jobs run under
uniprogramming and under multiprogramming system?
2. In a batch operating system, three jobs J1, J2 and J3 are submitted for execution. Each
job involves an I/O activity, a CPU time, and another I/O activity. Job 1 requires a total of
23 ms, with 3 ms CPU time. J2 requires 29 ms total time with 5 ms CPU time. J3 requires
14 ms total time with 4 ms CPU time. Illustrate their execution and find CPU utilization
for uniprogramming and multiprogramming?

3. Give reasons why, for a particular process, the number of pages in memory should be
neither very small nor very large.

4. For each of the following packed decimal numbers, show the decimal value:

a. 0111 0011 0000 1001


b. 0101 1000 0010
c. 0100 1010 0110

5. A given microprocessor has words of 16 bits. What is the smallest and largest integer that
can be represented in the following representations:

a. Unsigned.
b. Sign- magnitude.
d. Twos complement.

End of Questions

You might also like