Tải bản đầy đủ (.pdf) (166 trang)

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (35.03 MB, 166 trang )

14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp

NHÀCỦATƠI  CÁCKHỐHỌCCỦATƠI  HỌCKỲ2NĂMHỌC20162017 
Á



À Ậ Ơ

Nhóm060708CLCKiếntrúcmáytính
vàhợpngữ
Bắtđầuvàolúc Saturday,8April2017,1:12PM
State

Finished

Kếtthúclúc Saturday,8April2017,1:22PM
Thờigianthực 10phút13giây
hiện
Điểm

22,25/22,25

Điểm

10,00outof10,00(100%)

Câuhỏi1


Given8bitfloatingpointbinaryformat:

Đúng

1(sign)+3(exponent)+4(mantissa)

Đạtđiểm1,00

Convertthe8bitfloatingpointnumber57(inhex)todecimal.

trên1,00
Đặtcờ

Câuhỏi2
Đúng

Answer: 5,75

Asystemprogrammerneedstodivide6247by300(decimal).Instructhimtocodeindebug
(numbermustbeinhex)andtheresultshouldbe?

Đạtđiểm1,50
trên1,50
Đặtcờ

Step1:

MOVAX,E799




Step2:

CDW



Step3:

MOVBX,012C



Step4:

IDIVBX



AX=

FFEC



DX=

FF09




Result:

Youransweriscorrect.

Đạtđiểm0,50
Câuhỏi3
trên0,50
Đúng
Đặtcờ

Writemaskbyte(inhex)toclearthelower4bitofabytevaluewithANDinstruction.
F0
Answer:

Câuhỏi4

Toisolateoneormorebitsinabytevalue,use__________instruction.

Đúng
Đạtđiểm0,50
trên0,50
Đặtcờ

Selectone:

OR
NOT
AND 
XOR


about:blank

1/166


14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp

Đạtđiểm0,50
Câuhỏi3
trên0,50
Đúng
Đặtcờ

Writemaskbyte(inhex)toclearthelower4bitofabytevaluewithANDinstruction.
F0
Answer:

Câuhỏi4

Toisolateoneormorebitsinabytevalue,use__________instruction.

Đúng
Đạtđiểm0,50
trên0,50
Đặtcờ

Selectone:


OR
NOT
AND 
XOR

Youransweriscorrect.

Câuhỏi5
Đúng
Đạtđiểm0,25
trên0,25

EAXnowstoreda32bitIPaddressofahost.ThenetworkID(netID)is20bitandcanbe
extractedfromIPbyteandingwitha32bitmask.WritecorrectinstructiontoextractnetIDfrom
EAXregister.
Note:Immediatevaluemustbewritteninhex

Đặtcờ

Answer: andEAX,FFFFF000

Câuhỏi6

Thefollowingsequenceofinstructionsareexecuted.Whatisthecorrectvaluesatwatchpoint?

Đúng

MOVAX,67FE


Đạtđiểm1,00

MOVBX,AX

trên1,00
Đặtcờ

MOVCL,BH
MOVCH,BL
watchpoint:
CX=

FE67



BX=

67FE



Youransweriscorrect.

Câuhỏi7
Đúng

Thefollowingsequenceofinstructionsareexecuted.Whatisthecorrectvalueofflagbitsatwatch
point?


Đạtđiểm1,00

MOVEAX,12AE

trên1,00

SUBEAX,12AF

Đặtcờ

watchpoint:
Zeroflag(OF)=
signflag

reset
set




Carryflag(CF)=

set



Youransweriscorrect.

Câuhỏi8
Đúng


Physicaladdressofthestackpointeris2DA82,stacksegmentlocatedat1DAE.Computerthe
valueofSPregister?

Đạt điểm 1 00

about:blank

2/166


14:23 28/09/2023
Đặtcờ

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
watchpoint:
Zeroflag(OF)=
signflag

reset
set




Carryflag(CF)=

set




Youransweriscorrect.

Câuhỏi8
Đúng

Physicaladdressofthestackpointeris2DA82,stacksegmentlocatedat1DAE.Computerthe
valueofSPregister?

Đạtđiểm1,00
trên1,00

