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

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

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Đề thi kiến trúc máy tính và hợp ngữ tổng hợp là một bài kiểm tra hoặc kỳ thi thường được tổ chức trong lĩnh vực khoa học máy tính và công nghệ thông tin Phần 1: Kiến thức cơ bản 1.1. Câu hỏi 1: Trình bày khái niệm về kiến trúc máy tính và tại sao nó quan trọng trong phát triển phần mềm. 1.2. Câu hỏi 2: Giải thích ngắn gọn các thành phần chính của một CPU (Central Processing Unit) và cách chúng hoạt động cùng nhau để thực hiện các phép tính. 1.3. Câu hỏi 3: So sánh giữa kiến trúc RISC (Reduced Instruction Set Computing) và kiến trúc CISC (Complex Instruction Set Computing). Đưa ra ưu điểm và nhược điểm của mỗi loại kiến trúc.

14:23 28/09/2023 Đề thi kiến trúc máy tính 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 Đ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 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 00 about:blank 2/166 14:23 28/09/2023 Đặtcờ Đề thi kiến trúc máy tính 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 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 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 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 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 KTQT Lần năm 2020 - tập ôn môn kiến trúc máy tính 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 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 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 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 đề 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 - đề 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 - đề thi Đúng trên1,00 Đề thi kiến trúc máy tính 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 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 Hợp Ngữ Thi Online KTMT&HN nhóm Chẵn Started on State Completed on Time taken Question Complete about:blank Friday, 31 May 2019, 1:14 PM Finished Friday, 31 May 2019, 2:23 PM hour 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 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 Hợp Ngữ Thi Online KTMT&HN nhóm Chẵn Started on State Completed on Time taken Question Complete Friday, 31 May 2019, 1:14 PM Finished Friday, 31 May 2019, 2:23 PM hour 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: 0.50 Question Complete Marked out of 1.00 Consider the following assembly instruction sequence XOR BX, BX CMP DL, 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 DL=10 01h DL=17h 28h DL=0FFh 11h DL=0Ah 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 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: MB/s 10 MB/s MB/s MB/s Question about:blank the memory stack area of a program shown in figure 10/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 152/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 153/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 154/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 155/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 156/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 157/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 158/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 159/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 160/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 161/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 162/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 163/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 164/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 165/166 14:23 28/09/2023 about:blank Đề thi kiến trúc máy tính hợp ngữ tổng hợp 166/166

Ngày đăng: 28/09/2023, 14:27

Tài liệu cùng người dùng

Tài liệu liên quan