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.

101.

Part of a program where the shared memory is accessed and which should be executed invisibly, is called

A. semaphores
B. directory
C. critical section
D. mutual exclusion
Answer» D. mutual exclusion
102.

The primary job of the operating system of a computer is to

A. command resources
B. manage resources
C. provide utilities
D. be user friendly
Answer» C. provide utilities
103.

In an absolute loading scheme, which loader function is accomplished by loader

A. Reallocation
B. Allocation
C. Linking
D. Loading
Answer» E.
104.

What scheduling algorithm allows processes that are logical runnable to be temporarily suspended?

A. preemptive scheduling
B. non-preemptive scheduling
C. FIFO
D. FCFS
Answer» B. non-preemptive scheduling
105.

Which table is a permanent database that has an entry for each terminal symbol.

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

A development strategy whereby the executive control modules of a system are coded and tested first, is known as

A. Bottom-up development
B. Top-down development
C. Left-Right development
D. All of the above
Answer» C. Left-Right development
107.

Page-map table is

A. A data file
B. A directory
C. Used for address translation
D. All of the above
Answer» D. All of the above
108.

A program that converts a high-level language program to a set of instructions that can run on a computer is called a

A. Compiler
B. Debugger
C. Editor
D. All of the above
Answer» B. Debugger
109.

Which of the following is helpful in evaluating applications software what will best suit your needs?

A. recommendations by other users
B. computer magazines
C. objective software reviews
D. all of the above
Answer» E.
110.

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» C. indirect mode
111.

When a computer is first turned on or restarted, a special type of absolute loader is executed, called a

A. "Compile and Go" loader
B. Boot loader
C. Bootstrap loader
D. Relating loader
Answer» D. Relating loader
112.

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» C. Windowing
113.

Which of the following terms refers to the degree to which data in a database system are accurate and correct?

A. data security
B. data validity
C. data independence
D. data integrity
Answer» E.
114.

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» C. Firmware
115.

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

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

A. Compiler
B. Operating system
C. Assembly
D. Interpreter of the above
Answer» C. Assembly
117.

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

Uniform Symbols Table

A. contains all constants in the program
B. a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure.
C. consists of a full or partial list of the token's as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
D. a permanent table which lists all key words and special symbols of the language in symbolic form.
Answer» D. a permanent table which lists all key words and special symbols of the language in symbolic form.
119.

What is the name of the system which deals with the running of the actual computer and not with the programming problems?

A. Operating system
B. Systems program
C. Object program
D. Source program
Answer» C. Object program
120.

A linker

A. creates a load module
B. is not necessary with variable partitions
C. must be run after the loader
D. is not needed with a good compiler
Answer» B. is not necessary with variable partitions
121.

Which of the following is a measure to test how good or bad a modular design is

A. Module strength
B. Module coupling
C. Static analysis
D. All of the above
Answer» B. Module coupling
122.

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» B. do not usually work
123.

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
Answer» D. ability to assign priorities to jobs
124.

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

Which of the following filename extension suggests that the file is a backup copy of another file?

A. TXT
B. COM
C. BAS
D. BAK
Answer» E.
126.

In an absolute loading scheme, which loader function is accomplished by assembler.

A. Reallocation
B. Allocation
C. Linking
D. Loading
Answer» B. Allocation
127.

Nonmodifiable procedures are called

A. serially usable procedures
B. concurrent procedures
C. reentrant procedures
D. topdown procedures
Answer» D. topdown procedures
128.

If you do not know which version of MS-DOS you are working with, which command will you use after having booted your operating system?

A. FORMAT command
B. DIR command
C. VER command
D. DISK command
Answer» D. DISK command
129.

If the number of bits in a virtual address of a program is 16 and the page size is 0.5 K bytes, the number of pages in the virtual address space is

A. 16
B. 32
C. 64
D. 128
Answer» E.
130.

Scheduling is

A. allowing jobs to use the processor
B. unrelated to performance consideration
C. not required in uniprocessor systems
D. the same regard-less of the purpose of the system
Answer» B. unrelated to performance consideration
131.

Which of the following are loaded into main memory when the computer is booted?

A. internal command instructions
B. external command instructions
C. utility programs
D. word processing instructions
Answer» B. external command instructions
132.

The LRU algorithm

A. pages out pages that have been used recently
B. pages out pages that have not been used recently
C. pages out pages that have been least used recently
D. pages out the first page in a given area
Answer» D. pages out the first page in a given area
133.

A page fault

A. is an error is a specific page
B. occurs when a program accesses a page of memory
C. is an access to a page not currently in memory
D. is a reference to a page belonging to another program
Answer» D. is a reference to a page belonging to another program
134.

Which of the following software types is used to simplify using systems software?

A. spreadsheet
B. operating environment
C. timesharing
D. multitasking
Answer» D. multitasking
135.

Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and

A. hold and wait
B. deadlock avoidance
C. race around condition
D. buffer overflow
Answer» B. deadlock avoidance
136.

Virtual Memory

A. is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks.
B. consists of those addresses that may be generated by a processor during execution of a computation.
C. is a method of allocating processor time.
D. allows multiple programs to reside in separate areas of core at the time.
Answer» C. is a method of allocating processor time.
137.

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» D. indirect
138.

Access time is the highest in the case of

A. floppy disk
B. cache
C. swapping devices
D. magnetic disk
Answer» E.
139.

An algorithm is best described as

A. A computer language
B. A step by step procedure for solving a problem
C. A branch of mathematics
D. All of the above
Answer» C. A branch of mathematics
140.

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» C. is used for analyzing control-unit busy problems
141.

The Memory Address Register

A. is a hardware memory device which denotes the location of the current instruction being executed.
B. is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory.
C. contains the address of the memory location that is to be read from or stored into.
D. contains a copy of the designated memory location specified by the MAR after a "read" or the new contents of the memory prior to a "write".
Answer» D. contains a copy of the designated memory location specified by the MAR after a "read" or the new contents of the memory prior to a "write".
142.

The Memory Buffer Register (MBR)

A. is a hardware memory device which denotes the location of the current instruction being executed.
B. is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory.
C. contains the address of the memory location that is to be read from or stored into.
D. contains a copy of the designated memory location specified by the MAR after a "read" or the new contents of the memory prior to a "write".
Answer» E.
143.

Which of the following is not true about the memory management?

A. virtual memory is used only in multi-user systems
B. segmentation suffers from external fragmentation
C. paging suffers from internal fragmentation
D. segmented memory can be paged
Answer» B. segmentation suffers from external fragmentation
144.

What is the name given to the process of initializing a microcomputer with its operating system?

A. Cold booting
B. Booting
C. Warm booting
D. Boot recording
Answer» C. Warm booting
145.

Which of the following rules out the use of GO TO?

A. Flowchart
B. HIPO-DIAGRAMS
C. Nassi-Shneiderman diagram
D. All of the above
Answer» D. All of the above
146.

In which addressing mode the effective address of the operand is the contents of a register specified in the instruction and after accessing the operand, the contents of this register is incremented to point to the next item in the list?

A. index addressing
B. indirect addressing
C. auto increment
D. auto decrement
Answer» D. auto decrement
147.

Which of the following are(is) Language Processor(s)

A. assembles
B. compilers
C. interpreters
D. All of the above
Answer» E.
148.

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

Which of the following is a block device

A. mouse
B. printer
C. terminals
D. disk
Answer» E.
150.

The practice of "bundling" refers to

A. selling computers alone
B. selling peripheral devices with computer
C. selling software to run on computers
D. giving away software with a computer purchase
Answer» E.