网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
阅读下面的程序,回答问题 DATA SEGMENT BUF DB '1234' N=$-BUF BCD DB N DUP(?) DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA START:MOV AX,DATA MOV DS,AX LEA SI,BUF MOV CX,N LEA DI,BCD+N-1 LOOP1:MOV AL,[SI] SUB AL,30H MOV [DI],AL INC SI DEC DI DEC CX JNE LOOP1 MOV AH,4CH INT 21H CODE ENDS END START 取消数据段的BCD存储区,将处理后的数据放回原处,应如何修改程序?
参考答案
更多 “ 阅读下面的程序,回答问题 DATA SEGMENT BUF DB '1234' N=$-BUF BCD DB N DUP(?) DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA START:MOV AX,DATA MOV DS,AX LEA SI,BUF MOV CX,N LEA DI,BCD+N-1 LOOP1:MOV AL,[SI] SUB AL,30H MOV [DI],AL INC SI DEC DI DEC CX JNE LOOP1 MOV AH,4CH INT 21H CODE ENDS END START 取消数据段的BCD存储区,将处理后的数据放回原处,应如何修改程序?” 相关考题
考题
阅读分析本题程序段后回答问题:(1)程序实现了什么功能?(2)写出程序的输出结果
阅读分析本题程序段后回答问题:(1)程序实现了什么功能?(3分)(2)写出程序的输出结果;(4分)(3)写出算法的时间复杂度。(3分)#include stdio.h#define N 7typedef int datatype;void main(void){ int 1,j,t;datatype data[N]={1,2,3, 4,5,6, 7}; /*处理的数据*/i=0;j=N-1;while (ij){ t=data[i];data[i++ ]=data[j];data[j--]=t;}printf(”运行结果为: \n);for(i= =0;iN-1;i++)printf(%d; ,data[i]);}
考题
完成下面的程序段,使程序显示中的字符串。DATA SEGMENTBUE DB ‘HOW DO YOU DO?’,ODH,OAH,’$‘┆DATA ENDSCODE SEGMENT┆MOV AX,DATAMOV DS,AX┆MOV DX【 】MOV AH, 9INT 21H┆CODE ENDS
考题
在数据封装中PDU的正确顺序是()。
A.data,packet,frame,segment,BitB.data,packet,segment,frame,BitC.data,segment,frame,packet,BitD.data,segment,packet,frame,Bit
考题
执行下列程序后,(CX)=( )。 DATA SEGMENT A DW 1, 2, 3, 4, 5 B DW 5 DATA SEGMENT CODE SEGMENT ASSUME CS: CODE, DS: DATA START: MOV AX, DATA MOV DS, AX LEA BX, A ADD BX, B MOV CX, [BX] MOV AH, 4CH INT 21H CODE ENDS END STARTA.400B.0C.10D.100
考题
A PC on a network segment sends data to another PC on a different segment.Which of the following correctly describe the correct order of how this data will be encapsulated?()
A. Data, Frame, Packet, Segment, BitB. Data, Frame, Segment, Packet, BitC. Data, Packet, Frame, Segment, BitD. Data, Packet, Segment, Frame, BitE. Data, Segment, Frame, Packet, BitF. Data, Segment, Packet, Frame, Bit
考题
阅读下列程序段,指出①~④ 条语句操作的结果,并分析其中有错误的语句。 DATA SEGMENT V1 DB 5 V2 EQU 10 DATA ENDS ① INC V1 ② INC V2 ③ MOV AX, V2 ④ INC AX
考题
阅读下列程序段,注释指令中属性分离符的功能。 DATA SEGMENT A DW 20,100,-60H B DB ‘ABCDEFG ’ DATA ENDS ┆ ①MOV AX, SEG B ②MOV BX, OFFSET B ③MOV CX, TYPE A ④MOV DX , TYPE B
考题
Which two statements correctly describe the relation between a data file and the logical databasestructures()A、An extent cannot spread across data files.B、A segment cannot spread across data files.C、A data file can belong to only one tablespace.D、A data file can have only one segment created in it.E、A data block can spread across multiple data files as it can consist of multiple operating system (OS) blocks.
考题
阅读下面的程序,回答问题
DATA SEGMENT
BUF DB '1234'
N=$-BUF
BCD DB N DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:MOV AX,DATA
MOV DS,AX
LEA SI,BUF
MOV CX,N
LEA DI,BCD+N-1
LOOP1:MOV AL,[SI]
SUB AL,30H
MOV [DI],AL
INC SI
DEC DI
DEC CX
JNE LOOP1
MOV AH,4CH
INT 21H
CODE ENDS
END START
找出一条指令代替指令“SUB AL,30H”,使程序功能不变。
考题
阅读下面的程序,回答问题
DATA SEGMENT
BUF DB '1234'
N=$-BUF
BCD DB N DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:MOV AX,DATA
MOV DS,AX
LEA SI,BUF
MOV CX,N
LEA DI,BCD+N-1
LOOP1:MOV AL,[SI]
SUB AL,30H
MOV [DI],AL
INC SI
DEC DI
DEC CX
JNE LOOP1
MOV AH,4CH
INT 21H
CODE ENDS
END START
说明程序功能,程序执行后,从BCD开始的N个字节单元中的内容是什么?
考题
阅读下面的程序,回答问题
DATA SEGMENT
BUF DB '1234'
N=$-BUF
BCD DB N DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:MOV AX,DATA
MOV DS,AX
LEA SI,BUF
MOV CX,N
LEA DI,BCD+N-1
LOOP1:MOV AL,[SI]
SUB AL,30H
MOV [DI],AL
INC SI
DEC DI
DEC CX
JNE LOOP1
MOV AH,4CH
INT 21H
CODE ENDS
END START
如果将代码段中的指令LEA DI,BCD+N-1改成LEA DI,BCD;DEC DI改成INC DI,其它指令不变,程序执行后,从BCD开始的N个字节单元中的内容是什么?
考题
阅读下列一段程序,分析数据段中BUF, DDBUF, DWBUF各变量的属性,并指出它们各自所在的段首址与偏移地址。程序中的DDBUF EQU THIS DWORD 和DWBUF EQU WORD PRT BUF两条语句有何功能? DATA SEGMENT DDBUF EQU THIS DWORD BUF DB 100 DUP(?) DWBUF EQU WORD PRT BUF DATA ENDS ┆ FIRST EQU THIS FAR LEA SI , BUF ┆
考题
阅读下列程序段,注释指令中计算符LENGTA的取值. DATA SEGMENT A DW 10 DUP(?), 1234H, 20 DUP(?) B DB ‘ABCDEF’,6 DUP(?) C DW 10, 20 DPU(?) D DW 5 DUP(3 DUP(2),5) DATA ENDS ┆ ① MOV AX, LENGTH A ② MOV BX ,LENGTH B ③ MOV CX ,LENGTH C ④ MOV DX ,LENGTH D
考题
A PC on a network segment sends data to another PC on a different segment.Which of the following correctly describe the correct order of how this data will be encapsulated?()A、Data, Frame, Packet, Segment, BitB、Data, Frame, Segment, Packet, BitC、Data, Packet, Frame, Segment, BitD、Data, Packet, Segment, Frame, BitE、Data, Segment, Frame, Packet, BitF、Data, Segment, Packet, Frame, Bit
考题
You are maintaining your database in Oracle10g. You set the value of the UNDO_RETENTION initialization parameter to zero in the initialization parameter file. What will be the impact of specifying this setting?() A、 The database will not start.B、 The database will start but will not retain the undo data in the undo segment.C、 The database will start, and the undo segment will contain the undo data for at least one hour.D、 The database will start, and the undo segment will retain the undo data for at least 15 minutes.
考题
问答题阅读下列程序段,注释指令中计算符LENGTA的取值. DATA SEGMENT A DW 10 DUP(?), 1234H, 20 DUP(?) B DB ‘ABCDEF’,6 DUP(?) C DW 10, 20 DPU(?) D DW 5 DUP(3 DUP(2),5) DATA ENDS ┆ ① MOV AX, LENGTH A ② MOV BX ,LENGTH B ③ MOV CX ,LENGTH C ④ MOV DX ,LENGTH D
考题
单选题You are maintaining your database in Oracle10g. You set the value of the UNDO_RETENTION initialization parameter to zero in the initialization parameter file. What will be the impact of specifying this setting?()A
The database will not start.B
The database will start but will not retain the undo data in the undo segment.C
The database will start, and the undo segment will contain the undo data for at least one hour.D
The database will start, and the undo segment will retain the undo data for at least 15 minutes.
考题
多选题Which two statements correctly describe the relation between a data file and the logical databasestructures()AAn extent cannot spread across data files.BA segment cannot spread across data files.CA data file can belong to only one tablespace.DA data file can have only one segment created in it.EA data block can spread across multiple data files as it can consist of multiple operating system (OS) blocks.
考题
问答题阅读下列程序段,注释指令中属性分离符的功能。 DATA SEGMENT A DW 20,100,-60H B DB ‘ABCDEFG ’ DATA ENDS ┆ ①MOV AX, SEG B ②MOV BX, OFFSET B ③MOV CX, TYPE A ④MOV DX , TYPE B
考题
单选题You issued the following command: ALTER TABLE SCOTT.EMP SHRINK SPACE; The SCOTT.EMP table is stored in the DATA1 tablespace that has the following properties: DATA1 is a read/write tablespace. DATA1 is not autoextensible to an unlimited size. DATA1 is online. Segment space management for the DATA1 tablespace is manual. You issued the ALTER TABLE SCOTT.EMP SHRINK SPACE; command that generates the following error: ORA-10635: Invalid segment or tablespace type What could be the reason for the failure of the command?()A
The tablespace, DATA1, is not read-only.B
The tablespace, DATA1, is not autoextensible.C
The tablespace, DATA1, is not offline.D
The segment space management for the tablespace, DATA1, is manual.
考题
问答题阅读下列程序段,指出①~④ 条语句操作的结果,并分析其中有错误的语句。 DATA SEGMENT V1 DB 5 V2 EQU 10 DATA ENDS ① INC V1 ② INC V2 ③ MOV AX, V2 ④ INC AX
考题
问答题阅读程序,回答后面的问题
STM #9,AR4
begin: STM #7,BRC
RPTB next-1
nop
next: LD #0,B
banz begin,*AR4-
其中的“nop”语句被执行了多少次?
考题
单选题A PC on a network segment sends data to another PC on a different segment.Which of the following correctly describe the correct order of how this data will be encapsulated?()A
Data, Frame, Packet, Segment, BitB
Data, Frame, Segment, Packet, BitC
Data, Packet, Frame, Segment, BitD
Data, Packet, Segment, Frame, BitE
Data, Segment, Frame, Packet, BitF
Data, Segment, Packet, Frame, Bit
考题
问答题阅读下列一段程序,分析数据段中BUF, DDBUF, DWBUF各变量的属性,并指出它们各自所在的段首址与偏移地址。程序中的DDBUF EQU THIS DWORD 和DWBUF EQU WORD PRT BUF两条语句有何功能? DATA SEGMENT DDBUF EQU THIS DWORD BUF DB 100 DUP(?) DWBUF EQU WORD PRT BUF DATA ENDS ┆ FIRST EQU THIS FAR LEA SI , BUF ┆
热门标签
最新试卷