Answer: FFA2

Đặtcờ

Câuhỏi9

Matchthefollowinghexadecimalnumberstooctal

Đúng
Đạtđiểm1,00

E7

347



6E


156



A9

251



trên1,00
Đặtcờ

Youransweriscorrect.

Câuhỏi10

Enterdebugcommandtofill256bytesindatasegmentstartingfrom100withvalue0D

Đúng
Đạtđiểm1,00
trên1,00

Answer: f1001FF0D

Đặtcờ

Câuhỏi11


Given8bitfloatingpointbinaryformat:

Đúng

1(sign)+3(exponent)+4(mantissa)

Đạtđiểm1,00

Convertthe8bitfloatingpointnumberE7(inhex)todecimal.

trên1,00
Đặtcờ

Câuhỏi12

Answer: 11,5

Matchthecorrectanswerforbinaryoperationsontheleft

Đúng
Đạtđiểm1,50

1111111111

1111000



1100000
1100111111  1101010

1010101+10101



1010001



trên1,50
Đặtcờ

1010110101

1110011+11001 10001100



1111111+11111



10011110

Youransweriscorrect.

about:blank

3/166



14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp

trên1,50
Đặtcờ

1100000
1100111111  1101010
1010101+10101



1010001



1010110101

1110011+11001 10001100



1111111+11111



10011110

Youransweriscorrect.


Câuhỏi13

Convertthefollowingbinarynumberstohexadecimal

Đúng
Đạtđiểm1,00

10101001

A9



01101110

6E



11100101

E5



11100111

E7




trên1,00
Đặtcờ

Youransweriscorrect.

Câuhỏi14
Đúng

Thefollowingsequenceofinstructionsareexecuted.WhatisthecorrectvalueofCFandOFat
watchpoint?

Đạtđiểm1,00

MOVAX,140h

trên1,00

MOVCX,8h

Đặtcờ

MULCX
watchpoint:
CF=

reset




OF=

reset



Youransweriscorrect.

Câuhỏi15

Totestonebitinabytevaluewithoutdestructingthebyte,use__________instruction.

Đúng
Đạtđiểm0,50
trên0,50
Đặtcờ

Selectone:

NOT
TEST 
AND
OR

Youransweriscorrect.

Câuhỏi16

Givenarowofmemoryimageindebug


Đúng

0AE8:01201396D0E0D0E0A21E99803E2099007524

Đạtđiểm1,00

Initially,AX=BX=CX=DX=0,SI=121

trên1,00

about:blank

WhatarevalueofCX,DXafterexecutionofthefollowinginstructions?

4/166


14:23 28/09/2023
Đạtđiểm0,50
trên0,50
Đặtcờ

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
Selectone:

NOT
TEST 
AND
OR


Youransweriscorrect.

Câuhỏi16

Givenarowofmemoryimageindebug

Đúng

0AE8:01201396D0E0D0E0A21E99803E2099007524

Đạtđiểm1,00

Initially,AX=BX=CX=DX=0,SI=121

trên1,00
Đặtcờ

WhatarevalueofCX,DXafterexecutionofthefollowinginstructions?
MOVDX,[SI]
MOVCX,[SI+2]

DX=

D096



CX=


D0E0



Youransweriscorrect.

Câuhỏi17

Selectcorrectmatchforregistervaluesatwatchpoints:

Đúng

MOVAX,152D

Đạtđiểm1,00

ADDAX,003F

trên1,00
Đặtcờ

watchpoint#1:
ADDAH,10
watchpoint#2:
......

watchpoint#2:

AH=25




watchpoint#1:

AL=6C



Youransweriscorrect.

Câuhỏi18
Đúng
Đạtđiểm1,00

Amemorylocationlocatedinextrasegmentwhichnowhasvalueof564F.Thismemorymanaged
byES:SIregisterpair.SInowpointsto905F.Computethephysicaladdressofthismemory
location

trên1,00
Đặtcờ
Câuhỏi19

Answer: 5F54F

SelectcorrectmatchforALandcarryflagatwatchpoint#1:

Đúng

MOVBL,8C


Đạtđiểm1,00

MOVAL,7E

