0% found this document useful (0 votes)
33 views6 pages

Operating System: SECTION A:answer All Questions of This Section (/55mrks)

This document provides instructions for an interschool exam on operating systems for senior 5 students. It outlines the exam structure which includes 3 sections (A, B, C) and time allotment of 3 hours. Section A requires answering all questions, Section B requires choosing 3 questions to answer, and Section C is compulsory. The document provides sample questions in each section related to operating system concepts like memory management, processes, and file systems.

Uploaded by

Christian AMANI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views6 pages

Operating System: SECTION A:answer All Questions of This Section (/55mrks)

This document provides instructions for an interschool exam on operating systems for senior 5 students. It outlines the exam structure which includes 3 sections (A, B, C) and time allotment of 3 hours. Section A requires answering all questions, Section B requires choosing 3 questions to answer, and Section C is compulsory. The document provides sample questions in each section related to operating system concepts like memory management, processes, and file systems.

Uploaded by

Christian AMANI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

INTERSCHOOL EXAM OF ----operating system --------------

LEVEL: SENIOR 5

TERM:1ST

ACADEMIC YEAR: 2014

TIME: 3HOURS

_____________________________________________________________________________

INSTRUCTIONS:

- This exam has three sections: A, B and C


- Section A: answer all the questions (55 marks)
- Section B: choose three section to answer (30 marks)
- Section C: this section is compulsory (15marks)

SECTION A:answer all questions of this section( /55mrks)

1. Define the following terms:

a) Swapping
b) Process loading

2. Differentiate

a) Internal fragmentation to External fragmentation


b) Page and segment

3. As computer Scientist explain what is Main memory?

4. What are the type of memory do we have considering DOS?

5. a) what component of a computer system holds the operating system when the computer is not
running?

b) When an application stops running do you think that it is copied from main memory back to the
HDD?
6. List down how to display system information and the version of your Operating System?

7. What is an operating system? Give 5 examples.

8. What is the difference between a function call and system call?

9. What are the principle problems to be handled by operating system to manage the main memory

10. What are the four pillars on which the computer stands?

11. What do you mean by a coalescing of holes?

SECTION B: Attempt only 3 questions in this section(30 MARKS)

12. Write in full words: FAT,NTFS,GUI,JCL,CPU,RAM,ROM,POST,DMA,MS-DOS

13. Differentiate driver from a controller

14. A computer uses an 20bit address system, with 8 bits used as a page address and 14 bits used as displacement
calculate the total number of a pages and express the following address as a paging address: 00110101101001110010

15. Give the diagram showing the life cycle of a process or a process state.

SECTION C: Attempt only one question(15 MARKS)

17. Differentiate fixed partition memory allocation from Variable Partition memory allocation

18. Explain three parts of an operating system


ANSWER SHEET OF OPERATING SYSTEM S5 C.SC

SECTION A: ANSWER ALL QUESTIONS

1.Define

a) Swapping: This is done in order to accommodate process, the overall effect


therefore being a’ swap’ of two processes
b) Process loading: In order to execute a process, the program code has to be
transferred from secondary storage to main memory.

2. Differentiate:

a) Internal fragmentation: Each partition will typically contain


unused///////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
space, so that the total unused space could be considerable. The occurrence of
wasted space in this way is
referred /////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////to////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////// as internal
fragmentation. While external fragmentation is a progress terminates, the space it
occupies is freed and becomes available for the loading or a new process. However,
this reveals a flow in the nature of the technique. As processes terminate and space
is freed, the free space appears as a series of holes between the active memory
areas. The operating system must attempt to load an incoming process into a space
large enough to accommodate it. It can often happen that a new process cannot be
started because some of the hole is large enough even though to the total free space
in more than the required size.
b) Page: The paging is impressed upon physical form of the process and is
independent of the programmer’s structure, while segmentation reflects the logical
structure of the process .Paging is used to improve the memory utilization by
avoiding fragmentation; segmentation also attempts to improve allocation while
preserving the process structure.

3 Main memory is essential in a computer first and foremost to enable processes to exist.It
is within main memory that instructions reside which are interpreted by processor, it is the
work space and transient storage repository for various kinds of data.

4. In DOS we have: Conventional memory, Extended memory and High memory

5. a) the hdd. thehdd is used for long term storage of all s/w including the operating system
b) no. the hdd already has a copy and that copy will be used the next time when the
application is running

6. For the version of operating system use Start>>>Computer>>>Right click >>System


Properties or Start>>>Run>>>type winver command

For the System information go to start>>Control panel choose view by small icons
>>>system

or Start>>>Run>>>type msinfo32.exe command

7. An operating system is software which manages all the hardware and software in the
computer.

Five example: windows XP, Unix, Windows 7,Windows 8,windows Server 2003,………

8. A function call refers to a program calling its own functions while a system call is used for the
operating system calling its own functions

9. The principle problems to be handled by the operating systems’ memory management


are:

1. To provide the memory space to enable several processes to be executed at the


same time.
2. To provide a satisfactory level of performance (process execution speed) for the
system users.
3. To protect each process from each other
4. Where desired , to enable sharing of memory space between processes
5. To make at the addressing of memory space as transparent as possible for the
programmer.

10. Processor, Main memory, File system and I/O system

11. Coalescing happen when two or more holes are adjacent holes then be viewed and
utilized as a single unit

SECTION B: CHOOSE ONLY 3 QUESTIONS

12. FAT: File Allocation Table, NTFS: New Technology File System, GUI: Graphic User
Interface, JCL: Job Control Language, CPU: Central Processing Unit, RAM: Random
Access Memory, ROM: Read Only Memory, POST: Power On self Test, DMA: Direct
Memory Access, MS-DOS: Microsoft Disk Operating System

13. A driver is software which creates the interface between a device with operating system
while the a controller is is a hardware which creates the interface between a device with the
computer system

14. Actual address 00110101101001110010


Page number(8bits) 00110101= 53

Displacemt (10bits) 101001110010= 2674

15.
BLOCK STATE
QUEUE READY STATE I/O COMPLETION

NEW PROCESS

DISPATCH

TIME OUT

RUNNING STATE
TERMINATION

SECTION C: CHOOSE ONLY ONE QUESTION

17.

FIXED PARTITION VARIABLE

-Each partition holds process -Processes are loaded into memory


-Operating system can support until the memory is filled
simultaneous execution of processes, -The remaining space is too small to
all those processes could be active at accommodate another process
any time -A process terminates, the space
-System manager control those become free means is available for
process the loading of a new process
- Occurrence of the wasted space in -The result of the free space in the
this way is referred to as memory are called EXTERNAL
INTERNAL FRAGMENTATION FRAGMENTATION
18 A/a) Kernel : The kernel is the central components of most computer operating systems .Its
responsibilities are :

o Process management
o Memory management
o I/o management

b) GUI:Graphic user interface

Interpreter permitting the communication with the OS by mediator of a command language

In order to allow the user to pilot the peripherals.

c) File system : organize logically our own files or users files and permitting to record the files in tree
structures.

You might also like