OBJECTIVE QUESTIONS ON OPERATING SYSTEM 1. The status of

advertisement
OBJECTIVE QUESTIONS ON OPERATING SYSTEM
1. The status of the Kernel is
a) Task
b) Process c) Not defined
d) None of the above.
2. Hard disk time for R/W head to move to correct sector
a)Latency Time b)Seek time
c)Access Time d)none
3. The percentage of times a page number bound in associate register is called
a)Hit ratio
b)Miss ratio
c) Bit ratio
d)None
4. A Process is defined as
a) Program in execution b) Program in Disk
c) Suspended Process d) none
5. A thread is
a)Suspended Process b)Detachable unit of executable code c)Program in Disk
d)None
6. What is the advantage of Win NT over Win 95
a) Robust and Secure b) Easily Manageable c) user friendly d) None
7. How is memory management done in Win95?
a)Multiple Memory allocation b)Contiguous allocation c)Through paging and segmentation d)none
8. What method is used in Win95 in multitasking?
a)Preemptive check b) Non preemptive check c)Priority check d)None
9. What is a semaphore?
a) A character variable b) An integer variable c) both d) none
10. Which of the following involves context switch?
(a)System call (b) Privileged instruction (c) Floating point exception (d) All the above
11.Semaphore is used for
(a) Synchronization (b) Dead-lock avoidance (c) box (d) none
12. Which is not a Memory Management Scheme?
a) Segmentation b) Swapping c) Monitors d) Paging
13. __________runs on computer hardware and serve as platform for other software’s to run on
a)Operating System
b) Application Software
c) System Software
d) All
14. ________________ shares characteristics with both hardware and software
a) Operating system b) Software c) Data d) None
15. The primary purpose of an operating system is _____________________
a)To make the most efficient use of the computer hardware
b)To allow people to use the computer
c)To
keep
systems
programmers
employed
d)To make computers easier to use
16. __________________ transforms one interface into another interface
a) Program
b) Software
c)Data
d)none
17. __________________ system is built directly on the hardware
a)Environment
b)System
c)operating
d)one
18. Multiprogramming systems
a) Are easier to develop than single programming systems
b)Execute each job faster
c)Execute more jobs in the same time period d)Are used only one large mainframe computers.
19. ________________ is the first program run on a computer when the computer boots up
a)System software
b)Operating system
c)System operations
d)None
20. ________ interface consists of things like program counter, registers, interrupts and terminals
a)Hardware
b)Software
c)Data
d)None
21. __________ is the layer of a computer system between the hardware and the user program
a)Operating environment
b)Operating system
c)System environment
d)None
22. ___________ is used in operating system to separate mechanism from policy
a)Single level implementation b)Two level implementation c)Multi level implementation d)None
23. The operating system creates _________________from the physical computer
a)Virtual space
b)Virtual computers
c)Virtual device
24. Swapping
a) Works best with may many small partitions
b) Allows many programs to use memory simultaneously
c) Allows each program in turn to use the memory
d)None
d) Does not work with overlaying
25. Which of the following Operating does not implement multitasking truly
a)Windows 98
b)Windows NT
c)Windows XP
d)MS DOS
26. When a computer is first turned on or restarted, a special type of absolute loader called ____
is executed
a) Compile and Go loader
b) Boot loader
c) Bootstrap loader
d) Relating loader
27. Poor response times are usually caused by
a)Process busy b)High I/O rates
c)High paging rates
d)Any of the above
28. Which of the following program is not a utility?
a)Debugger
b)Editor
c)Spooler
d)All of the above
29. A co-processor
a)s relatively easy to support in software
c)Works with any application
b)Causes all processors to function equally
d)Is quite common in modern computers
30.Which of the following Operating systems do you choose to implement a Client-Server
network
a)MS DOS
b)Windows 95
c)Windows 98
d)Windows 2000
31.Page stealing
a)Is a sign of an efficient system
c)Should be the tuning goal
b)Is taking page frames from other working sets
d)Is taking larger disk spaces for pages paged out
32. The operating system manages
a)Memory
b)Processes
c)Disks and I/O devices
d)All of the above
33.If you want to execute more than one program at a time, the systems software you are using
must be capable of
a)Word processing b)Virtual memory
c)Compiling d)Multitasking
e)None of the above
34.Which of the is a type of system software used on microcomputers
a)Apple DOS
b)MS-DOS
c)PC-DOS
d)Unix
e)All of the above
35.Which of the following helpful in evaluating applications Software what will best suit your
needs?
a) Recommendations by others users b)Computer magazines c)Objective Software reviews
d) Computer periodicals e) All of the above
36 Which of the following are loaded in to main memory when the computer is booted?
a)Internal Command Instructions b)External Command Instructions c)Utility Programs
d)word processing instructions e)all of the above
37 Which of the following software is used to simplify using system software?
a) Spreed Sheet b)operating environment c)Timesharing d)multitasking e)none of the above
38.Which of the following is not application software?
a)Word Processing
b)Spreed Sheet
c)Unix
d)Desktop publishing
e)none of the above
39. Which of the following types of software should you use if you often need to create edit and
print documents?
a)Word processing
b)Spreed sheet
c)Unix
d)desktop publishing
40 Which of the following will determine your choice of system software for your computer ?
a)Application software
b)Expensive
c)Compatible with your hardware d)a and c
41.Which of the following might used to convert high-level language Instruction into machine
language?
a)System software b)Application software c)An Operating environment d)An interpreter
42. Multiprogramming was made possible by
a)Input Output units that operates independently of the CPU. b)Operating system c)both c and b
43. A Translator which reads an entire program written in a high level language convert it in to
Machine level language code is
a)Assembler b)Translator c)Compiler d)System software e) None of the above
44.What is the name given to all the programs inside the computer which makes it usable?
a)Application Software
b)System software
c)Firmware
d)Shareware
45 System Software is a program that directs the overall operation of the computer facilitates
its use and interacts with the users what are the different types of software
a) Operating system b) Language
c)Utilities
d)all of the above
46. A software which converts a program in assembly language into machine language is
Know as
a)Compiler
b)Assembler
c)Interpreter
d)Loader
47. A software which converts a complete High level Language program to machine language in
one go is known as
a)Compiler
b)Assembler
c)Interpreter
d)Loader
48. A Program which merges many object modules is
a)Compiler
b)Assembler
c)Interpreter
d)Linker
49 An example of System Development Program is
a)Operating systems b)performance management system c)data-base management system
50.Which of the following is not a part of the operating system?
a) Supervisor b) Performance monitor c) job-control program d) input/output control program
51.If special forms are needed for printing the outputs the programmer specifies these forms
through
a)JCL
b) IPL
c)Utility program
d)Load modules
52.Which of the following is not an advantage of multiprogramming?
a) Increased throughput
b)Shorter response time
c)Decreased operating-system overhead d)Ability to assign priorities to jobs
53.The problem of thrashing is affected significantly by
a) Program structure
b) Program size
c) Primary storage size
d)none of the above
54 Two basic types of operating system are
a. Sequential and direct b. batch and Timesharing c. batch and interactive d. direct and indirect
55.Under multiprogramming, turn-around time for short jobs is usually _________and that for
long jobs is slightly ____________________
a)lengthened; shortened b)shortened; lengthened c)shortened; shortened d)none of the above
56 Remote computing services involve the use of time sharing and__________________
a)Multiprocessing b)Interactive processing c)Batch processing d)Real time processing
57. Under virtual storage
a)A signal program is processed by two or more CPUs
b)Two or more program are stored in primary storage
c)Only the active pages of a program are stored in primary storage
d)none of the above
58. Which of the following types of software you must have in main memory in order to use your
keyboard?
a)word processing
b)systems
c)spreadsheet
d)application
59.A Front-end processor is usually used in
a)Multiprogramming
b)Virtual storage
c)Time sharing
d)Multiprocessing
60. In MS-DOS 6.22, which is the number that acts as a code to uniquely identify the software
product ?
a)MS
b)DOS
c)MS-DOS
d)6.22
61. With MS-DOS, which commands will divide the surface of the blank floppy disk into sectors
and assign a unique address to each one
a)VER
b)FORMAT
c)FAT
d)CHKDSK
62. Consider a system with 80% hit ratio, 50 nano-seconds time to search the associative
registers, 750 nano-seconds to access memory. Find the effective memory access time
a)950 ns
b)1020 ns
c)850 ns
d)780 ns
63.While working with MS-DOS, Which command would be used to duplicate the entire diskette?
a)COPY
b)DISKCOPY
c)CHKDSK
d)FORMAT
64. Which of the following filename extension suggests that the file is a backup copy of another
file?
a)BAK
b)BAS
c)COM
d)TXT
65.Which command will be used to display all the files having the same filename but different
extensions?
a)DIR filename
b)DIR filename.ext
c)DIR *.sys
d)DIR *.ext
66.Which command is used to display the name of the current directory or change from one
directory to another?
a)CHDIR
b)CD
c)MKDIR
d)both(a) and (b)
67.While working with MS-DOS,Which command is used to an delete a bunch of files with
extension DOC that you have just deleted?
a) UNDELETE
b) UNDELETE *.DOC
c) UNDELETE/ALL
d)None of the above
Ans b
68.While working with MS-DOS ,which command creates the directory and the file Allocation
Tables(FAT)on a disk and also assign a unique volume serial number to each disk?
a)CHKDSK
b)COMMAND.COM
c)FORMAT
69. How many jobs can be run concurrently on MVT?
a)FAT
a)15 jobs
b)14 jobs
c)9 jobs
d)none of the above
70What is an idle thread?
a)The special thread a dispatcher will execute when no ready thread is found.
b)Thread is a program
c)both a & b
d)None
71. Which of the following scheduling policy is well suited for a time-shared operating system ?
a)Shortest job first
b)Round Robin
c)First come First served
d)elevator
72.What is the state of the processor, when a process is waiting for some event to occur?
a)Waiting state
b)Ready state
c)Suspension State
d)none
73.Give an example of microkernel?
a)Amoeba
b)WinNT
c)Minix
d)all of the above
74.Which of the following system software resides in main memory always ?
a)Text editor
b)Assembler
c)Linker
d)Loader
75. Is Paging a memory management function, while multiprogramming a processor management
function, are the two interdependent?
a) Yes
b) No
c) both a and b
d) none
76. What is page cannibalizing?
a) Page swapping or page replacements are called page cannibalizing.
b) Thrashing is called page cannibalizing
c) Memory Management is called page cannibalizing
d) Page table is called page cannibalizing
77.Which is the following is TRUE about a terminal on a Distributed computer system?
a) Has its own CPU and some memory. b) Has no memory or CPU of its own.
c)It is a dumped computer
d)None
78.Which of the following does an operating system do in a stand-alone computer system?
a)
Manages
the
user's
files.
b)
Provides
the
system
facilities.
c) Provides the interface to allow the user to communicate with the computer.
d) Controls the various peripherals
79.Which is the following is TRUE about a terminal on a Time-sharing computer system?
a)Has its own CPU and some memory.
b)Has no memory or CPU of its own.
c)It is a dumped computer
d)None
80.A Program under execution, Which competes for the CPU time and other resources is called
as _________________
a)Data
b)Process
c)Online processing
d)Context switching
81_______________portion of operating system is responsible for keeping track of various
processes and their scheduling.
a)Process Management b)Information Management c)Memory management d) Program
management
Q.82During Context Switching the Status of the CPU register and the pointer to the memory
allocated to the process is stored by operating system in____________________.
a) Data Save area
b)Register save area
c)Process
d)Disk Memory
Q.83________________is used by the operating system to store the information about the
process.
a)DCB
b)Disk Memory
c)PCB
d)TCB
Q.84______________________is used to save all CPU register at Context Switch.
a) Register save area
b)DCB
c)PID
d)Process State
85. Two state used by the operating system to care of suspension are ______________
and ________________________
a)Suspend running, Suspend Blocked
b)Suspend ready, Suspend blocked
c) Running, scheduled
d) Ready ,Blocked
86. The time elapsed between the submission and it’s completion_________________
a)Response Time b)Waiting time c)Terminal Response Time d)Turnaround time
87 _______________monitors the performance of the process in terms of I/O bound ness
and then change the priority and the time slice of it accordingly?
a) Round Robin Policy b)Priority based scheduling c)Heuristic scheduling d)Priority class
88 ------ ----------------is created by operating system when a process starts executing for each of
the recognized and declared threads within that process.
a)TCB
b)PCB
c)DCB
d)Process State
89---- ----------------is used to maintain list of processes waiting for a device
(a)PCB
b)DCB
c)Register Save area
d)PID
90.Is it possible that on a multiprocessor system, one CPU can execute one process while
another process is performing a context switch ?
a)yes
b)No
c)none
91.Is it desirable for a CPU scheduler to give priority to I/O-bound threads over CPU-bound
threads?
a)yes
b)No
c)none
92.Find the total number of page faults for the following page reference string assuming three
empty page frame in memory for LRU(Least recently used).7,0,1,2,0,3,0,4,2,3,2,1,2,0,1,7,0,1
a)15
b)12
c)14
d)10
93.Find the total number of page faults for the following page reference string assuming three
empty page frame in memory optimal replacement algorithm.1,1,2,2,1,4,2,3,3,5,5,4
a) 5
b)7
c)10
d)2
94.Consider a virtual memory system. Each memory access without a page fault takes
300ns.Memory accesses with a page fault requires 20 ns .Calculate average time if page fault is
their?
a)300 ns
b)640 ns
c)320ns
d)none
95Trojan Horse and Trap Door are
a)Security Threat
b)System Threat
c)Compression Technique d)None
96. Protection Mechanism includes
a) Password and Access Permission
b) Delete and append Permission
c) Consistency and Restore
d) none
97.DMA stands for
a) Device Memory Allocation b)Direct Memory Access c) Direct multiple allocation d)None
98.Device Controller is a
a)Software b)Operating System’s Utility c)Mechanical and Electronic component d)Both a and b
99.What would be the number page fault if we used as Optimal replacement algorithm for the
following string 1,1,2,2,1,4,2,3,3,5,5,4 and number of page frame equals to 2
a) 7
b)2
c)6
d)5
100. Consider a logical address space of 8 pages of 1024 words mapped into memory of
32 frames .How many bits are there in the logical address space and physical address
spaces respectively
a)10 bits and 12 bits b)18 bits and 22 bits c)13 bits and 15 bits d)none
ANSWERS
1.a
6.a
11.a
16.b
21.b
25.d
30.d
35.e
40.d
45.d
50.b
55.b
60.d
65.a
70.a
75.a
80.b
85.b
90.a
95.a
100.c
2.a
7.c
12.c
17.c
22.b
26.c
31.b
36.a
41.d
46.b
51.a
56.c
61.b
66.d
71.b
76.a
81.a
86.d
91.a
96.a
3.c
8.b
13.a
18.c
22.b
27.d
32.d
37.e
42.c
47.a
52.c
57.c
62.a
67.b
72.a
77.a
82.b
87.c
92.a
97.b
4.a
9.b
14.a
19.b
23.b
28.c
33.d
38.c
43.c
48.d
53.a
58.b
63.b
68.c
73.b
78.c
83.c
88.a
93.a
98.c
5.b
10.a
15.a
20.a
24.c
29.a
34.e
39.a
44.b
49.a
54.c
59.c
64.a
69.a
74.d
79.b
84.a
89.b
94.c
99.d
Download