trên1,00
Đặtcờ

ADDAL,BL
watchpoint#1:
......
Carryflag

set



0A

about:blank

5/166


14:23 28/09/2023
g
Đạtđiểm1,00

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
location


trên1,00
Đặtcờ
Câuhỏi19

Answer: 5F54F

SelectcorrectmatchforALandcarryflagatwatchpoint#1:

Đúng

MOVBL,8C

Đạtđiểm1,00

MOVAL,7E

trên1,00

ADDAL,BL

Đặtcờ

watchpoint#1:
......
Carryflag

set




AL

0A



Youransweriscorrect.

Câuhỏi20

Convertthe32bitfloatingpointnumberC4361000(inhex)todecimal.

Đúng
Đạtđiểm1,00

Answer: 728,25

trên1,00
Đặtcờ

Câuhỏi21

Whichofthefollowinginstructionsarenotlegaladdressing?

Đúng
Đạtđiểm1,00
trên1,00

Selectoneormore:


MOVAX,[DI]
MOVAX,[BX+SP] 

Đặtcờ

MOVAX,[SP+1] 
MOVCX,[SI]

Youransweriscorrect.

Câuhỏi22
Đúng

ComputethephysicaladdressofstacktopifstackpointerisFFAEandstacksegmentlocatedat
1DAE

Đạtđiểm1,00
trên1,00

Answer: 2DA8E

Đặtcờ

Câuhỏi23

Signextendnumber10110101(8bitbinary)to16bit

Đúng
Đạtđiểm0,50
trên0,50


Answer: 1111111110110101

Suite du document ci-dessous

Đặtcờ

Découvre plus de :
Kiến trúc máy tính _ hợp ngữ 091202
247 documents

Accéder au cours
about:blank

6/166


14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
Answer: 1111111110110101

Đạtđiểm0,50
trên0,50

Suite du document ci-dessous

Đặtcờ

Découvre plus de :

Kiến trúc máy tính _ hợp ngữ 091202
247 documents

Accéder au cours

8

KTQT Lần 1 năm 2020 - bài tập ơn mơn kiến trúc máy tính và
hợp ngữ cuối kì
Kiến trúc máy tính _ hợp ngữ

100% (4)

Chapter-01-kiến trúc máy tính và hợp ngữ
37

Kiến trúc máy tính _ hợp ngữ

100% (2)

Bài Thi Cuối Kỳ Môn Kiến Trúc Máy Tính và Hợp Ngữ
12

Kiến trúc máy tính _ hợp ngữ

100% (4)

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
165


Kiến trúc máy tính _ hợp ngữ

92% (13)

Tài liệu khơng có tiêu đề
7
Câuhỏi24

Đạtđiểm1,00

Đặtcờ

100% (2)

Thefollowingsequenceofinstructionsareexecuted.WhatisthecorrectvalueofAX,CX,DXat
watchpoint?
BỘ
ƠN KTMT 2 - đề thi

Đúng

trên1,00

Kiến trúc máy tính _ hợp ngữ

146

MOVAX,30

MOVCX,FFFF

Kiến
trúc máy tính _ hợp ngữ

100% (3)

MULCX
watchpoint:

about:blank

CX=

FFFF



AX=

FFD0



7/166


14:23 28/09/2023
Câuhỏi24

Đạtđiểm1,00


Đặtcờ

Thefollowingsequenceofinstructionsareexecuted.WhatisthecorrectvalueofAX,CX,DXat
watchpoint?
BỘ
ÔN KTMT 2 - đề thi

Đúng

trên1,00

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp

146

MOVAX,30

MOVCX,FFFF
Kiến
trúc máy tính _ hợp ngữ

100% (3)

MULCX
watchpoint:
CX=

FFFF




AX=

FFD0



DX

002F



Youransweriscorrect.

Finishreview

about:blank

8/166


14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp

31/5/2019

Bài Thi Cuối Kỳ Mơn Kiến Trúc Máy Tính và Hợp Ngữ


Thi Online KTMT&HN nhóm Chẵn
Started on
State
Completed on
Time taken

Question
Complete

about:blank

1

