Operating System MCQ (Multiple Choice Questions) - SchoolingAxis

Operating System MCQ (Multiple Choice Questions)

 Que- In case of failure, a new transaction coordinator can be elected by 

a. bully algorithm 

b. ring algorithm 

c. both bully and ring algorithm 

d. none of the mentioned  


Answer- both bully and ring algorithm        


Que- In distributed systems, election algorithms assumes that 

a. a unique priority number is associated with each active process in system 

b. there is no priority number associated with any process 

c. priority of the processes is not required 

d. none of the mentioned  


Answer- a unique priority number is associated with each active process in system        


Que- According to the ring algorithm, links between processes are 

a. bidirectional 

b. unidirectional 

c. both bidirectional and unidirectional 

d. none of the mentioned  


Answer- unidirectional        


Que- What is the name of the operating system that reads and reacts in terms of actual time. 

a. Batch system 

b. Quick response system 

c. Real time system 

d. Time sharing system 


Answer- Real time system        


Que- An incremental backup 

a. should be done each month 

b. uses more tapes 

c. saves all files 

d. saves only files that have recently changed 


Answer- saves only files that have recently changed        


Que- The powerful text editor called PC-Write can be used by anybody by paying a small fee. Such programs are called 

a. Software 

b. Shareware 

c. Firmware 

d. Mindware 


Answer- Shareware        


Que- The disadvantages of ""Compile and Go"" loading scheme is (are): 

a. a portion of memory is wasted because the core occupied by the assembler is unavailable to the object program. 

b. it is necessary to retranslate the user's program deck every time it is run. 

c. it is very difficult to handle multiple segments, especially if the source programs are in different languages, and to produce orderly modular programs. 

d. all of the above 


Answer- all of the above        


Que- The operating system of a computer serves as a software interface between the user and 

a. hardware 

b. peripheral 

c. memory 

d. screen 


Answer- hardware        


Que- The memory allocation scheme subject to ""external"" fragmentation is 

a. segmentation 

b. swapping 

c. pure demand paging 

d. multiple contiguous fixed partitions 


Answer- segmentation        


Que- While working with MS-DOS, which command will you use to transfer a specific file from one disk to another? 

a. DISKCOPY 

b. COPY 

c. RENAME 

d. FORMAT 


Answer- COPY        


Que- What is the name of the operating system for the laptop computer called MacLite? 

a. Windows 

b. DOS 

c. MS-DOS 

d. OZ 


Answer- OZ        


Que- In which addressing mode the contents of a register specified in the instruction are first decremented, and then these contents are used as the effective address of the operands? 

a. index addressing 

b. indirect addressing 

c. auto increment 

d. auto decrement 


Answer- auto decrement        


Que- What is the name given to the values that are automatically provided by software to reduce keystrokes and improve a computer user's productivity? 

a. Defined values 

b. Fixed values 

c. Default values 

d. Special values 


Answer- Default values        


Que- The term 'polling' in a computer means a process by which a computer system 

a. detects/corrects errors 

b. multiplexes the inputs and updates the memory accordingly 

c. decides correct alternative by analysing several ones 

d. inquires to see if a terminal has any transaction to send 


Answer- inquires to see if a terminal has any transaction to send        


Que- In which addressing mode, the address of the location of the operand is given explicitly as a part of the instruction. 

a. absolute mode 

b. immediate mode 

c. index mode 

d. modulus mode 


Answer- absolute mode        


Que- Under virtual storage, 

a. a single program is processed by two or more CPUs 

b. two or more programs are stored concurrently in primary storage 

c. only the active pages of a program are stored in primary storage 

d. interprogram interference may occur 


Answer- only the active pages of a program are stored in primary storage        


Que- A base register table 

a. allows the programmer to write base registers and displacements explicitly in the source program. 

b. is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain. 

c. allows multiple programs to reside in separate areas of core at the same time. 

d. is a term that refers to the control programs of an operating system. 


Answer- is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain.        


Que- File record length 

a. should always be fixed 

b. Should always be variable 

c. depends upon the size of the file 

d. should be chosen to match the data characteristics 


Answer- should be chosen to match the data characteristics        


Que- In MS-DOS, relocatable object files and load modules have extensions 

a. .OBJ and .COM or .EXE, respectively 

b. .COM and .OBJ, respectively 

c. .EXE and .OBJ, respectively 

d. .DAS and .EXE, respectively 


Answer- .OBJ and .COM or .EXE, respectively        


Que- The state transition initiated by the user process itself in an operating system is 

a. block 

b. dispatch 

c. wake up 

d. timer run out 


Answer- block        


Que- Which of the following program is not a utility? 

a. Debugger 

b. Editor 

c. Spooler 

d. All of the above 


Answer- Spooler        


Que- The function(s) of file system is (are): 

a. to provide complete file naming freedom to the users and to permit controlled sharing of files 

b. to provide for long and short term storage of files with appropriate economic tradeoffs. 

c. to provide security against loss of information due to system failure 

d. all of the above 


Answer- all of the above        


Que- A public key encryption system 

