Explore topic-wise MCQs in Computer Science.

This section includes 227 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.

151.

Thrashing

A. is a natural consequence of virtual memory systems
B. can always be avoided by swapping
C. always occurs on large computers
D. can be caused by poor paging algorithms
Answer» E.
152.

The working set theory of programming behaviour of processes running within an operating system involves

A. the collection of pages that a process accesses
B. disk scheduling mechanisms
C. coalescing holes in memory
D. assigning the CPU to processes
Answer» B. disk scheduling mechanisms
153.

System generation:

A. is always quite simple
B. is always very difficult
C. varies in difficulty between systems
D. requires extensive tools to be understandable
Answer» D. requires extensive tools to be understandable
154.

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» E.
155.

The Storage-to-Storage instructions

A. have both their operands in the main store.
B. which perform an operation on a register operand and an operand which is located in the main store, generally leaving the result in the register, expect in the case of store operation when it is also written into the specified storage location.
C. which perform indicated operations on two fast registers of the machine and have the result in one of the registers
D. all of the above
Answer» B. which perform an operation on a register operand and an operand which is located in the main store, generally leaving the result in the register, expect in the case of store operation when it is also written into the specified storage location.
156.

A sequence of instructions, in a computer language, to get the desired result, is known as

A. Algorithm
B. Decision Table
C. Program
D. All of the above
Answer» D. All of the above
157.

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» D. must be rewritten before execution
158.

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

A. 1981
B. 1982
C. 1983
D. 1984
Answer» B. 1982
159.

The higher versions of the operating systems are so written that programs designed for earlier versions can still be run. What is it called?

A. Upgradability
B. Upward mobility
C. Universality
D. Upward compatibility
Answer» E.
160.

A non-relocatable program is one which

A. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.
B. consists of a program and relevant information for its relocation.
C. can itself performs the relocation of its address-sensitive portions.
D. all of the above
Answer» B. consists of a program and relevant information for its relocation.
161.

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» D. Special values
162.

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» B. to build a literal table and an identifier table
163.

The Register - to - Register (RR) instructions

A. have both their operands in the main store.
B. which perform an operation on a register operand and an operand which is located in the main store, generally leaving the result in the register, except in the case of store operation when it is also written into the specified storage location.
C. which perform indicated operations on two fast registers of the machine and leave the result in one of the registers.
D. all of the above
Answer» D. all of the above
164.

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» C. users can create system programs and run them as commands
165.

What is the name given to the organized collection of software that controls the overall operation of a computer?

A. Working system
B. Peripheral system
C. Operating system
D. Controlling system
Answer» D. Controlling system
166.

Banker's algorithm for resource allocation deals with

A. deadlock prevention
B. deadlock avoidance
C. deadlock recovery
D. mutual exclusion
Answer» C. deadlock recovery
167.

A form of code that uses more than one process and processor, possibly of different type, and that may on occasions have more than one process or processor active at the same time, is known as

A. multiprogramming
B. multi threading
C. broadcasting
D. time sharing
Answer» C. broadcasting
168.

In memory systems, boundary registers

A. are used for temporary program variable storage
B. are only necessary with fixed partitions
C. track page boundaries
D. track the beginning and ending of programs
Answer» E.
169.

A relationship between processes such that each has some part (critical section) which must not be executed while the critical section of another is being executed, is known as

A. semaphore
B. mutual exclusion
C. multiprogramming
D. multitasking
Answer» C. multiprogramming
170.

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» B. .COM and .OBJ, respectively
171.

Supervisor state is

A. never used
B. entered by programs when they enter the processor
C. required to perform any I/O
D. only allowed to the operating system
Answer» E.
172.

Fragmentation of the file system

A. occurs only if the file system is used improperly
B. can always be prevented
C. can be temporarily removed by compaction
D. is a characteristic of all file systems
Answer» D. is a characteristic of all file systems
173.

The strategy of allowing processes that are logically runnable to be temporarily suspended is called

A. preemptive scheduling
B. non preemptive scheduling
C. shortest job first
D. first come first served
Answer» B. non preemptive scheduling
174.

Which of the following statement is true.

