Professional Documents
Culture Documents
KIỂM TRA CUỐI KỲ tdtu
KIỂM TRA CUỐI KỲ tdtu
Draft saved
* Required
Mã sinh viên *
52200051
Lớp *
22050201
Phần 1
Addressing Modes
Your answer
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 1/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
In the case of, Zero-address instruction method the operands are stored in * 1 point
_____
a) Registers
b) Accumulators
d) Cache
Add #45, when this instruction is executed the following happen/s _______ * 1 point
a) The processor raises an error and requests for one more operand
b) The value stored in memory location 45 is retrieved and one more operand is
requested
c) The value 45 gets added to the value on the stack and is pushed onto the stack
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 2/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
The addressing mode which makes use of in-direction pointers is ______ * 1 point
The addressing mode/s, which uses the PC instead of a general purpose * 1 point
register is ______
b) Relative
c) Direct
The addressing mode, where you directly specify the operand value is * 1 point
_______
a) Immediate
b) Direct
c) Definite
d) Relative
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 3/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
The effective address of the following instruction is mul $v0, $t1, $t2 * 1 point
v0=t1+t2
v0=t1-t2
v0=t1*t2
v0=t1/t2
_____ addressing mode is most suitable to change the normal sequence of * 1 point
execution of instructions.
a) Relative
b) Indirect
d) Immediate
Result of the instruction add $v0, $t1, $t2 with $t1 and $t2 have value 2 and 1 point
3.
-1
2/3
Clear selection
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 4/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
a) Little Endian
b) Big Endian
c) Medium Endian
Clear selection
When using the Big Endian assignment to store a number, the sign bit of * 1 point
the number is stored in _____
c) Can’t say
9. During the transfer of data between the processor and memory we use 1 point
______
a) Cache
b) TLB
c) Buffers
d) Registers
Clear selection
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 5/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
Physical memory is divided into sets of finite size called as ______ * 1 point
a) Frames
b) Pages
c) Blocks
d) Vectors
a) R3=R1+R2+R3
b) R3<-[R1]+[R2]+[R3]
c) R3=[R1]+[R2]
d) R3<-[R1]+[R2]
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 6/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
a) 16 bit
b) 8 bits
c) 5 bits
d) 6 bits
c) Completing the execution of the data and placing its storage address into MAR
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 7/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
a) TestAndSet
b) Branch
c) TestCondn
When using Branching, the usual sequencing of the PC is altered. A new * 1 point
instruction is loaded which is called as ______
a) Branch target
b) Loop target
c) Forward target
d) Jump instruction
a) Machine compiler
b) Interpreter
c) Assembler
d) Converter
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 8/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
a) Frames
b) Segments
c) Pages
d) Sheets
Clear selection
The techniques which move the program blocks to or from the physical * 1 point
a) Paging
c) Overlays
d) Framing
The binary address issued to data or instructions are called as ______ * 1 point
a) Physical address
b) Location
c) Relocatable address
d) Logical address
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 9/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
a) Page table
b) Frame table
c) MMU
a) MMU
b) Translator
c) Compiler
d) Linker
The DMA doesn’t make use of the MMU for bulk data transfers. * 1 point
a) True
b) False
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 10/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
The virtual memory basically stores the next segment of data to be * 1 point
executed on the _________
a) Secondary storage
b) Disks
c) RAM
d) ROM
a) TLB
b) Page table
c) Frame table
The reason for the implementation of the cache memory is ________ * 1 point
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 11/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
a) Locality of reference
b) Memory localisation
c) Memory size
d) That the instruction in close proximity of the instruction executed will be executed
in future
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 12/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
The correspondence between the main memory blocks and those in the * 1 point
cache is given by _________
a) Hash function
b) Mapping function
c) Locale function
d) Assign function
The algorithm to remove and place new contents into the cache is called * 1 point
_______
a) Replacement algorithm
b) Renewal algorithm
c) Updation
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 13/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
The bit used to signify that the cache location is updated is ________ * 1 point
a) Dirty bit
b) Update bit
c) Reference bit
d) Flag bit
The approach where the memory contents are transferred directly to the * 1 point
processor from the memory is called ______
a) Read-later
b) Read-through
c) Early-start
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 14/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
The main memory is structured into modules each with its own address * 0 points
register called ______
a) ABR
b) TLB
c) PC
d) IR
When consecutive memory locations are accessed only one module is * 1 point
accessed at a time.
a) True
b) False
In memory interleaving, the lower order bits of the address is used to * 1 point
_____________
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 15/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
a) Hit rate
b) Miss rate
c) Success rate
d) Access rate
The number failed attempts to access memory, stated in the form of a * 1 point
a) Hit rate
b) Miss rate
c) Failure rate
d) Delay rate
In associative mapping during LRU, the counter of the new block is set to ‘0’ * 1 point
and all the others are incremented by one, when _____ occurs.
a) Delay
b) Miss
c) Hit
d) Delayed hit
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 16/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
In LRU, the referenced blocks counter is set to’0′ and that of the previous * 1 point
blocks are incremented by one and others remain same, in the case of
______
a) Hit
b) Miss
c) Delay
If hit rates are well below 0.9, then they’re called as speedy computers. * 1 point
a) True
b) False
The miss penalty can be reduced by improving the mechanisms for data * 1 point
transfer between the different levels of hierarchy.
a) True
b) False
a) Performance
b) Cost
c) Speed
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 17/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
The extra time needed to bring the data into memory in case of a miss is * 1 point
called as __________
a) Delay
b) Propagation time
c) Miss penalty
a) Price/performance ratio
b) Performance/price ratio
c) Operation/price ratio
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 18/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
The memory transfers between two variable speed devices are always done * 1 point
at the speed of the faster device.
a) True
b) False
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 19/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
a) Memory interleaving
b) TLB
c) Pages
d) Frames
The performance of the system is greatly influenced by increasing the level * 1 point
1 cache.
a) True
b) False
Two processors A and B have clock frequencies of 700 Mhz and 900 Mhz * 1 point
respectively. Suppose A can execute an instruction with an average of 3
steps and B can execute with an average of 5 steps. For the execution of
the same instruction which processor is faster.
a) A
b) B
d) Insufficient information
This form was created inside of Ton Duc Thang University. Report Abuse
Forms
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 20/21
11:27, 20/01/2023 KIỂM TRA CUỐI KỲ
https://docs.google.com/forms/d/e/1FAIpQLSfnXJmyU5yukm9S61omiZogwW-QeeRvTs6TZ74EzGrpa8cmsg/viewform?vc=0&c=0&w=1&flr=0 21/21