柠檬试题库
search
首页 计算机 公务员 驾照 关于

设有两个事务T1、T2,其并发执行如下所示。下列叙述中哪一个是正确的? T1 T2 ---------------------------------------------------------------- Read(A); Read(A); A:=A-10; Write(A); A:=A-20; Write(A); -------------------------------------------------------------------


  • A.该并发执行不存在问题
  • B.该并发执行丢失更新
  • C.该并发执行依赖于未提交更新
  • D.该并发执行读"脏"数据
热度🔥340
参考答案:B
解析:

复制题目向AI提问


扫码免费计算机二级刷题
2025年计算机等级考试题库
推荐 有以下程序: #include #include typedef struct { char name[9]; char sex; int score[2]; } STU; STU f (STU a) {  STU b={"Zhao", 'm', 85, 90};   int i;   strcpy( a.name, b.name );   a.sex = b.sex;   for ( i=0; i<2; i++ ) a.score[i] = b.score[i];   return a; } main() {  STU c= { "Qian", 'f', 95, 92 }, d;   d = f(c);   printf ("%s,%c,%d,%d, ", d.name, d.sex, d.score[0], d.score[1]);   printf ("%s,%c,%d,%d\n", c.name, c.sex, c.score[0], c.score[1]); } 程序运行后的输出结果是(  )。 设有如下通用过程:Public Function Fun(xStr As String)As String Dim tStr As String, strL As Integer tStr="" strL=Len(xStr) i=strL / 2 Do While i<=strL tStr=tStr & Mid(xStr, i+1, 1) i=i+1 Loop Fun=tStr & tStrEnd Function在窗体上画一个名称为Text1的文本框和一个名称为Command1的命令按钮。然后编写如下的事件过程:Private Sub Command1_Click() Dim S1 As String S1="ABCDEF" Text1.Text=LCase(Fun(S1))End Sub程序运行后,单击命令按钮,文本框中显示的是( )。 在数据库设计中,将E-R图转换成关系数据模型的过程属于( )。 Cisco路由器执行show access-list命令显示如下一组控制列表信息 Standard IP access list 30 deny 127.0.0.0, wildcard bits 0.255.255.255 deny 172.16.0.0, wildcard bits 0.15.255.255 permit any 根据上述信息,正确的access-list配置是() 若A和B二数相等,执行A减B后状态寄存器中的标志位为