Friday, 31 May 2019, 1:14 PM
Finished
Friday, 31 May 2019, 2:23 PM
1 hour 8 mins

Write mask byte (in hex) to set bit 6th, 4th of a byte value with OR instruction (LSB is the 1st
bit).

9/166


14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp

31/5/2019


Bài Thi Cuối Kỳ Mơn Kiến Trúc Máy Tính và Hợp Ngữ

Thi Online KTMT&HN nhóm Chẵn
Started on
State
Completed on
Time taken

Question

1

Complete

Friday, 31 May 2019, 1:14 PM
Finished
Friday, 31 May 2019, 2:23 PM
1 hour 8 mins

Write mask byte (in hex) to set bit 6th, 4th of a byte value with OR instruction (LSB is the 1st
bit).

Marked out of

Answer: 3

0.50

Question


2

Complete
Marked out of
1.00

Consider the following assembly instruction sequence
XOR BX, BX
CMP DL, 5
JLE a_label
CMP DL,17h
JGE a_label
MOV BX, 10h
a_label:
INC BX
watch point:
...
Choose correct value of BX register at watch point for different value of DL?

Question

3

DL=10

01h

DL=17h

28h


DL=0FFh

11h

DL=0Ah

6

Choose correct features for SRAM and DRAM

Complete
Marked out of

DRAM

Slower access time, cheaper cost per bit, can manufacture with larger size

SRAM

Faster access time, cheaper cost per bit, can manufacture with larger size

1.00



Question

4


Complete
Marked out of
1.00

Consider a 16-bit microprocessor, with a 16-bit external data bus, driven by an 10-MHz input clock.
Assume that this microprocessor has a bus cycle whose minimum duration equals four input clock cycles.
What is the maximum data transfer rate across the bus that this microprocessor can sustain?
Select one:

1 MB/s
10 MB/s
5 MB/s
4 MB/s

Question

about:blank

5

the memory stack area of a program shown in figure

10/166


14:23 28/09/2023
Question

4


Complete
Marked out of
1.00

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
Consider a 16-bit microprocessor, with a 16-bit external data bus, driven by an 10-MHz input clock.
Assume that this microprocessor has a bus cycle whose minimum duration equals four input clock cycles.
What is the maximum data transfer rate across the bus that this microprocessor can sustain?
Select one:

1 MB/s
10 MB/s
5 MB/s
4 MB/s

Question

5

the memory stack area of a program shown in figure

Complete
Marked out of
1.00

The value of SP register is 1D50. What is the value of SP follows the execution of PUSH SI

Answer: 1D4F

Question


6

Not answered
Marked out of
1.50

Calculate MIPS rate for this program
Given:

Answer:



Question

7

Choose the correct structure of memory chip as shown below

Complete
Marked out of
1.00

about:blank

11/166


14:23 28/09/2023

Question

7

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
Choose the correct structure of memory chip as shown below

Complete
Marked out of
1.00

Note:
DQ: Data pinout
Select one:

DRAM 2Kx8-bit
SRAM 2Kx8-bit
SRAM 1Kx16-bit
DRAM 1Kx16-bit

Question

8

Complete
Marked out of
1.00

What is the correct value of SI, AL (in hex) at watch point:
01:

MOV SI, 300h
02:
MOV AL, 10h
03:
MOV CX, 7
04: Loop_label:
05:
MOV [SI], AL
06:
ADD AL,10h
07:
INC SI
08:
LOOP Loop_label
watch point:

Question

9

Complete
Marked out of
1.00

AL =

307h

SI


308h

The principle of cache memory relies on key features: locality of reference which involves spatial and
temporal locality. Match the definition to keywords on the left
Spatial
locality

the tendency of execution to involve a number of memory locations that are clustered

Temporal
locality

the tendency for a processor to access memory locations that have been used recently



tendency to use large cache and prefetch mechanism
Question

10

For memory hierarchy below, which relationship hold when moving downward

Complete
Marked out of
1.00

about:blank

12/166



14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
tendency to use large cache and prefetch mechanism

Question

10

For memory hierarchy below, which relationship hold when moving downward

Complete
Marked out of
1.00

Select one or more:

