1 / 12
文档名称:

软件设计师培训13.ppt

格式:ppt   大小:566KB   页数:12页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

软件设计师培训13.ppt

上传人:回忆笑一笑 2021/10/5 文件大小:566 KB

下载得到文件列表

软件设计师培训13.ppt

相关文档

文档介绍

文档介绍:软件设计师培训——第十三讲
王宇
东北大学网络中心
2021/3/10
1
王宇 东北大学网络中心 ******@
提纲
2004年11月下午试题讲解
SQL查询相关试题
2021/3/10
王宇 东北大学网络中心 ******@
2004年11月下午试题讲解
试题一
[问题1] (1)“2处理查询请求”到“读者文件”的数据流; (2)从“读者文件”到“3登记读者信息”的数据流。
[问题2] (1)从“借书文件”到“”的数据流; (2)从“借书文件”到“”的数据流; (3)从“图书目录文件”到“”的数据流。
[问题3] (1)[入库单|借书单|还书单|注销单]; (2)分类目录号+书名+作者+价格+数量+购书日期。
2021/3/10
王宇 东北大学网络中心 ******@
2004年11月下午试题讲解(续)
试题二
[问题1] Books(bid,title,author,qty_in_stock,year_published,price);主码:bid;无外码; Customers(cid,cname,address,cardnum);主码:cid;无外码; Orders(ordernum,cid,orderdate);主码:ordernum;外码:cid; OrderList(ordernum,bid,qty,ship_date);主码:ordernum和bid的组合;外码:ordernum,bid。
[问题2] (1)UNIQUE(cardnum) (2)PRIMARY KEY (cid)
[问题3] (1)NOT IN (2)C (3)
2021/3/10
王宇 东北大学网络中心 ******@
2004年11月下午试题讲解(续)
[问题3]
 Select bid   From orderlist A   Where not exists(Select * from Orders B   where A. ordernum = and __(3)__   (Select cid from orderlist C,orders D   where __(4)='123-456'   and __(5)__=))
2021/3/10
王宇 东北大学网络中心 ******@
2004年11月下午试题讲解(续)
试题四
[问题1] (1)P(S1) (2)V(S2) (3)P(S2) (4)V(S1)
[问题2] (5)1,表示允许同时对缓冲区进行写操作的进程量 (6)1,表示允许同时对缓冲区进行读操作的进程量。 P(SA)插入到(c) 处;V(SA)插入到(f) 处;P(SB)插入到(h) 处;V(SB)插入到(k) 处。
[问题3] (1)t1:阻塞态(等待I/O结束),进程B运行态 (2)t2:阻塞态(等待I/O结束),进程B阻塞态(等待打印机R) (3)t3:进程A运行态,进程B阻塞态(等待I/O结束) (4)t4:进程A就绪态,进程B运行态
2021/3/10
王宇 东北大学网络中心 ******@
2004年11月下午试题讲解(续)
试题五
(1)indegree[p->adjvex]++; (2)Stack[top--] (3)indegree[p->adjvex]--; (4)(ve[w]+p->weight)>ve[p->adjvex] (5)ve[w]
2021/3/10
王宇 东北大学网络中心 ******@
2004年11月下午试题讲解(续)
试题六
(1)private (2)Configure * Configure::_instance (3)new Configure (4)_instance (5)Configure::Instance()
2021/3/10
王宇 东北大学网络中心 ******@
2004年11月下午试题讲解(续)
试题七
(1)try (2)EmptyQueueException e (3)throws EmptyQueueException (4)throw (new EmptyQueueException()) (5)Exception
2021/3/10
王宇 东北大学