

MCQOPTIONS
Saved Bookmarks
This section includes 154 Mcqs, each offering curated multiple-choice questions to sharpen your Memory Management knowledge and support exam preparation. Choose a topic below to get started.
101. |
The size of a page is typically : |
A. | varied |
B. | power of 2 |
C. | power of 4 |
D. | none of the mentioned |
Answer» C. power of 4 | |
102. |
Programming language 'FORTRAN' stands for |
A. | free translator |
B. | free translation |
C. | formula translator |
D. | formula translation |
Answer» D. formula translation | |
103. |
The _____ table contains the base address of each page in physical memory. |
A. | process |
B. | memory |
C. | page |
D. | frame |
Answer» D. frame | |
104. |
The __________ is used as an index into the page table. |
A. | frame bit |
B. | page number |
C. | page offset |
D. | frame offset |
Answer» C. page offset | |
105. |
Every address generated by the CPU is divided into two parts : |
A. | frame bit & page number |
B. | page number & page offset |
C. | page offset & frame bit |
D. | frame offset & page offset |
Answer» C. page offset & frame bit | |
106. |
Physical memory is broken into fixed-sized blocks called ________ |
A. | frames |
B. | pages |
C. | backing store |
D. | none of the mentioned |
Answer» B. pages | |
107. |
Logical memory is broken into blocks of the same size called _________ |
A. | frames |
B. | pages |
C. | backing store |
D. | none of the mentioned |
Answer» C. backing store | |
108. |
When the memory allocated to a process is slightly larger than the process, then : |
A. | internal fragmentation occurs |
B. | external fragmentation occurs |
C. | both internal and external fragmentation occurs |
D. | neither internal nor external fragmentation occurs |
Answer» B. external fragmentation occurs | |
109. |
Third component in algorithms is classified as |
A. | selection |
B. | data repetition |
C. | statement repetition |
D. | stating order of operations |
Answer» B. data repetition | |
110. |
Sometimes the overhead of keeping track of a hole might be : |
A. | larger than the memory |
B. | larger than the hole itself |
C. | very small |
D. | all of the mentioned |
Answer» C. very small | |
111. |
In line '200 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, NAMEINR is classified as |
A. | rational string |
B. | string variable |
C. | string constant |
D. | irrational string |
Answer» C. string constant | |
112. |
In programming, programmers used comments to |
A. | explain used variables |
B. | explain module functions |
C. | highlight program modules |
D. | all of the above |
Answer» E. | |
113. |
In line '300 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, "***" is classified as |
A. | string variable |
B. | rational string |
C. | string constant |
D. | irrational string |
Answer» D. irrational string | |
114. |
To made program more easier to understand, programmers can |
A. | declare variable names |
B. | add comments to it |
C. | both (a) and (b) |
D. | use secure data |
Answer» D. use secure data | |
115. |
Programming language which is used for scientific purposes and work is to be done in batches is |
A. | LOGO |
B. | COMAL |
C. | PASCAL |
D. | FORTRAN |
Answer» E. | |
116. |
When variable used in program is whole number, variable is stored as |
A. | integers |
B. | fixed string |
C. | positive whole numbers |
D. | negative whole numbers |
Answer» B. fixed string | |
117. |
Statement in BASIC language 150 IF A1=A2 THEN ComparisonINR ="EQUAL" is an example of |
A. | if then statement |
B. | if else statement |
C. | else one statement |
D. | then else statement |
Answer» B. if else statement | |
118. |
In line "100 INPUT NUM" of a BASIC program, 'INPUT NUM' is |
A. | expression |
B. | line statement |
C. | reserved words |
D. | single instruction |
Answer» E. | |
119. |
__________ is generally faster than _________ and _________ |
A. | first fit, best fit, worst fit |
B. | best fit, first fit, worst fit |
C. | worst fit, best fit, first fit |
D. | none of the mentioned |
Answer» B. best fit, first fit, worst fit | |
120. |
Program routine which is used by one or more computer programs is classified as |
A. | subroutine |
B. | array routine |
C. | super-routine |
D. | dimension routine |
Answer» B. array routine | |
121. |
Program functions that are readily available to users of specific language are called |
A. | program layout |
B. | standard function |
C. | program procedure |
D. | none of these |
Answer» C. program procedure | |
122. |
In high level programming language Pascal, each program statement ends with the |
A. | comma |
B. | semicolon |
C. | single quotation marks |
D. | double quotation marks |
Answer» C. single quotation marks | |
123. |
When memory is divided into several fixed sized partitions, each partition may contain ________ |
A. | exactly one process |
B. | atleast one process |
C. | multiple processes at once |
D. | none of the mentioned |
Answer» B. atleast one process | |
124. |
Using transient code, _______ the size of the operating system during program execution. |
A. | increases |
B. | decreases |
C. | changes |
D. | maintains |
Answer» D. maintains | |
125. |
Transient operating system code is code that : |
A. | is not easily accessible |
B. | comes and goes as needed |
C. | stays in the memory always |
D. | never enters the memory space |
Answer» C. stays in the memory always | |
126. |
The operating system and the other processes are protected from being modified by an already running process because : |
A. | they are in different memory spaces |
B. | they are in different logical addresses |
C. | they have a protection algorithm |
D. | every address generated by the CPU is being checked against the relocation and limit registers |
Answer» E. | |
127. |
With relocation and limit registers, each logical address must be _______ the limit register. |
A. | less than |
B. | equal to |
C. | greater than |
D. | none of the mentioned |
Answer» B. equal to | |
128. |
The relocation register helps in : |
A. | providing more address space to processes |
B. | a different address space to processes |
C. | to protect the address spaces of processes |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
129. |
The operating system is : |
A. | in the low memory |
B. | in the high memory |
C. | either low or high memory (depending on the location of interrupt vector) |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
130. |
In contiguous memory allocation : |
A. | each process is contained in a single contiguous section of memory |
B. | all processes are contained in a single contiguous section of memory |
C. | the memory space is contiguous |
D. | none of the mentioned |
Answer» B. all processes are contained in a single contiguous section of memory | |
131. |
When there is range of numbers involved in a program, it can be stored as |
A. | real numbers |
B. | rational numbers |
C. | original numbers |
D. | irrational numbers |
Answer» B. rational numbers | |
132. |
Technique of using fixed words for machine code functions is classified as |
A. | compiler |
B. | translator |
C. | mechanics |
D. | mnemonics |
Answer» E. | |
133. |
In programming language BASIC, statement ends with REM are considered as |
A. | narrative |
B. | marked variables |
C. | unmarked strings |
D. | unmarked variable |
Answer» B. marked variables | |
134. |
Statement used to made choice between different options and only option is to be performed is written as |
A. | if then statement |
B. | if else statement |
C. | else one statement |
D. | then else statement |
Answer» B. if else statement | |
135. |
Variable which uses same name in whole program and in its all routines thus best classified as |
A. | local variable |
B. | middle variable |
C. | default variable |
D. | global variable |
Answer» E. | |
136. |
The main memory accommodates : |
A. | operating system |
B. | cpu |
C. | user processes |
D. | all of the mentioned |
Answer» B. cpu | |
137. |
Data structure in which all elements have similar name is considered as |
A. | array |
B. | data structure |
C. | string structure |
D. | positive structure |
Answer» B. data structure | |
138. |
In high level programming language, instructions used to supply value in an expression are classified as |
A. | program routine |
B. | program function |
C. | program argument |
D. | program default exponent |
Answer» C. program argument | |
139. |
'object program' is also called |
A. | compiler |
B. | assembler |
C. | machine code |
D. | program code |
Answer» D. program code | |
140. |
Programming language 'BASIC' is used for the |
A. | beginners |
B. | student applications |
C. | commercial programs |
D. | household user interface |
Answer» B. student applications | |
141. |
Main type of functions does not includes |
A. | built-in function |
B. | user-defined function |
C. | top down procedures |
D. | programmer defined function |
Answer» D. programmer defined function | |
142. |
In Pascal and COMAL programming language, symbol ':=' is used for |
A. | base |
B. | reference |
C. | coefficient |
D. | assignments |
Answer» E. | |
143. |
When source program is translated it is classified as |
A. | clause program |
B. | object program |
C. | detailed program |
D. | featured program |
Answer» C. detailed program | |
144. |
Programming language which is extension of programming language 'BASIC' is |
A. | LOGO |
B. | COMAL |
C. | COBOL |
D. | PASCAL |
Answer» C. COBOL | |
145. |
In COMAL programming language, a WHILE loop must ends with |
A. | input function |
B. | stops function |
C. | output function |
D. | end while function |
Answer» E. | |
146. |
Variable with a restricted name in only one subroutine program is classified as |
A. | local variable |
B. | global variable |
C. | default variable |
D. | middle variable |
Answer» B. global variable | |
147. |
Type of program which can be run on different types of computer by making little changes into it is classified as |
A. | fixed program |
B. | standard program |
C. | compiled program |
D. | portable program |
Answer» E. | |
148. |
In unstructured programming language BASIC, program can be divided into the |
A. | different arrays |
B. | different modules |
C. | different procedures |
D. | different dimensions |
Answer» C. different procedures | |
149. |
A process can map any of its pages into the address space of another |
A. | Process |
B. | Program |
C. | System |
D. | Application |
Answer» B. Program | |
150. |
During dynamic memory allocation in CPP, new operator returns _________ value if memory allocation is unsuccessful. |
A. | False |
B. | NULL |
C. | Zero |
D. | None of these |
Answer» C. Zero | |