Decreasing cost per bit
Decreasing frequency of access by the processor
Increasing access time
Increasing capacity
the processor accesses more often

Question

11

Given 8-bit floating-point binary format:


Complete

1 (sign) + 3 (exponent) + 4 (mantissa)

Marked out of

Convert the 8-bit floating point number 68 (in hex) to decimal.

1.00

Answer: 12

Question

12

Complete
Marked out of
1.00

In computer organization, the CPU transfer rate is much higher than that of memory. It is easy to match
performance of these components by:
Select one:

increase the bus speed
increase I/O speed




producing faster memory module
Introducing cache memory

Question

13

The instruction that loads the AH register with the lower byte of the flag register is

Complete
Marked out of

Select one:

SAHF

0.50

AH
LAHF
PUSHF

Question

14

Which are correct about 32 bit index registers of IA-32 processors:

Complete


Select one or more:

about:blank

13/166


14:23 28/09/2023
Question

13

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
The instruction that loads the AH register with the lower byte of the flag register is

Complete
Marked out of

Select one:

SAHF

0.50

AH
LAHF
PUSHF

Question


14

Which are correct about 32 bit index registers of IA-32 processors:

Complete
Marked out of

Select one or more:

ESH,EDH: 16 bit pointers to higher memory above 1M

1.50

SI: 16 bit pointer to source memory in data movement instructions
ESI: 32 bit pointer to source memory in data movement instructions
EDI: 32 bit pointer to destination memory in data movement instructions
DI: 16 bit pointer to destination memory in data movement instructions

Question

15

The following sequence of instructions are executed. What is the correct value of flag bits at watch point?

Complete

MOV AL, 0F
ADD AL, F1

Marked out of

1.00

Question

watch point:

16

Zero flag (OF) =

set

Carry flag (CF) =

set

What is the correct sequence of instruction cycle?

Complete
Marked out of

Step 6

Store result

Step 1

Fetch opcode

Step 2


Calculate operand address

Step 3

Fetch operand

Step 5

Decode

Step 4

Execution

1.20

Question

17



To encrypt a byte value, use __________ instruction.

Complete
Marked out of

Select one:


AND

0.50

NOT
OR
XOR

Question

18

Which of the following instructions are not valid?

Complete

Select one or more:

about:blank

14/166


14:23 28/09/2023
Question

17

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
To encrypt a byte value, use __________ instruction.


Complete
Marked out of

Select one:

AND

0.50

NOT
OR
XOR

Question

18

Which of the following instructions are not valid?

Complete
Marked out of

Select one or more:

MOV AX, SI

0.50

MOV AX, [BP+2]

MOV DS, B800h
MOV SP, SS:[SI+2]

Question

19

8088 is 16 bit processor, the maximum addressable memory is:

Complete
Marked out of

Select one:

640K

0.50

64M
640M
1024K

Question

20

Complete

Select correct definition of seek time, rotational delay, access time, transfer time for hard drives with
moveable-head system:


Marked out of
1.00

Question

21

rotational delay

access time + settle time

seek time

time for the head to settle at the request track

access time

transfer time

Which of the following instructions are not legal addressing?

Complete
Marked out of

Select one or more:

MOV AX, [SP+1]

1.00


MOV AX, [DI]



MOV CX, [SI]
MOV AX, [BX+SP]

Question

22

A memory chip has 12 address pins, determine the maximum memory words of this chip?

Complete
Marked out of

Select one:

2048

1.00

4096
2048K
4000

Question

23


Convert 0.1015625 to IEEE 32-bit floating point format (1 sign+ 8 exponent + 23 mantissa)

Complete

about:blank

15/166


14:23 28/09/2023
Question

22

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
A memory chip has 12 address pins, determine the maximum memory words of this chip?

Complete
Marked out of

Select one:

2048

1.00

4096
2048K
4000


Question

23

Convert 0.1015625 to IEEE 32-bit floating point format (1 sign+ 8 exponent + 23 mantissa)

Complete
Marked out of

Answer: 3DD00000

1.00

Question

24

Structural components of computer include:

Complete
Marked out of

Select one or more:

Memory

1.00

Central processing unit

I/O
DMA
Interrupt
System interconnection

