Uploaded by Lawliet

OS-CAT 3

advertisement
VEL TECH MULTI TECH
Dr.RANAGARAJAN Dr.SAKUNTHALA
ENGINEERING COLLEGE
BRANCH: IT
YEAR / SEM: II/IV
SUBJECT CODE: 191CS423
SUBJECT: OPERATING SYSTEM
QUESTION BANK – CAT 3
PART A (Objective Type – 1 mark)
1. The direct access method is based on a ______ model
of a file, as _____ allow random access to any file
block.(CO4.2)(K1)
a) magnetic tape, magnetic tapes
b) tape, tapes
c) disk, disks
d) all of the mentioned
2. When an entire committed transaction is completed,
___________(CO4.4)(K1)
a) it is stored in the memory
b) it is removed from the log file
c) it is redone
d) none of the mentioned
3. Some directory information is kept in main memory
or cache to ___________.(CO4.5)(K1)
a) fill up the cache
b) increase free space in secondary storage
c) decrease free space in secondary storage
d) speed up access
4.A file control block contains the information about
____________.(CO4.6)(K1)
a) file ownership
b) file permissions
c) location of file contents
d) all of the mentioned
5. Which table contains the information about each
mounted volume? .(CO4.6)(K1)
a) mount table
b) system-wide open-file table
c) per-process open-file table
d) all of the mentioned
6. What will happens when a process closes the file?
a) per-process table entry is not removed.(CO4.4)(K1)
b) system wide entry’s open count is decremented
c) all of the mentioned
d) none of the mentioned
7. The data structure used for file directory is called.
(CO4.5)(K1) ____________
a) mount table
b) hash table
c) file table
d) process table
8. If the block of free-space list is free then bit will
____________. (CO4.8)(K1)
a) 1
b) 0
c) any of 0 or 1
d) none of the mentioned
9. I/O hardware contains ____________.(CO4.13)(K1)
a) Bus
b) Controller
c) I/O port and its registers
d) All of the mentioned
10.Device drivers are implemented to interface
.(CO4.14)(K1)____________
a) character devices
b) block devices
c) network devices
d) all of the mentioned
11. In _______ information is recorded magnetically on
platters. . (CO4.1)(K1)
a) Magnetic disks
b) electrical disks
c) assemblies
d) cylinders
12. The time taken to move the disk arm to the desired
cylinder is called the ____________.(CO4.2)(K1)
a) positioning time
b) random access time
c) seek time
d) rotational latency
13.When the head damages the magnetic surface, it is
known as _________.(CO4.2)(K1)
a) disk crash
b) head crash
c) magnetic damage
d) all of the mentioned
14. What is the disk bandwidth? .(CO4.3)(K1)
a) the total number of bytes transferred
b) total time between the first request for service and the
completion on the last transfer
c) the total number of bytes transferred divided by the
total time between the first request for service and the
completion on the last transfer
d) none of the mentioned
15.In contiguous allocation
_____________.(CO4.9)(K1)
a) each file must occupy a set of contiguous blocks on
the disk
b) each file is a linked list of disk blocks
c) all the pointers to scattered blocks are placed together
in one location
d) none of the mentioned
16. A single swap space ______ reside in two places. .
(CO4.10)(K2)
a) can
b) cannot
c) must not
d) none of the mentioned
17. The process of dividing a disk into sectors that the
disk controller can read and write, before a disk can
store data is known as ____________.(CO4.3)(K1)
a) partitioning
b) swap space creation
c) low-level formatting
d) none of the mentioned
18. Linux Operating System was developed
by________. (CO5.1)(K1)
a) Charles Babbage
b) Bill Gates
c) Tim Berners Lee
d) Linus Tarvalds
19. Resource sharing helps ___________. (CO5.3)(K1)
a) share the memory and resources of the process to
which the threads belong
b) an application have several different threads of
activity all within the same address space
c) reduce the address space that a process could
potentially use
d) all of the mentioned
20. For which of the following Android is mainly
developed?(CO5.9)(K1)
a) Servers
b) Desktops
c) Laptops
d) Mobile devices
21. Which of the following virtual machine is used by
the Android operating system. (CO5.9)(K1)
a) JVM
b) Dalvik virtual machine
c) Simple virtual machine
d) None of the above
22. Android is based on which of the following
language? (CO5.10)(K2)
a) Java
b) C++
c) C
d) None of the above
23. APK stands for ___________. (CO5.9)(K1)
a) Android Phone Kit
b) Android Page Kit
c) Android Package Kit
d) None of the above
24. What does API stand for? (CO5.10)(K1)
a) Application Programming Interface
b) Android Programming Interface
c) Android Page Interface
d) Application Page Interface
25. Which of the following kernel is used in Android?
.(CO5.11)(K1)
a) MAC
b) Windows
c) Linux
d) Redhat
26. Which command is used to remove files?
(CO5.6)(K2)
a) rm
b) dm
c) erase
d) delete
27. Hidden file can be viewed using _______.
(CO5.7)(K1)
a) ls -a
b) ls -l
c) ls -h
d) ls -k
28. ______ is a directory (which should exist) on which
we mount the file system? (CO5.8)(K2)
a) Root
b) Boot
c) Mount point
d) Partition
29. The file’s attribute information is stored in which
structure on the disk? (CO5.6)(K1)
a) Inode
b) Data blocks
c) File blocks
d) Directory file
30. The FIFO algorithm said .(CO5.4)(K1)
a) executes the job first that needs a minimal processor
b) the job first executes that comes last in the queue
c) the job first executes that has maximum processor
needs
d) the job first executes that came in first in the queue
PART – B
1. What are the advantages and disadvantages of two
level directory structures? (CO4.8)(K2)
2. How free space is managed using bit vector
implementation? List its advantages. (CO4.6)(K4)
3. Write a note on different File types. (CO4.4)(K2)
4. Discuss file system mounting. (CO4.10)(K3)
5. What are the two methods used for implementing
directories? (CO4.9)(K2)
6. Discuss about Stream structure in I/O subsystem. .
(CO4.16)(K3)
7. What are the components of a Linux system?
(CO5.1)(K2)
8. Discuss about Kernel synchronization. (CO5.2)(K3)
9. Explain the fork () and exec () process model.
(CO5.3)(K4)
10. Write a note on Inter Process Communication.
(CO5.8)(K2)
11. Differentiate iOS and android OS. (CO5.9)(K4)
12. What are the design principles of Linux sysem?
(CO5.1)(K2)
PART - C
1. Explain in detail about Disk scheduling Algorithm
considering Disk queue with request for I/O to blocks on
cylinders 98, 183, 37,122,14,124,65,67. . (CO4.1)(K5)
2. Discuss about the i) File Operations ii) Access
Methods. . (CO4.5)(K2)
3. Discuss in detail about Allocation Methods. .
(CO4.9)(K4)
4. Elaborate the Application I/O Interface in detail. .
(CO4.14)(K4)
5. Explain in detail about the Different types of
Directory Structure with its advantages and
disadvantages.(CO4.5)(K2)
6. Explain in detail about Architecture of Mobile iOS
and SDK Framework. . (CO5.9)(K2)
7. Explain in detail about File system in Linux OS. .
(CO5.7)(K4)
8. Discuss about i) media layer ii) service layer iii) Core
OS layer of android OS.(CO5.12)(K3)
Download