a. allows  anyone  to  decode  the transmission 

b. allows only the correct sender to decode the data 

c. allows only the correct receiver to decode the data 

d. does not encode the data before transmitting it 


Answer- allows only the correct receiver to decode the data        


Que- Seeks analysis 

a. is used for analyzing paging problems 

b. is used for analyzing device busy problems 

c. is used for analyzing control-unit busy problems 

d. is only shown on real-time displays 


Answer- is used for analyzing device busy problems        


Que- Which is a permanent database in the general model of compiler? 

a. Literal Table 

b. Identifier Table 

c. Terminal Table 

d. Source code 


Answer- Terminal Table        


Que- What is the name of the technique in which the operating system of a computer executes several programs concurrently by switching back and forth between them? 

a. Partitioning 

b. Multitasking 

c. Windowing 

d. Paging 


Answer- Multitasking        


Que- Operating system 

a. links a program with the subroutines it references 

b. provides a layered, user-friendly interface 

c. enables the programmer to draw a flowchart 

d. all of the above 


Answer- provides a layered, user-friendly interface        


Que- Software that measures, monitors, analyzes, and controls real-world events is called: 

a. system software 

b. real-time software 

c. scientific software 

d. business software 


Answer- real-time software        


Que- The advantage of a command processor running only built-in commands is: 

a. flexibility to the users in running lists of commands by simply collecting them in named batch command files 

b. the command set being common across different hardware configurations 

c. users can create system programs and run them as commands 

d. the processing is much faster than would other-wise be the case when user defined commands are used 


Answer- the command set being common across different hardware configurations        


Que- Under multiprograming, turnaround time   for   short  jobs   is   usually _____ and that for long jobs is slightly _____. 

a. lengthened; shortened 

b. shortened; lengthened 

c. shortened; shortened 

d. lengthened; lengthened 


Answer- shortened; lengthened        


Que- The most common systems security method is 

a. passwords 

b. encryption 

c. firewall 

d. all of the above 


Answer- passwords        


Que- Two basic types of operating systems are: 

a. sequential and direct 

b. batch and timesharing 

c. sequential and realtime 

d. batch and interactive. 


Answer- batch and interactive.        


Que- Daisy chain is a device for 

a. connecting a number of controllers to a device 

b. connecting a number of devices to a controller 

c. interconnecting  a number of devices to a number of controllers 

d. all of the above 


Answer- connecting a number of devices to a controller        


Que- When did IBM release the first version of disk operating system DOS version 1.0? 

a. 1981 

b. 1982 

c. 1983 

d. 1984 


Answer- 1981        


Que- Which of the following is false about disk when compared to main memory? 

a. non-volatile 

b. longer storage capacity 

c. lower price per bit 

d. faster 


Answer- faster        


Que- Producer consumer problem can be solved using 

a. semaphores 

b. event counters 

c. monitors 

d. all of the above 


Answer- all of the above        


Que- Most of the microcomputer's operating systems like Apple DOS, MS DOS and PC DOS etc. are called disk operating systems because 

a. they are memory resident 

b. they are initially stored on disk 

c. they are available on magnetic tapes 

d. they are partly in primary memory and partly on disk 


Answer- they are initially stored on disk        


Que- The CPU, after receiving an interrupt from an I/O device 

a. halts for a predetermined time 

b. hands over control of address bus and data bus to the interrupting device 

c. branches off to the interrupt service routine immediately 

d. branches off to the interrupt service routine after completion of the current instruction 


Answer- branches off to the interrupt service routine after completion of the current instruction        


Que- The function(s) of the Syntax phase is(are) 

a. to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs. 

b. to build a literal table and an identifier table 

c. to build a uniform symbol table 

d. to parse the source program into the basic elements or tokens of the language. 


Answer- to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs.        


Que- Swapping 

a. works best with many small partitions 

b. allows many programs to use memory simultaneously 

c. allows each program in turn to use the memory 

d. does not work with overlaying 


Answer- allows each program in turn to use the memory        


Que- A disk scheduling algorithm in an operating system causes the disk arm to move back and forth across the disk surface in order to service all requests in its path. This is a 

a. First come first served 

b. Shortest Seek Time First (SSTE) 

c. Scan 

d. FIFO 


Answer- Scan        


Que- A translator is best described as 

a. an application software 

b. a system software 

c. a hardware component 

d. all of the above 


Answer- a system software        


Que- Data encryption 

a. is mostly used by public networks 

b. is mostly used by financial networks 

c. cannot be used by private installations 

d. is not necessary, since data cannot be intercepted 


Answer- is mostly used by financial networks        


Que- A translator which reads an entire programme written in a high level language and converts it into machine language code is: 

a. assembler 

b. translator 

c. compiler 

d. system software 


Answer- compiler        


Que- The advantage(s) inherent to using high level languages is (are) 

a. Fewer people, less management and shorter transition in learning time 

b. Improved debugging capability, and superior documentation 

c. A greater degree of machine independence 

d. All of the above 


Answer- All of the above        


Que- Addressing modes 