Question

25

Select the correct sequence of instructions to compute -1024/128 (all values are in hex).

Complete
Marked out of

Step 1:

MOV AX,FC00

Step 2:

IDIV CX

Step 3:

MOV CX,80

Step 4:

CWD


1.00

Question

26

Sign-extend number 1011 0101 (8-bit binary) to 16-bit

Complete
Marked out of

Answer: B5

0.50

Question



27

Part of computer memory is shown in figure

Complete
Marked out of
1.00

What is the value of AX register after instruction MOV AX, [1D4B] executed

Answer: 5A2D


Question

28

Choose correct RAID volume definitions for a request 2T storage.

Complete

S

about:blank

d

16/166


14:23 28/09/2023
Question

27

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
Part of computer memory is shown in figure

Complete
Marked out of
1.00


What is the value of AX register after instruction MOV AX, [1D4B] executed

Answer: 5A2D

Question

28

Choose correct RAID volume definitions for a request 2T storage.

Complete
Marked out of
2.00

Question

29

Spanned
Volume

2T HDD + more HDDs to extend storage, no fault tolerance, data lost when one HDD fails

RAID5
Volume

At least 3 x 2T HDDs, fault-tolerance, no data lost, no down-time

RAID 1 Mirror
volume


2 x 2T HDDs are needed, no data lost when the primary storage fails

RAID 0 Striped
volume

2 x 1T HDDs are needed, enhance data transfer, no fault tolerance, data lost when one HDD fails

Select correct level for contemporary computer multilevel machine

Complete
Marked out of

Level 1

Operating system level

Layer 4

Microarchitecture level

Level 3

Digital logic level

Level 2

Digital logic level

Level 5


Internet

Level 0

Assembly Language level

Level 6

High level programming language

1.00

Question

30

the instruction, CMP to compare source and destination operands by __________

Complete
Marked out of

Select one:

dividing

0.50




comparing
adding
subtracting
Question

31

Complete

Write mask byte (in hex) to clear bit 2nd, 3rd, 5th of a byte value with AND instruction (LSB is
1st bit).

Marked out of

Answer: 5

0.50

Question

32

To evaluate processor performance, the following indicators and formulas are used:

Complete
Marked out of
1.00

about:blank


17/166


14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
subtracting

Question

31

Complete

Write mask byte (in hex) to clear bit 2nd, 3rd, 5th of a byte value with AND instruction (LSB is
1st bit).

Marked out of

Answer: 5

0.50

Question

32

To evaluate processor performance, the following indicators and formulas are used:

Complete

Marked out of
1.00

Which of the following system attributes affects cycle time

t

Select one or more:

Compiler technology
Cache and memory hierarchy
Processor implementation
Instruction set architecture

Question

33

Convert the 32-bit floating point number C4361000 (in hex) to decimal.

Not answered
Marked out of

Answer:

1.00

Question

34


Which is correct about dual-layer DVD?

Complete
Marked out of

Select one:

contains layers on both sides of the disk for writing data to

1.00

the same as double-sided DVD
contains two layers on a single side for writing data to
DVD drives has double laser head for reading from or writing to this disk


Question

35

Complete

The following sequence of instructions are executed. What is the correct value of AX, CX, DX at watch
point?

Marked out of

MOV AX,0020


1.00

MOV CX,0010
MUL CL
watch point:

about:blank

AX =

0200

DX

0000

CX =

0010

18/166


14:23 28/09/2023
Question

35

Complete


Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
The following sequence of instructions are executed. What is the correct value of AX, CX, DX at watch
point?

Marked out of

MOV AX,0020

1.00

MOV CX,0010
MUL CL
watch point:

Question

36

Complete
Marked out of
0.50

AX =

0200

DX

0000


CX =

0010

In multiplication instruction, the upper half of the result is nonzero implies which state of Carry flag and
Overflow flag?
Select one or more:

CF=0
OF=1
OF=0
CF=1

Question

37

Which statements are correct for HDDs?

Complete
Marked out of

Select one or more:

a. Head, Track, Sector are key parameters for access data on hard disk

1.00

