Cs501 Final Term Solved Mcqs by Junaid
Cs501 Final Term Solved Mcqs by Junaid
Cs501 Final Term Solved Mcqs by Junaid
a. Interrupt
b. Interrupt handler
c. Exception
d. Trap
2. Which of the following pins of the processor is designated for maskable
interrupts?
a. NMI
b. MI
c. INTR
d. RINT
3. ET =
a. CP x IC x T
b. CPI x IC x T
c. CPI / IC x T
d. CPI x IC/T
4. By which file extension does the FALCON-A assembler loads a FALCON-Aassembly
file?
a. .asmfa
b. .org
c. .exe
d. .src
5. In which one of the following methods, does the CPU poll to identify the interrupting
module and branches to an interrupt service routine on detecting aninterrupt?
a. Daisy chain
b. Software poll
c. Multiple interrupt lines
d. All of given option
AL-JUNAID TECH INSTITUE
signal has output direction with respect to printera.
O<7…0>
b. STROBE#
c. INT#
d. ACKNLG#
6. is said to occur when a 0 is received instead of a stop bit
a. Framing error
b. Party error
c. Block error
d. Over-run error
7. A component connected to the system bus and having control of it during a particular
bus cycle is called
a. Slave component
b. Master component
c. System bus
d. Buffer component
8. The information about the interrupt vector is given in 8-bit from 0 to 7, which istranslated
to bit on the data bus
a. 16 to 32
b. 11 to 18
c. 0 to 7
d. 8 to 15
9. An interface that can be used to connect the microcomputer bus to iscalled as
I/O port
a. Flip flop
b. Memory
c. Peripheral devices
d. Multiplexers
10. allows a peripheral to read and write memory without interventionby the
CPU
a. Programmed I/O
b. Interrupt driven I/O
c. Direct memory access(DMA)
d. Polling
AL-JUNAID TECH INSTITUE
11.Every interrupt handler has an interrupt return (IRET) instruction, this
instruction is an example of return
a. NEAR
b. FAR
c. SHORT
d. RELATIVE
12.Which I/O technique will be used by a sound card that may need to access datastored in
the computer`s RAM?
a. Programmed I/O
b. Interrupt driven I/O
c. Direct memory access(DMA)
d. Polling
13.What should be the behavior of interrupt during critical section?
a. Must remain disable
b. Must remain enable
c. Depends on current situation
d. Only important interrupts be enable
14.Identify the type of serial communication error condition in which “0” isreceived
instead of stop bit(which is always a “1”)
a. Framing error
b. Parity error
c. Overrun error
d. Under run error
15.The Pentium does allow the use of some part of its accumulator register EAX
a. 8 bits
b. 16 bits
c. 32 bits
d. 64 bits
36. A component connected to the and with which the master componentcan
communicate during a particular bus cycle. Normally the CPU with its bus control logic is
the master component.
a. Slave component
b. System bus
c. Master component
d. Bus component
37. In which technique does the hardware directly access host memory for readingor writing
AL-JUNAID TECH INSTITUE
independent of CPU?
a. Direct Memory Access (DMA)
b. Programmed I/O
c. Interrupt driven I/O
d. Polling
38. Most parallel I/O ports used with peripheral devices are mapped on a range of
.
a. Bus addresses
b. Direct memory access
c. Contiguous addresses
d. Cache
39. signal is used in printer with DB-25 interface to reset its controller.
a. #PE
b. #STROB
c. #INIT
d. #SLCT
40. Why DMA is faster than Programmer I/O technique because?
a. DMA transfers data directly using CPU
b. DMA transfers data directly without using CPU CONCEPTUAL
c. DMA uses buffers with CPU
d. DMA uses interrupted driven I/O
41. is a technique in which some of the CPU's address lines formingan input
to the address decoder are ignored?
• Microprogramming
b. Instruction pre-fetching
c. Pipelining
d. Partial decoding
42. In 8086/8088 processor, interrupt vector table is located at the memory location
.
a. 0
b. 4
c. 256
d. 1024
43. When an I/O module has a capability of executing a specific set of instructionsfor
specific I/O devices in the memory without the involvement of CPU is called
a. Selector Channel
AL-JUNAID TECH INSTITUE
b. I/O Channel
c. I/O processors
d. Cycle Stealing
44. How does DMA saves CPU time?
a. By controlling transfer between I/O devices and memory directly
b. By storing all data in a buffer to be later transferred to the CPU
c. By periodically polling
d. By issuing a interrupt request to the CPU to request attention 45.Connection to a
CPU that provides a data path between the CPU and external
devices, such as a keyboard, display, or reader is called
a. Buffer
b. I/O port
c. Memory mapping
d. Processor
46. lets the user execute the program, one instruction at a time.
a. Single Step
b. Execute
c. Change PC
d. List File
47. In a separate address space of the CPU is reserved for I/O operations.
a. Isolated I/O
b. Memory Mapped I/O
c. All of above
d. None of above
48. Which one of the following is NOT a technique used when the CPU wants toexchange
data with a peripheral device?
a. Direct Memory Access (DMA)
b. Interrupt driven I/O
c. Programmed I/O
d. Virtual Memory
49. A computer interface is an circuit that matches the requirement of thetwo
subsystems between which it is connected.
a. Digital
AL-JUNAID TECH INSTITUE
b. Electronic
c. Primary
d. Obituary
50. the device usually means reading its status register every so oftenuntil the
device’s status changes to indicate that has completed the request.
a. Interrupting
b. Masking
c. Polling
d. Executing
51. For input ports, the incoming data should be placed on the data bus only duringthe I/O
read bus cycle. For this purpose, are used.
a. Flip Flops
b. Tri-state Buffers
c. AND Gates
d. Registers
52. Which of the following is not true regarding serial communication?
a. Easy to implement
b. Inefficient
c. High cost
d. Slow
53. In a printer with DB-25 interface, signal is better for edgetriggered
systems.
a. BUSY#
b. PE#
c. ACKNLG#
d. STROB#
54. The can be determined from the number of platters and the numberof tracks.
a. Speed of processing
b. Execution time
c. Storage capacity
d. Latency
55. The directive is used to define variables.
a. .equ
b. .db
c. .sw
AL-JUNAID TECH INSTITUE
d. .org
56. means that the CPU should input data from an input device only when the
device is ready to provide data and send data to an output device onlywhen it is ready to
receive data.
a. Data location
b. Data synchronization
c. Data transfer
d. Asynchronous transmission
57. The main issue/s in error control is/are .
a. Detection of Error
b. Correction of Error
c. Both Detection of Error and Correction of Error
d. Avoidance of Error
58. signal has input direction with respect to printer
a. BUSY
b. STROBE#
c. PE#
d. ACKNLG#
59. A parallel port can be considered to be a big gate.
a. OR
b. AND
c. NOR
d. NOR
60.Every time you press a key, an interrupt is generated.
This is an example of
a. Hardware interrupt
b. Software interrupt
c. All of the given
d. None of the given
61. How Interrupt driven I/O is better than polling because?
a. Interrupt driver I/O is easy to design
b. Interrupt driver I/O is enhanced version of polling
c. Interrupt driver I/O does not waste time on checking which device is available
d. Interrupt driven I/O is easy to program62.How
can you define an interrupt?
a. A process where an external device can speedup the working of the
microprocessor
b. A process where memory can speed up programs execution speed
AL-JUNAID TECH INSTITUE
c. A process where an external device can get the attention of the
microprocessor
d. A process where input devices can takeover the working of the
microprocessor
63. is/are example(s) of synchronous communication.
a. Register to Register
b. Register to Memory
c. Memory to Memory
d. All of the given
64. depends upon the present position of the head and the position ofthe
required sector.
a. Direct memory Access
b. Execution time
c. Throughput
d. Seek time
65. Which one of the following is the memory organization of SRC processor?
2^8 * 8 bits
2^16 * 8 bits
2^32 * 8 bits (Page 46)
2^64 * 8 bits
66. Type A format of SRC uses instructions
73. Which one of the following is NOT a technique used when the CPU wants to exchange
data with a peripheral device?
Direct Memory Access (DMA).
Interrupt driven I/O
Programmed I/O
Virtual Memory (Page 268)
74. Every time you press a key, an interrupt is generated. This is an example of
Hardware interrupt (Page 275)
Software interrupt
Exception
All of the given
75. The interrupts which are pre-programmed and the processor automatically finds the
address of the ISR using interrupt vector table are
Maskable
Non-maskable
Non-vectored
Vectored (Page 277)
76. Which is the last instruction of the ISR that is to be executed when the ISR terminates?
IRET (Page 278)
IRQ
INT
NMI
77. If NMI and INTR both interrupts occur simultaneously, then which one has the precedence
over the other
NMI (Page 279)
INTR
AL-JUNAID TECH INSTITUE
IRET
All of the given
78. Identify the following type of serial communication error condition:
The prior character that was received was not still read by the CPU and is over
written by a new received character.
Framing error
Parity error
Overrun error (Page 240)
Under-run error
79. ----------the device usually means reading its status register every so often until the
device's status changes to indicate that it has completed the request.
Executing
Interrupting
Masking
Polling
80. Which I/O technique will be used by a sound card that may need to access data stored
in the computer's RAM?
Programmed I/O
Interrupt driven I/O
Direct memory access(DMA)
Polling
81. For increased and better performance we use which are usually made of glass.
Coaxial Cables
Twisted Pair Cables
Fiber Optic Cables (Page 390)
Shielded Twisted Pair Cables
82. In if we find some call party busy we can have provision of call waiting.
Delay System (Page 381)
Loss System
Single Server Model
None of the given
83. In technique memory is divided into segments of variable sizes depending upon the
requirements.
Paging
Segmentation (Page 365)
Fragmentation
None of the given
84. For a request of data if the requested data is not present in the cache, it is called a
Cache Miss (Page 358)
Spatial Locality
Temporal Locality
Cache Hit
85. An entire memory can be erased in one or a few seconds which is much faster than
EPROM.
PROM
Cache
AL-JUNAID TECH INSTITUE
EEPROM
Flash Memory (Page 356)
86. chips have quartz windows and by applying ultraviolet light data can be erased from
them.
PROM
Flash Memory
EPROM (Page 356)
EEPROM
87. The signal coming from the CPU tells the memory that some interaction is required
between the CPU and memory.
REQUEST (Page 350)
COMPLETE
None of the given
88. is a combination of arithmetic, logic and shifter unit along with some multiplexers and
control unit.
Barrel Rotator
Control Unit
Flip Flop
ALU (Page 347)
89. In Multiple Interrupt Line, a number of interrupt lines are provided between the modules.
CPU and the I/O (Page 283)
CPU and Memory
Memory and I/O
None of the given
90. The data movement instructions data within the machine and to or from input/output
devices.
Store
Load
Move
None of given (Page 141)
91. CRC has ----- overhead as compared to Hamming code.
Equal
Greater
Lesser (Page 329)
None of the given
92. The is w-bit wide and contains a data word, directly connected to the data bus
which is b-bit wide memory address register (MAR) .
Instruction Register(IR)
memory address register (MAR)
) memory Buffer Register(MBR) (Page 350
Program counter (PC)
93. In technique, a particular block of data from main memory can be placed in only one
location into the cache memory .
Set Associative Mapping
Direct Mapping (Page 360)
Associative Mapping
Block Placement
AL-JUNAID TECH INSTITUE
94. indicate the availability of page in main memory.
Access Control Bits
Used Bits
Presence Bits
None of the given
95. The RTN describes the overall effect of instructions on the programmer visible
registers.
►Abstract
►Concrete
►Absolute
►Basic
96. The instruction set is of importance in governing the structure and function of the
pipeline.
► Least
►Primary
►Secondary
►No
97. is the most general and least useful performance metrics for RISC machines.
►MIPS
Instruction Count
►Number of registers
►Clock Speed
98. A provides four functions: Select, DataIn, DataOut and Read/Write.
►ALU
►Bus
►Register
►Memory Cell (Page 351)
99. We can classify or partition the SRC instructions by their overall behavior.
►Register transfer
►Memory transfer
►Execution
► Logical
100. The RTN describes detailed register transfer steps in the data path that
produce the overall effect.
►Abstract
►Concrete
►Absolute
►Basic
101. All members of the MC68000 family are_______ processors.
AL-JUNAID TECH INSTITUE
►32-bit
►16-bit
►64-bit
►8-bit
102. _______ Operations refers to a processor that can issue more than one instruction
simultaneously.
►Macro
►Micro
►Scalar
►Superscalar
103. Exceptions which are occur in response to events that are paced by
the internal processor clock.
► Asynchronous
► Synchronous
► Internal
► External
104. In the hazard detection by hardware, resolved by pipeline stalls, if the instructions
are in the adjoining stages, then the hazard must be detected in stage .
► 4
► 2
► 3
► 1
105.
1-bit sign, 8-bit exponent, 23-bit fraction and a bias of 127 is used for Binary Floating
Point Representation
►Double precision
►Single Precision (Page 348)
►All of above
►Half Precision
106.
The average rotational latency if the disk rotated at 20,000rpm is
►0.5 ms
►3.5 ms
►2.5 ms
►1.5 ms (Page 324)
107. A hard disk with 5 platters has 1024 tracks per platter, 512 sectors per track
and 512 bytes/sector. What is the total capacity of the disk?
►1.5 GB
►1 GB (Page 324)
►2 GB
►3 GB
108. Where does the processor store the address of the first instruction of the ISR?
AL-JUNAID TECH INSTITUE
Interrupt vector (Page 277)
Interrupt request
Interrupt handler
All of the given options
109. In , a separate address space of the CPU is reserved for I/O operations.
Interrupt
Interrupt handler
Trap
113.
In which one of the following methods for resolving the priority, the device with the highest
priority is placed in the first position, followed by lower-priority devices up to the device with
the lowest priority, which is placed last in the series?
Asynchronous
Daisy-Chaining Priority
Parallel
Semi-synchronous
114.
Identify the type of serial communication error condition in which A 0 is received instead of a
stop bit (which is always a 1)?
Interrupt vector
Interrupt service *
routine Exception
Mask
118.
The conversion of numbers from a representation in one base to another is known as
Radix Conversion (Page 333)
Number
Representation
Decimal
representation
Hexadecimal
Representation
119.
In which one of the following interrupts the device have to supply the address of the subroutine to
AL-JUNAID TECH INSTITUE
the Microprocessor
Maskable
Non-maskable
Non-vectored
Vectored
120.
---------- interrupts are usually associated with the
software hardware
software
machine
internal
121.
How Interrupt driven I/O is better than polling because?
Interrupt driver I/O is easy to design
Interrupt driver I/O is enhanced version of polling.
Interrupt driver I/O does not waste time on checking which device is available.
(Page 274)
Interrupt driven I/O is easy to program.
122.
In Single-Precision Binary Floating Point Representation the exponent is
Parallel Array
Multiplier Booth
Recording
Series Parallel Multiplier (Page 342)
None of the given
AL-JUNAID TECH INSTITUE
125.
The register file is a collection of bit wide registers used for data transfer between memory and
the CPU .
8
16
32 (Page 350)
64
126.
The of an m digit number x is xc’=bm -1- x
Radix Compliment
Diminished Radix Compliment (Page 337)
Signed Magnitude Form
Biased Representation
127.
Shifting of the radix point towards left or right
Shifting
Logical
Shift Right
Shift
Scaling
(Page 335)
128.
In adder circuit we feed carry out from the previous stage to the next stage and so on.
130.
A signal decides whether the input word should be shifted or bypassed.
Control Read
Shift/bypass
(Page
346)
Control Write
None of the given
131.
In recording ,bits are encoded in pairs so there are only ' n/2' additions instead of 'n'.
Booth Recording
Bit Pair Recording (Page 343)
Integer
division
None of
the
given
132.
Given an m-digit base b number x, the of x is xc = ( bm– x) mod bm
Radix Compliment
(Page
337)
Diminished Radix
Compliment Signed
Magnitude Form
Biased Representation
133.
For of an error we just need to know that there exists an error.
Based representation
Diminshed Redex Complement Form
Sign Magnitude Form (Page 336)
None of the given
136.
In computers, floating-point representation uses to encode significand, exponent and their
sign in a single word
Decimal Numbers
Binary Numbers (Page 347)
Octal Numbers
Hexa decimal Numbers
137.
Which one of the following registers store a previously calculated value or a value loaded
from the main memory?
► Accumulator
► Address Mask
► Instruction Register
► Program Counter
138.
Which one of the following portions of an instruction represents the operation to be performed?
► Address
► Instruction code
► Opcode (Page 33)
► Operand
139.
control signal enable the input to the PC for receiving a value that is currently
on the internal processor bus.
151. Which one of the following languages presents a simple, human-oriented language to
specify the operations, register communication and timing of the steps that take place within
a CPU to carry out higher level (user programmable) instructions?
AL-JUNAID TECH INSTITUE
► Assembly Language
► OOP(Object Oriented Language)
► RTL (Register Transfer Language)
► UML(Unified Modeling language)
152.
Which one of the following instructions is used to load register from memory using a relative
address?
► la
► lar
► Bus Stealing
► Cycle Stealing (Page 317)
► Cycle Transfering
► None of given
154. In----- address mode, the actual data is stored in the instruction.
► Direct
► Indirect
► Immediate
► Relative
► Hardware
► Software
156. A user program has to delete a file. The user program will be executing in the user
mode. When it makes the specific system call to delete the file, an interrupt will be generated,
this will cause the processor to halt its current activity and switch to supervisor mode. Once
in supervisor mode, the operating system will delete the file and then control will return to
the user program. This is an example of
► Hardware interrupt
► Software interrupt (Page 275)
► Exception
► All of the given
157. By which file extension does the FALCON-A Assembler loads a FALCON-A assembly
file?
► .asmfa (Page 8)
AL-JUNAID TECH INSTITUE
► .org
► .exe
► .src
157.
All ----------interrupts have priority over all interrupts
158. The can also be used anywhere in the source file to force code at a particular address in the
memory.
► .end directive
► .start directive
► .label directive
► .org directive (Page 298)
Question No:106
In this figure, the constant value specified by the immediate field is added to the register value,
and the resultant is the index of memory location that is referred i.e. Effective Address = A +
(content of R) .
Identify the addressing mode.
► Displacement(Page 139)
► Immediate
► Indexed
► Relative
159. In which one of the following addressing modes, the operand does not specify an
address but it is the actual data to be used.
► Direct
AL-JUNAID TECH INSTITUE
► Indirect
► Immediate
► Relative
AL-JUNAID TECH INSTITUE
160. When is the “Divide error interrupt‖ generated?
► Interrupt handling
► Programmed I/O
► Polling
► RAID click here for detail
162. is the time for first bit of the message to arrive at the receiver
including delays.
► Transmission Time
► Latency
► Transport Latency
► Time of Flight (Page 388)
163.
Falcon-A Simulator loads a FALCON-A binary file with a extension and
presents its contents into different areas of the simulator.
► .bin
► .binfa (Page 5)
► .fa
► None of the given
165. For of an error we just need to know that there exists an error.
►0 (Page 330)
►2
►3
►4
169. Which one of the following is an address (binary bit pattern) issued by
CPU?
► Memory
► Effective (Page 39)
► Base
► Next instruction
170. Which one the following interrupts is initiated with an INT instruction?
► Hardware
► Software
► Both hardware and Software
► None of the given
► Assembler
► Debugger
► Editor
► Console
176. Raid level distributes the parity strips across all disks.
a. 2
b. 3
c. 4
d. 5 page 300
177. Shifting of the radix point towards left or right is called
a. Shifting
b. Logical Shift
c. Right Shift
d. Scaling page 302
AL-JUNAID TECH INSTITUE
178. In computers, floating-point representation uses to encode
significand, exponent and their sign in a single word
a. Decimal Numbers
b. Binary Numbers page 313
c. Octal Number
d. Hexa decimal Numbers
179. The is w-bit wide and contains a data word, directly connected to
the data bus which is b-bit wide memory address register (MAR).
a. Memory Buffer Register (MBR) page 316
b. Program Counter (PC)
c. Instruction Register (IR)
d. Memory Address Register (MAR)
180. Adding a data pin to a chip with 2^m words of s bits increases the
number ofbits it can store by only a factor of
a. s/(s+1)
b. (s+1)/s page 320
c. (s+2)/s
d. s^2/s
181. A given block in cache is identified uniquely by its main memory
blocknumber, referred to as .
i. Ticket
ii. Serial
c. Tag page 323
d. Label
182. The conversion of numbers from a representation in one base to
another isknown as .
a. Radix Conversion page 301
b. Number Representation
c. Decimal representation
d. Hexadecimal Representation
183. Multiple copies of the same data can exist in memory hierarchy
simultaneously. The Cache needs updating mechanism to prevent
old datavalues from being used. This is the problem of .
a. Cache Miss
b. Dirty bit
c. Cache Coherence page 327
d. Write Allocate
AL-JUNAID TECH INSTITUE
184. Raid Level is not a true member of the RAID family.
a. 0 page 298
b. 2
c. 3
d. 4
185. In Double-Precision Binary Floating Point Representation the
fraction is
a. 23 bits
b. 52 bits page 314
c. 11 bits
d. 1 bit
186. is nonvolatile and may be written into only once.
a. PROM page 321
b. EPROM
c. EEPROM
d. Main memory
187. _ is non volatile i-e it retains the information in it when power is
removed from it
a. RAM
b. Hard Disc
c. ROM page 320
d. Cache
188. A typical one level decoder has input(s) and _ output(s).
i. n, n
ii. 2^n, n
iii. n, n^2
d. n, 2^n page 318
189. Along with the information bits, we add up another bit, which is called?
a. Start bit
b. Header bit
c. Parity bit page 297
d. Stop bit
190. Which of the following is NOT a function of memory cell?
a. Activate page 317
b. DataIn
c. DataOut
d. Read/Write
AL-JUNAID TECH INSTITUE
191. The of an m digit number x is \[{x^c} = {b^m} - 1 - x\]
a. Radix Compliment
b. Diminished Radix Compliment page 304
c. Signed Magnitude Form
d. Biased Representation
192. The
memory management unit (MMU) is located between and
.
a. Main memory and secondary memory
b. The CPU and the physical memory page 328
c. Secondary memory and Virtual memory
d. ROM and RAM
193. Given an
m-digit base b number x, the of x is
xc (bm x) mod bm
a. Radix Compliment page 304
b. Diminished Radix Compliment
c. Signed Magnitude Form
d. Biased Representation
194. For _ of an error we just need to know that there exists an
a. Detection page 297
error.
b. Correction
c. Both Correction and Detection
d. None of the given
195. is much faster than EPROM.
a. Main memory
b. Rom
c. Hard disk
d. Flash Memory page 321
196. CRC has overhead as compared to Hamming code.
a. Equal
b. Greater
c. Lesser page 298
d. None of the given
197. very large page size results in increased .
a. Through put
b. access time page 330
c. Delay
d. Execution time
AL-JUNAID TECH INSTITUE
198. For write to complete in Write through, the CPU has to wait. This wait
stateis called _.
a. Write Buffer
b. Cache Miss
c. Write Allocate
d. Write Stalls page 327
199. The signal coming from the CPU tells the memory that some
interaction is required between the CPU and memory.
a. REQUEST page 316
b. R/W
c. COMPLETE
d. None of the given
200. A 64kx1 Static RAM Chip has a cell array which consists of
row(s) and column(s).
a. 64, 1
b. 1, 64
c. 64, 256
d. 256, 256 page 317
201. chips have quartz windows and by applying ultraviolet light data
can be erased from them.
a. PROM
b. Flash Memory
c. EPROM page 321
d. EEPROM
202. _ is the concept in which a process is copied into the main memory
from the secondary memory according to the requirement.
a. Paging
b. Demand Paging page 329
c. Segmentation
d. Logical Partition
203. In virtual memory mechanism, pages are formulated in the
memory and brought into the memory.
a. Secondary, cache
b. Main, cache
c. Main, secondary
d. Secondary, main page 328
AL-JUNAID TECH INSTITUE
204. Which is a status bit that indicates whether the block in cache has been
modified or not modified?
a. Presence bit
b. Dirty bit page 327
c. Access bit
d. End bit
205. refers to the fact that once a particular data item is accessed,
it is likely that it will be referenced again within a short period of
time.
a. Spatial Locality
b. Temporal Locality page 322
c. Full Locality
d. Half Locality
206. combination of parallel and sequential hardware used to build a
multiplieris known as
i. Parallel Array Multiplier
ii. Both Recording
iii. Series Parallel Multiplier
iv. None of the given
207. When signal is high, this would correspond to a read operation
equivalent to having an input data to the CPU and output from the
memory.
a. R/W page 316
b. COMPLETE
c. REQUEST
d. None of the given
208. The _ is m-bits wide and contains memory address generated by
the CPU directly connected to the m-bit wide address bus Booth
Recording
a. memory address register (MAR) page 316
b. memory Buffer Register(MBR)
c. Program counter (PC)
d. Instruction Register(IR)
209. Adding an address pin to a memory chip increases the capacity of
memoryby a factor of _.
a. 1.5
b. 2 page 320
c. 2.5
d. 3
AL-JUNAID TECH INSTITUE
210. is a read-mostly memory that can be written into at any
timewithout erasing prior contents
a. PROM
b. EPROM
c. Flash Memory
d. EEPROM page 321
211. A 16kx4 Static RAM Chip is arranged in the form of four memory
cells
a. 64x256 page 318
b. 16x4
c. 4x16
d. 256x256
212. is the simplest form for representing a signed number
a. Biased Representation
b. Diminished Radix Compliment Form
c. Sign Magnitude Form page 304
d. None of the given
213. The Direct memory access (DMA) scheme results in direct link
between
_ and .
a. the CPU and the physical memory
b. main memory and secondary memory page 331
c. Secondary memory and Virtual memory
d. Cache memory and Registers
214. An entire _ memory can be erased in one or a few
seconds whichis much faster than EPROM.
a. PROM
b. Cache
c. EEPROM
d. Flash page 321
215. refers to the fact when a given address has been referenced,
the next address is highly probable to be accessed within a short period of
time
a. Temporal Locality
b. Spatial Locality page 322
c. Full Locality
d. Half Locality
AL-JUNAID TECH INSTITUE
216. A _______signal decides whether the input word should be
shifted orbypassed.
a. Control Read
b. shift/bypass page 312
c. Control Write
d. None of the given
217. In _ adder circuit we feed carry out from the previous stage to the
next stage and so on.
a. Ripple Carry Adder page 308
b. Carry Look Ahead Adder
c. Complement Adder
d. 2's Complement Adder
218. In Single-Precision Binary Floating Point Representation the
exponent is
_
a. 8 bits page 313
b. 11 bits
c. 1 bit
d. 23 bits
219. Each memory reference issued by the CPU is translated from the
logicaladdress space to .
a. Effective address
b. Physical address page 328
c. Virtual address
d. Cache address
220. are computed by the ALU and stored in processor status
register.
a. Condition codes page 311
b. Conditional Branches
c. Fraction Division
d. None of the given
221. In , bits are encoded in pairs so there are only ‘n/2’ additions
instead of ‘n’.
a. Booth Recording
b. Bit Pair Recording page 309
c. Integer division
d. None of the given
AL-JUNAID TECH INSTITUE
222. is a combination of arithmetic, logic and shifter unit along withsome
multiplexers and control unit.
a. Barrel Rotator
b. Control Unit
c. Flip Flop
d. ALU page 313
223. The cache contains a copy of portions of the .
a. Main memory page 321
b. Rom
c. EPROM
d. Flash memory
224. What is the basic idea of “carry look ahead”?
a. To reduce congestion
b. To speed up the ripple carry page 308
c. To solve the redundancy
d. To synchronize with CPU clock
225. Along with the information bits we add up another bit which is called the
bit.
a. CRC
b. Hamming
c. Error Detection
d. Parity page 297
226. Virtual memory acts as a cache between and _.
a. Secondary memory and Virtual memory
b. Cache memory and Registers
c. ROM and RAM
d. Main memory and secondary memory page 328
227. - Please choose one Which one of the following is the memory organization of SRC
processor?
2^8 * 8 bits
2^16 * 8 bits
2^32 * 8 bits (Page 46)
2^64 * 8 bits
228. Please choose one Type A format of SRC uses -----------instructions
Two (Page 47)
three
four
five
229. - Please choose one The instruction ---------------will load the register R3 with the
contents of the memory location M [PC+56]
Add R3, 56
AL-JUNAID TECH INSTITUE
lar R3, 56
ldr R3, 56 (Page 47)
str R3, 56
230. - Please choose one Which format of the instruction is called the accumulator?
3-address instructions
2-address instructions
1-address instructions (Page 32)
0-address instructions
231. Please choose one Which one of the following are the code size and the Number of memory bytes respectively for
a 2-address instruction?
4 bytes, 7 bytes
7 bytes, 16 bytes (Page 36)
10 bytes, 19 bytes
13 bytes, 22 bytes
232. - Please choose one Which operator is used to name registers, or part of registers, in the Register Transfer
Language?
:= (Page 66)
&
%
©
233. - Please choose one The transmission of data in which each character is self-contained units with its own start and
stop bits is ------
Asynchronous
Synchronous
Parallel
All of the given options
234. - Please choose one Circuitry that is used to move data is called -------------
Bus
Port
Disk
Memory
235. - Please choose one Which one of the following is NOT a technique used when the CPU wants to exchange data
with a peripheral device?
Direct Memory Access (DMA).
Interrupt driven I/O
Programmed I/O
Virtual Memory (Page 268)
236. Please choose one Every time you press a key, an interrupt is generated. This is an example of
Hardware interrupt (Page 275)
Software interrupt
Exception
All of the given
237. - Please choose one The interrupts which are pre-programmed and the processor automatically finds the address of
the ISR using interrupt vector table are
Maskable
Non-maskable
Non-vectored
Vectored (Page 277)
238. - Please choose one Which is the last instruction of the ISR that is to be executed when the ISR terminates?
IRET (Page 278)
AL-JUNAID TECH INSTITUE
IRQ
INT
NMI
239. - Please choose one If NMI and INTR both interrupts occur simultaneously, then which one has the precedence
over the other
NMI (Page 279)
INTR
IRET
All of the given
240. Identify the following type of serial communication error condition: The prior character that was received was not
still read by the CPU and is over written by a new received character.
Framing error
Parity error
Overrun error (Page 240)
Under-run error
241. ---------the device usually means reading its status register every so often until the device's status changes to
indicate that it has completed the request.
Executing
Interrupting
Masking
Polling
242. - Please choose one Which I/O technique will be used by a sound card that may need to access data stored in the
computer's RAM?
Programmed I/O
Interrupt driven I/O
Direct memory access(DMA)
Polling
243. - Please choose one For increased and better performance we use _____ which are usually made of glass.
Coaxial Cables
Twisted Pair Cables
Fiber Optic Cables (Page 390)
Shielded Twisted Pair Cables
244. - Please choose one In _____ if we find some call party busy we can have provision of call waiting.
Delay System (Page 381)
Loss System
Single Server Model
None of the given
245. In ____ technique memory is divided into segments of variable sizes depending upon the requirements.
Paging
Segmentation (Page 365)
Fragmentation
None of the given
246. - Please choose one For a request of data if the requested data is not present in the cache, it is called a _____
Cache Miss (Page 358)
Spatial Locality
Temporal Locality
Cache Hit
247. Please choose one An entire _____ memory can be erased in one or a few seconds which is much faster than
EPROM.
AL-JUNAID TECH INSTITUE
PROM
Cache
EEPROM
Flash Memory (Page 356)
248. - Please choose one ________chips have quartz windows and by applying ultraviolet light data can be erased from
them.
PROM
Flash Memory
EPROM (Page 356)
EEPROM
249. - Please choose one The _______signal coming from the CPU tells the memory that some interaction is required
between the CPU and memory.
REQUEST (Page 350)
COMPLETE
None of the given
250. ______ is a combination of arithmetic, logic and shifter unit along with some multiplexers and control unit.
Barrel Rotator]
Control Unit
Flip Flop
ALU (Page 347)
251. - Please choose one In Multiple Interrupt Line, a number of interrupt lines are provided between the
____________ modules.
CPU and the I/O (Page 283)
CPU and Memory
Memory and I/O
None of the given
252. - Please choose one The data movement instructions ___________ data within the machine and to or from
input/output devices.
Store
Load
Move
None of given (Page 141)
253. - Please choose one CRC has ------------ overhead as compared to Hamming code.
Equal
Greater
Lesser (Page 329)
None of the given
254. - Please choose one The ________ is w-bit wide and contains a data word, directly connected to the data bus
which is b-bit wide memory address register (MAR) .
Instruction Register(IR)
memory address register (MAR)
memory Buffer Register(MBR) (Page 350)
Program counter (PC)
255. In_______technique, a particular block of data from main memory can be placed in only one location into the
cache memory .
Set Associative Mapping
Direct Mapping (Page 360)
Associative Mapping
Block Placement
AL-JUNAID TECH INSTITUE
256. - Please choose one _______ indicate the availability of page in main memory.
Access Control Bits
Used Bits
Presence Bits
None of the given
257. The _____________ RTN describes the overall effect of instructions on the programmer visible registers.
Abstract
Concrete
Absolute
Basic
258. - Please choose one The instruction set is of _____________ importance in governing the structure and function of
the pipeline.
Least
Primary
Secondary
No
Uestion
259. - Please choose one ____________ is the most general and least useful performance metrics for RISC machines.
MIPS
Instruction Count
Number of registers
Clock Speed
260. - Please choose one A _________ provides four functions: Select, DataIn, DataOut
and Read/Write.
ALU
Bus
Register
Memory Cell (Page 351)
261. Question No: 5 ( Marks: 1 ) - Please choose one We can classify or partition the SRC instructions by their overall
______________ behavior.
Register transfer
Memory transfer
Execution
Logical
262. - Please choose one The ____________ RTN describes detailed register transfer steps
in the data path that produce the overall effect.
Abstract
Concrete
Absolute
Basic
263. Please choose one All members of the MC68000 family are ____________
processors.
32-bit
16-bit
64-bit
8-bit
264. - Please choose one _________ Operations refers to a processor that can issue more than one instruction
simultaneously.
Macro
Micro
AL-JUNAID TECH INSTITUE
Scalar
Superscalar click here for detail
265. - Please choose one Exceptions which are _______________ occur in response to events that are paced by the
internal processor clock.
Asynchronous
Synchronous click here for detail
Internal
External
266. - Please choose one In the hazard detection by hardware, resolved by pipeline stalls, if the instructions are in the
adjoining stages, then the hazard must be detected in stage __________.
4
2
3
1
267. Please choose one 16k x4 static RAM Chip is arranged in the form of four _____________ cells.
16x512
32x512
256x512
64x256 (Page 352)
268. - Please choose one In a DRAM cell, the storage capacitor will discharge in around ______________
4 -15 ms (Page 354)
2 - 10 ms
5-20 ms
10-25 ms
269. Please choose one 1-bit sign, 8-bit exponent, 23-bit fraction and a bias of 127 is used for ___________ Binary
Floating Point Representation
Double precision
Single Precision (Page 348)
All of above
Half Precision
270. - Please choose one The average rotational latency if the disk rotated at 20,000rpm is _____________
0.5 ms
3.5 ms
2.5 ms
1.5 ms (Page 324)
271. Question No: 5 ( Marks: 3 ) - Please choose one A hard disk with 5 platters has 1024 tracks per platter, 512
sectors per track and 512 bytes/sector. What is the total capacity of the disk?
1.5 GB
1 GB (Page 324)
2 GB
3 GB
272. Where does the processor store the address of the first instruction of the ISR?
Interrupt vector (Page 277)
Interrupt request
Interrupt handler
All of the given options
273. In ________, a separate address space of the CPU is reserved for I/O operations.
Isolated I/O (Page 236)
AL-JUNAID TECH INSTITUE
Memory Mapped I/O
All of above
None of above
274. -------------- is the time needed by the CPU to recognize (not service) an interrupt request.
Interrupt Latency (Page 279)
Response Deadline
Timer delay
Throughput
275. _________ is a technique in which some of the CPU’s address lines forming an input to the address decoder are
ignored.
Microprogramming
Instruction pre-fetching
Pipelining
Partial decoding (Page 255)
280. In which one of the following methods for resolving the priority, the device with the highest priority is placed in
the first position, followed by lower-priority devices up to the device with the lowest priority, which is placed last
in the series?
Asynchronous
Daisy-Chaining Priority
Parallel
Semi-synchronous
281. Identify the type of serial communication error condition in which A 0 is received instead of a stop bit (which is
always a 1)?
Framing error (Page 240)
Parity error
Overrun error
Under-run error
282. Identify the following type of serial communication error condition in which no character is available at the
AL-JUNAID TECH INSTITUE
beginning of an interval.
Framing error
Parity error
Overrun error
Under-run error (Page 240)
283. ______ is an electrical pathway through which the processor communicates with the internal and external
devices attached to the computer.
Computer
Hazard
Memory
Disk
284. Connection to a CPU that provides a data path between the CPU and external devices, such as a keyboard,
display, or reader is called-----------
Processer
Program
Buses
memory address
285. VLIW stands for -------------
Very Lengthy Interaction Word
Very Length Instruction Width
Very Long Instruction Word (Page 219
) none of given options
286. A -------------is a wiring scheme in which, for example, device A is wired to device B, device B is wired to
device C, device C is wired to device D etc.
Daisy chain
DMA
Interrupt driven
I/O Polling
287. Question # 8 of 10 (Total Marks: 1) Select correct option: An ----------- is the memory address of an interrupt
handler.
Interrupt vector
Interrupt service routine
Exception
Mask
288. The conversion of numbers from a representation in one base to another is known as_______
Radix Conversion (Page 333)
Number Representation
Decimal representation
Hexadecimal Representation
289. If an interrupt is set by the timer component or by the peripheral device then how would you categorize it?
Hardware
Software
Exception
All of the given options
290. : 1 In which one of the following interrupts the device have to supply the address of the subroutine to the
Microprocessor
Maskable
Non-maskable click here for detail
Non-vectored Vectored
291. ---------- interrupts are usually associated with the software
AL-JUNAID TECH INSTITUE
Hardware
software
Machine
internal
292. When the address of the subroutine is already known to the Microprocessor then it is called as --------- interrupt.
Maskable
Non-maskable
Non-vectored
Vectored
293. How Interrupt driven I/O is better than polling because?
Interrupt driver I/O is easy to design
Interrupt driver I/O is enhanced version of polling.
Interrupt driver I/O does not waste time on checking which device is available. (Page 274)
Interrupt driven I/O is easy to program.
294. In Single-Precision Binary Floating Point Representation the exponent is _______
8 bits (Page 348)
11 bits
1 bit
23 bits
295. : The______is m-bits wide and contains memory address generated by the CPU directly connected to the m-bit
wide address bus Booth Recording
memory address register (MAR) (Page 350)
memory Buffer Register(MBR)
Program counter (PC)
Instruction Register(IR)
296. A combination of parallel and sequential hardware used to build a multiplier is known as _______
Parallel Array Multiplier
Booth Recording
Series Parallel Multiplier (Page 342)
None of the given
297. The register file is a collection of _____bit wide registers used for data transfer between memory and the CPU .
8
16
32 (Page 350)
64
298. The _________ of an m digit number x is xc’=bm -1- x
Radix Compliment
Diminished Radix Compliment (Page 337)
Signed Magnitude Form
Biased Representation
299. Shifting of the radix point towards left or right is called ________
Shifting
Logical Shift
Right Shift
Scaling (Page 335)
300. Question # 7 of 10 (Total Marks: 1) Select correct option: In _______ adder circuit we feed carry out from the
previous stage to the next stage and so on.
Ripple Carry Adder (Page 341)
Carry Look Ahead Adder
Complement Adder
AL-JUNAID TECH INSTITUE
2’s Complement Adder
301. _______ are computed by the ALU and stored in processor status register.
Condition codes (Page 334)
Conditional Branches
Fraction Division
None of the given
302. A _______signal decides whether the input word should be shifted or bypassed
. Control Read
Shift/bypass (Page 346)
Control Write
None of the given
303. Along with information bits we add up another bit which is called the______________bit.
CRC
Hamming
Error Detection
Parity (Page 328
304. In ____ recording ,bits are encoded in pairs so there are only ' n/2' additions instead of 'n'.
Booth Recording
Bit Pair Recording (Page 343)
Integer division
None of the given
305. ____ signal is high, this would correspond to a read operation equivalent to having an input data to the CPU
and output from the memory REQUEST .
R/W (Page 350)
COMPLETE
REQUEST
None of the given
306. Given an m-digit base b number x, the ______ of x is xc = ( bm– x) mod bm
Radix Compliment (Page 337)
Diminished Radix Compliment
Signed Magnitude Form
Biased Representation
307. For ______ of an error we just need to know that there exists an error.
Detection (Page 328)
Correction
Both Correction and Detection
None of the given
308. In Double-Precision Binary Floating Representation the function is____
23 bits
52 bits (Page 348)
1 bits
1 bit
309. : _____ is the simplest form for representing a signed number
Based representation
Diminshed Redex Complement Form
Sign Magnitude Form (Page 336)
None of the given
310. In computers, floating-point representation uses________ to encode significand, exponent and their sign in a
single word
Decimal Numbers
AL-JUNAID TECH INSTITUE
Binary Numbers (Page 347)
Octal Numbers
Hexa decimal Numbers
311. : Which one of the following registers store a previously calculated value or a value loaded from the main
memory?
► Accumulator
► Address Mask
► Instruction Register
► Program Counter
312. Which one of the following portions of an instruction represents the operation to be performed?
► Address
► Instruction code
► Opcode (Page 33)
► Operand
313. _______ control signal enable the input to the PC for receiving a value that is currently on the internal processor
bus.
►LPC (Page 172)
► INC4
► LC
► Cout
314. What is the instruction length of the FALCON-E processor?
► 8 bits
► 16 bits
►32 bits (Page 134)
► 64 bit
315. Which type of instructions enables mathematical computations?
►Arithmetic (Page 92)
►Control
►Data transfer
►None of the given
316. What is the instruction length of the SRC and Falcon E processor?
► 8 bits
► 16 bits
► 32 bits (Page 134)
► 64 bits
317. : An instruction that specifies one operand in memory and one operand in a register would be known as a
__________ address instruction.
►2-1/2
►1-1/2 (Page 37)
►0
►2
318. In floating point representations ______ is also called mantissa.
►Sign
►Base
►Significant (Page 347)
►Exponent
319. What should be the behavior of interrupts during critical sections?
►Must remain disable (Page 197)
►Must remain Enable
►Can be either enable or disable
AL-JUNAID TECH INSTITUE
►only important interrupts be enable
320. Which one of the following is a binary cell capable of storing one bit of information?
►Decoder
►Flip-flop (Page 76)
►Multiplexer
►Diplexer
321. Which type of instructions load data from memory into registers, or store data from registers into memory and
transfer data between different kinds of special-purpose registers?
►Arithmetic
►Control
►Data transfer (Page 88)
►Floating point
322. What does the RTL expression [M(1234)] means?
►The contents of memory whose address is 1234.
►The contents of data register 1234
►The effective address of register 1234
►The address of memory whose address is 1234.
323. Which one of the following languages presents a simple, human-oriented language to specify the operations,
register communication and timing of the steps that take place within a CPU to carry out higher level (user
programmable) instructions?
►Assembly Language
►OOP(Object Oriented Language)
►RTL (Register Transfer Language)
►UML(Unified Modeling language)
324. Which one of the following instructions is used to load register from memory using a relative address?
►la
►lar
►ldr (Page 145)
►str 23
325. Taking control of the system bus for a few bus cycles is known as _____________.
►Bus Stealing
►Cycle Stealing (Page 317)
►Cycle Transfering
►None of given
326. : In-------------address mode, the actual data is stored in the instruction.
►Direct
►Indirect
►Immediate
►Relative
327. Keyboard Interrupt (INT 9) is an example of ----- interrupt.
►Hardware
►Software
328. user program has to delete a file. The user program will be executing in the user mode. When it makes the
specific system call to delete the file, an interrupt will be generated, this will cause the processor to halt its
current activity and switch to supervisor mode. Once in supervisor mode, the operating system will delete the
file and then control will return to the user program. This is an example of
►Hardware interrupt
►Software interrupt (Page 275)
►Exception
AL-JUNAID TECH INSTITUE
►All of the given
329. By which file extension does the FALCON-A Assembler loads a FALCON-A assembly file?
►.asmfa (Page 8)
►.org
►.exe
►.src 24
330. All ----------interrupts have priority over all ---------interrupt
►internal, external (Page 279)
►external, internal
331. The ------- can also be used anywhere in the source file to force code at a particular address in the memory.
►.end directive
►.start directive