a. defines the fundamental method of determining effective operand addresses 

b. are variations in the use of fundamental addressing structures, or some associated actions which are related to addressing. 

c. performs indicated operations on two fast registers of the machine and leave the result in one of the registers. 

d. all of the above 


Answer- are variations in the use of fundamental addressing structures, or some associated actions which are related to addressing.        


Que- In which way(s) a macro processor for assembly language can be implemented: 

a. independent two-pass processor 

b. independent one-pass processor 

c. processor incorporated into pass 1 of a standard two-pass assembler 

d. all of the above 


Answer- all of the above        


Que- Which of the following is a type of systems software used on microcomputers? 

a. MS-DOS 

b. PC-DOS 

c. Unix 

d. All of the above 


Answer- All of the above        


Que- Block caches or buffer caches are used 

a. to improve disk performance 

b. to handle interrupts 

c. to increase the capacity of the main memory 

d. to speed up main memory read operation 


Answer- to improve disk performance        


Que- Which of the following statements is false? 

a. a small page size causes large page tables 

b. internal fragmentation is increased with small pages 

c. a large page size causes instructions and data that will not be referenced brought into primary storage 

d. I/O transfers are more efficient with large pages 


Answer- internal fragmentation is increased with small pages        


Que- The action of parsing the source program into the proper syntactic classes is known as 

a. syntax analysis 

b. lexical analysis 

c. interpretation analysis 

d. general syntax analysis 


Answer- lexical analysis        


Que- Which, of the following is not true about the description of a decision table? 

a. A   decision   table   is   easy   to modify 

b. A decision table is directly understood by the computer 

c. A   decision   table   is   easy   to understand 

d. All of the above 


Answer- A   decision   table   is   directly understood by the computer        


Que- Trojan-Horse programs 

a. are   legitimate   programs   that allow unauthorized access 

b. do not usually work 

c. are hidden programs that do not show up on the system 

d. usually        are       immediately discovered 


Answer- are   legitimate   programs   that allow unauthorized access        


Que- Which of the following statements is false? 

a. the technique of storage compaction involves moving all occupied areas of storage to one end or other of main storage 

b. compaction does not involve relocation of programs 

c. compaction is also know as garbage collection 

d. the system must stop everything while it performs the compaction 


Answer- compaction does not involve relocation of programs        


Que- Interprocess communication 

a. is required for all processes 

b. is usually done via disk drives 

c. is never necessary, 

d. allows processes to synchronize activity           


Answer- allows processes to synchronize activity                  


Que- Which of the following functions is(are) performed by the loader 

a. allocate space in memory for the programs and resolve symbolic references between object decks 

b. adjust all address dependent locations, such as address constants, to correspond to the allocated space. 

c. physically place the machine instructions and data into memory. 

d. All of the above 


Answer- All of the above        


Que- User-Friendly Systems are: 

a. required    for    object-oriented programming 

b. easy to develop 

c. common among traditional mainframe operating systems 

d. becoming more common 


Answer- becoming more common        


Que- Which of the following addressing modes, facilitates access to an operand whose location is defined relative to the beginning of the data structure in which it appears? 

a. ascending 

b. sorting 

c. index 

d. indirect 


Answer- index        


Que- Object code 

a. is ready to execute 

b. is the output of compilers, but not assemblers 

c. must     be     ""loaded""     before execution 

d. must be rewritten before execution 


Answer- must     be     ""loaded""     before execution        


Que- The term ""operating system"" means 

a. a set of programs which controls computer working 

b. the way a computer operator works 

c. conversion of high level language into machine code 

d. the  way  a  floppy  disk  drive operates 


Answer- a set of programs which controls computer working        


Que- Which of the following might be used to convert high-level language instructions into machine language? 

a. system software 

b. applications software 

c. an operating environment 

d. an interpreter 


Answer- an interpreter        


Que- Indicate which is a pre-emptive scheduling algorithm 

a. Round-robin 

b. Shortest-job-next 

c. Priority-based 

d. All of the above 


Answer- Round-robin        


Que- Which of the following, is necessary to work on a computer 

a. Compiler 

b. Operating system 

c. Assembly 

d. Interpreter of the above 


Answer- Operating system        


Que- Feed back queue 

a. are very easy to implement 

b. dispatch tasks according to execution characteristics 

c. are used to favor real-time tasks 

d. require manual intervention to implement properly 


Answer- dispatch tasks according to execution characteristics        


Que- In which addressing mode the operand is given explicitly in the instruction? 

a. absolute mode 

b. immediate mode 

c. indirect mode 

d. index mode 


Answer- immediate mode        


Que- The technique, for sharing the time of a computer among several jobs. Which switches jobs so rapidly such that each job appears to have the computer to itself: 

a. time sharing 

b. time out 

c. time domain 

d. FIFO 


Answer- time sharing        


Que- Which of the following systems software does the job of merging the records from two files into one? 

a. Security software 

b. Utility program 

c. Networking software 

d. Documentation system 


Answer- Utility program        


Previous Post Next Post

Responsive Ad