b. Head, Track, Cylinder are key parameters for access data on hard disk
c. Bits are stored on tracks

d. Bits are store randomly on disk surfaces

Question

38

Complete

Consider a magnetic disk drive with 8 surfaces, 512 tracks per surface, and 64 sectors per track. Sector
size is 1 kB. What is the disk capacity

Marked out of

Answer: 16.3

1.00

Question

39

KB

Which are the correct inputs for XLAT instruction

Complete
Marked out of

Select one or more:


look-up index must be loaded into AL

0.50



look-up index must be loaded into DL
DS:[BX] pointed to look-up table
Question

DS:[SI] pointed to look-up table

40

Not answered
Marked out of
1.00

Calculate the execution time for this program.
Given:

about:blank

19/166


14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
DS:[BX] pointed to look-up table


Question

DS:[SI] pointed to look-up table

40

Not answered
Marked out of
1.00

Calculate the execution time for this program.
Given:

Answer:

Question

41

In multiplication instruction, when the source operand is 8 bit, _________ will be multiplied with source.

Complete
Marked out of

Select one:

BX

0.50


AL
AX
Whatever general purpose register

Question

42

Which are the correct actions for LODSW string operation if DF is reset (=0)

Complete
Marked out of

Select one or more:

Load 16-bit value at memory location pointed by DS:[SI] into AX

0.50

decrease DI by 2
Load 16-bit value at memory location pointed by ES:[DI] into AX
increase SI by 2



Question

43


Complete

A system programmer needs to compute 449/2+358/4 (decimal). Instruct him to code in debug (number
must be in hex) with the least number of instruction counts.

Marked out of
1.50

about:blank

Step 1:

MOV BX,AX

Step 2:

ADD AX,BX

Step 3:

MOV CL,2

Step 4:

ADD AX,166

20/166


14:23 28/09/2023

Question

43

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
A system programmer needs to compute 449/2+358/4 (decimal). Instruct him to code in debug (number
must be in hex) with the least number of instruction counts.

Complete
Marked out of
1.50

Step 1:

MOV BX,AX

Step 2:

ADD AX,BX

Step 3:

MOV CL,2

Step 4:

ADD AX,166

Step 5:


Step 6:

Question

44

SHL AX,CL

SHR AX,CL

For better speed, in CPU design, engineers make use of the following techniques:

Complete

Select one or more:

Marked out of

Speculative execution

1.00

Branch prediction
Pipelining
Faster CPU internal bus

Question

45


Which ones are not correct for static RAM?

Complete

Select one or more:

Marked out of

Cheaper than dynamic RAM because simpler chip controller

1.00

Cost per bit is lower than dynamic RAM
faster than dynamic RAM because they are made from capacitor
Cost per bit is higher than dynamic RAM

◄ Announcements

Return to: General 


Thi Online KTMT&HN nhóm lẻ
Started on
State
Completed on
Time taken

Question

1


Friday, 31 May 2019, 1:15 PM
Finished
Friday, 31 May 2019, 2:25 PM
1 hour 10 mins

For better speed, in CPU design, engineers make use of the following techniques:

Complete

Select one or more:

about:blank

21/166


14:23 28/09/2023

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp

Thi Online KTMT&HN nhóm lẻ
Started on
State
Completed on
Time taken

Question

1


Friday, 31 May 2019, 1:15 PM
Finished
Friday, 31 May 2019, 2:25 PM
1 hour 10 mins

For better speed, in CPU design, engineers make use of the following techniques:

Complete
Marked out of

Select one or more:

Speculative execution

1.00

Branch prediction
Pipelining
Faster CPU internal bus

Question

2

What is the correct sequence of instruction cycle?

Complete
Marked out of
1.20


Question

3

Step 3

Fetch operand

Step 6

Store result

Step 4

Calculate operand address

Step 1

Fetch opcode

Step 5

Execution

Step 2

Decode

Part of computer memory is shown in figure


Complete
Marked out of
1.00

What is the value of AX register after instruction MOV AX, [1D4B] executed

Answer: 5A2D

Question

4

the memory stack area of a program shown in figure

Complete
Marked out of
1.00

The value of SP register is 1D50. What is the value of SP follows the execution of PUSH SI

