Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

3rd Internals Paper of Operating Systems, Exams of Operating Systems

The question paper for the Internal Assessment III for the Operating Systems course for the B.Tech. program in Computer Science and Engineering. The assessment covers topics such as memory management schemes, file systems in operating systems, input-output management, and device drivers. questions related to identifying file attributes, performing operations on files, allocating free page frames, and evaluating page faults for different replacement algorithms. It also covers methods and techniques used to improve I/O performance and the structure of file control block.

Typology: Exams

2022/2023

Available from 05/16/2023

AlanBabu
AlanBabu 🇮🇳

2 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Department: Computer Science and Engineering
B.Tech. INTERNAL ASSESSMENT III– APR 2023
2022-23 EVEN SEMESTER
Date: Session: Semester:
Course Code : 20CS2036 Maximum Marks : 40
Course Name: OPERATING SYSTEMS Time: 2 Hours
Course Outcomes for Assessment in this IA:
COs COURSE OUTCOME
CO4 apply various memory management schemes especially paging and segmentation in real
time applications.
CO5
Illustrate
file
systems
in
operating
systems
like
UNIX/Linux
Windows.
CO6 discover input output management, use of device driver and secondary storage
mechanism.
PART A (20 Marks) Bloom’s
Level
Mapping
COs Marks
1.a)
Identify the attributes of a file.
Name only information kept in human-readable form
Identifier unique tag (number) identifies file within file
system
Type needed for systems that support different types
Location pointer to file location on device
Size current file size
Protection controls who can do reading, writing, executing
Time, date, and user identification data for protection,
security, and usage monitoring
U CO5 1
b)
Give example of index and relative files.
U CO5 1
c)
List the different operations that can be performed on a file.
Create
Write at write pointer location
Read at read pointer location
Reposition within file - seek
Delete
Truncate
R CO5 2
Reg. No.
pf3
pf4
pf5

Partial preview of the text

Download 3rd Internals Paper of Operating Systems and more Exams Operating Systems in PDF only on Docsity!

Department: Computer Science and Engineering B.Tech. – INTERNAL ASSESSMENT – III– APR 2023 2022-23 EVEN SEMESTER Date: (^) Session: Semester: Course Code : 20CS2036 Maximum Marks : 40 Course Name: OPERATING SYSTEMS Time: 2 Hours Course Outcomes for Assessment in this IA: COs COURSE OUTCOME CO4 apply various memory management schemes especially paging and segmentation in real time applications. CO5 Illustrate file systems in operating systems like UNIX/Linux and Windows. CO6 discover input output management, use of device driver and secondary storage mechanism. PART – A (20 Marks) Bloom’s Level Mapping COs Marks 1.a) Identify the attributes of a file.  Name – only information kept in human-readable form  Identifier – unique tag (number) identifies file within file system  Type – needed for systems that support different types  Location – pointer to file location on device  Size – current file size  Protection – controls who can do reading, writing, executing  Time, date, and user identification – data for protection, security, and usage monitoring

U CO5 1

b) Give example of index and relative files. U CO5 1 c) List the different operations that can be performed on a file.  Create  Write – at write pointer location  Read – at read pointer location  Reposition within file - seek  Delete  Truncate

R CO5 2

Reg. No.

 Open (Fi) – search the directory structure on disk for entry Fi, and move the content of entry to memory  Close (Fi) – move the content of entry Fi in memory to directory structure on disk d) Consider a system having 64 frames with 4 process. The virtual memory size is as follows v(1)=16,v(2)=128,v(3)=64,v(4)=48.Allocate free page frames by using equal allocation. Frame allocation = no of free frames/no of process=64/4=16 frames per process.

E CO4 2

e) i) Consider the following reference string: A B C D A B E A B C D E. Evaluate the number of page faults that occur for the following replacement algorithms with 3 and 4 frames? i)FIFO replacement. Frame 3 Total no of page fault 9 Frame 4 Total no of page fault 10 ii)Justify whether this reference string suffers from Belady’s anamoly? Suffers from belady anomaly. iii)Optimal replacement. Total no of page fault=7 for 3 frame Total no of page fault=6 for 4 frame iv)LRU replacement. Total no of page fault= 10 for 3 frame Total no of page fault=8 for 4 frame

E CO4 14

PART- B (20 Marks) Bloom’s Level Mapping COs Marks 2.a) Name the methods which is used to improve the performance of the I/O

  • Demands CPU to execute device driver, kernel I/O code
  • Context switches due to interrupts
  • Data copying
  • Network traffic especially stressful

R CO6 1

b) List the techniques used for performing I/O

  • Reduce number of context switches
  • Reduce data copying
  • Reduce interrupts by using large transfers, smart controllers, polling
  • Use DMA
  • Use smarter hardware devices
  • Balance CPU, memory, bus, and I/O performance for highest throughput
  • Move user-mode processes / daemons to kernel threads

R CO6 1

c) Trace the structure of file control block U CO5 2

b) Indexed allocation ii) Enumerate the details of a modern computer system and illustrate storage and I/O structure. An CO6 7

Bloom’s Level wise Mark Distribution: Remember Understand Apply Analyze Evaluate Create Total 4 6 - 14 16 40 Course Outcome wise Mark Distribution COs Remember Understand Apply Analyze Evaluate Create Total CO4 16 16 CO5 2 4 7 13 CO6 2 2 7 11 Total 40