A. The LRU algorithm pages out pages that have been used recently
B. Thrashing is a natural consequence of virtual memory systems.
C. Seek analysis is used for analysing control-unit busy problems.
D. All of the above
Answer» D. All of the above
175.

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» B. to handle interrupts
176.

A program

A. is a device that performs a sequence of operations specified by instructions in memory.
B. is the device where information is stored
C. is a sequence of instructions
D. is typically characterized by interactive processing and time of the CPU's time to allow quick response to each user.
Answer» D. is typically characterized by interactive processing and time of the CPU's time to allow quick response to each user.
177.

Memory management is :

A. not used in modern operating system
B. replaced with virtual memory on current systems
C. not used on multiprogramming systems
D. critical for even the simplest operating systems
Answer» E.
178.

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» E.
179.

Which of the following statements is not true about the FORTRAN language?

A. FORTRAN is a high level language
B. A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine
C. FORTRAN is extensively used to write programs for performing scientific computations
D. All of the above
Answer» C. FORTRAN is extensively used to write programs for performing scientific computations
180.

In MS-DOS 5.0, which is the number that acts as a code to uniquely identify the software product?

A. MS
B. DOS
C. MS DOS
D. 5
Answer» E.
181.

The table created by lexical analysis to describe all literals used in the source program, is

A. Terminal table
B. Literal table
C. Identifier table
D. Reductions
Answer» C. Identifier table
182.

The dispatcher

A. actually schedules the tasks into the processor
B. puts tasks in I/O wait
C. is always small and simple
D. never changes task priorities
Answer» B. puts tasks in I/O wait
183.

The process of transferring data intended for a peripheral device into a disk (or intermediate store) so that it can be transferred to peripheral at a more convenient time or in bulk, is known as

A. multiprogramming
B. spooling
C. caching
D. virtual programming
Answer» C. caching
184.

The primary purpose of an operating system is to:

A. make computer easier to use
B. keep system programmers employed
C. make the most efficient use of the hardware
D. allow people to sue the computers
Answer» B. keep system programmers employed
185.

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» C. RENAME
186.

The file structure that redefines its first record at a base of zero uses the term:

A. relative organization
B. key fielding
C. dynamic reallocation
D. hashing
Answer» B. key fielding
187.

Link encryption

A. is more secure than end-to-end encryption
B. is less secure than end-to-end encryption
C. can not be used in a public network
D. is used only to debug
Answer» C. can not be used in a public network
188.

Fork is

A. the dispatching of a task
B. the creation of a new job
C. the creation of a new process
D. increasing the priority of a task
Answer» D. increasing the priority of a task
189.

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» E.
190.

The errors that can be pointed out by the compiler are

A. Syntax errors
B. Semantic errors
C. Logical errors
D. Internal errors
Answer» B. Semantic errors
191.

Poor response times are caused by

A. Processor busy
B. High I/O rate
C. High paging rates
D. Any of the above
Answer» E.
192.

Memory

A. is a device that performs a sequence of operations specified by instructions in memory.
B. is the device where information is stored
C. is a sequence of instructions
D. is typically characterized by interactive processing and time-slicing of the CPU's time to allow quick response to each user.
Answer» C. is a sequence of instructions
193.

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» E.
194.

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» D. Time sharing system
195.

The problem of thrashing is affected significantly by:

A. program structure
B. program size
C. primary-storage size
D. all of the above
Answer» B. program size
196.

A system program that sets up an executable program in main memory ready for execution is

A. assembler
B. linker
C. loader
D. compiler
Answer» D. compiler
197.

Resolution of externally defined symbols is performed by

A. Linker
B. Loader
C. Compiler
D. Assembler
Answer» B. Loader
198.

In analyzing the compilation of PL/I program, the term "Lexical analysis" is associated with

A. recognition of basic syntactic constructs through reductions.
B. recognition of basic elements and creation of uniform symbols
C. creation of more optional matrix.
D. use of macro processor to produce more optimal assembly code
Answer» C. creation of more optional matrix.
199.

The register or main memory location which contains the effective address of the operand is known as

A. pointer
B. indexed register
C. special location
D. scratch pad
Answer» B. indexed register
200.

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» E.