Answer: 1D4F

Question

5

The instruction that loads the AH register with the lower byte of the flag register is

Complete

M

k d

about:blank

t f

Select one:

22/166


14:23 28/09/2023
Question

4

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
the memory stack area of a program shown in figure

Complete
Marked out of
1.00

The value of SP register is 1D50. What is the value of SP follows the execution of PUSH SI

Answer: 1D4F

Question


5

The instruction that loads the AH register with the lower byte of the flag register is

Complete
Marked out of

Select one:

LAHF

0.50

PUSHF
SAHF
AH

Question

6

Complete

Select correct definition of seek time, rotational delay, access time, transfer time for hard drives with
moveable-head system:

Marked out of
1.00


Question

7

rotational delay

transfer time

access time

seek time + rotational delay

seek time

time for the sector in the request track to reach the head

For memory hierarchy below, which relationship hold when moving downward

Complete
Marked out of
1.00

about:blank

23/166


14:23 28/09/2023
Question


7

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
For memory hierarchy below, which relationship hold when moving downward

Complete
Marked out of
1.00

Select one or more:

Decreasing frequency of access by the processor
Increasing capacity
Decreasing cost per bit
Increasing access time
the processor accesses more often

Question

8

Sign-extend number 1011 0101 (8-bit binary) to 16-bit

Complete
Marked out of

Answer: B5

0.50


Question

9

Complete
Marked out of
1.00

In computer organization, the CPU transfer rate is much higher than that of memory. It is easy to match
performance of these components by:
Select one:

increase the bus speed
increase I/O speed
Introducing cache memory
producing faster memory module

Question

10

Choose correct RAID volume definitions for a request 2T storage.

Complete
Marked out of
2.00

about:blank

RAID 0 Striped

volume

2 x 1T HDDs are needed, enhance data transfer, no fault tolerance, data lost when one HDD fails

RAID 1 Mirror
volume

2 x 1T HDDs are needed, no data lost when the primary storage fails

RAID5
Volume

2T HDD + more HDDs to extend storage, no fault tolerance, data lost when one HDD fails

Spanned
Volume

At least 3 x 2T HDDs, fault-tolerance, no data lost, no down-time

24/166


14:23 28/09/2023
Question

10

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp
Choose correct RAID volume definitions for a request 2T storage.


Complete
Marked out of
2.00

Question

11

RAID 0 Striped
volume

2 x 1T HDDs are needed, enhance data transfer, no fault tolerance, data lost when one HDD fails

RAID 1 Mirror
volume

2 x 1T HDDs are needed, no data lost when the primary storage fails

RAID5
Volume

2T HDD + more HDDs to extend storage, no fault tolerance, data lost when one HDD fails

Spanned
Volume

At least 3 x 2T HDDs, fault-tolerance, no data lost, no down-time

Which are the correct inputs for XLAT instruction


Complete
Marked out of

Select one or more:

look-up index must be loaded into DL

0.50

DS:[BX] pointed to look-up table
DS:[SI] pointed to look-up table
look-up index must be loaded into AL

Question

12

Complete

The principle of cache memory relies on key features: locality of reference which involves spatial and
temporal locality. Match the definition to keywords on the left

Marked out of

tendency to use large cache and prefetch mechanism

1.00

Question


13

Complete

Spatial
locality

the tendency for a processor to access memory locations that have been used recently

Temporal
locality

the tendency of execution to involve a number of memory locations that are clustered

The following sequence of instructions are executed. What is the correct value of AX, CX, DX at watch
point?

Marked out of

MOV AX,0020

1.00

MOV CX,0010
MUL CL
watch point:

Question

14


AX =

0200

DX

00FF

CX =

0010

Which statements are correct for HDDs?

Complete
Marked out of

Select one or more:

a. Head, Track, Sector are key parameters for access data on hard disk

1.00

b. Bits are stored on tracks
c. Bits are store randomly on disk surfaces
d. Head, Track, Cylinder are key parameters for access data on hard disk

Question


15

In multiplication instruction, when the source operand is 8 bit, _________ will be multiplied with source.

Complete

Select one:

about:blank

25/166


×