自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(0)
  • 资源 (9)
  • 收藏
  • 关注

空空如也

2015重庆大学算法考卷A卷

2015年重庆大学算法考试A卷,冒着学籍风险拍照,并且一个个单词打印出来的,祝看过试卷的人,一次通过!

2015-02-26

实验7-数据完整性使用实验指南

1、创建如下三个表: S (SID,SNAME,AGE,SEX) 中文语义:学生(学号,姓名,年龄,性别) SC (SID,CID,GRADE) 中文语义:学习(学号,课程号,成绩) C (CID,CNAME,TEACHER) 中文语义:课程(课程号,课程名,任课教师) 2.建视图 根据表S,SC,C创建视图 S_C_SC,使其具有如下内容:学号,姓名,课程名,成绩 生成一个数据表projects,其字段定义如下,其中projid是主键并且要求p_end_date不能比p_start_date早。 字段名称字段名称长度 4、生成一个数据表assignments,其字段定义如下,其中projid是外键引自projects数据表,empno是数据表emp的外键,并且要求projid和empno不能为null。 Emp表创建 create Table emp( empno numeric(4) primary key, empname varchar(20) )

2013-10-25

实验3-视图和索引使用实验指南

1、创建如下三个表: 建立学生-课程数据库其中包含三个表: ①“学生”表Student由学号(Sno)、姓名(Sname)、性别(Ssex)、出生年月(Sbir)、所在系(Sdept)五个属性组成,可记为: Student(Sno,Sname,Ssex,Sage,Sdept)其中Sno为主码。 ②“课程”表Course由课程号(Cno)、课程名(Cname)、先修课程(Cpno)、学分(Ccredit)4个属性组成,可记为: Course(Cno,Cname,Cpno,Ccredit)其中Cno为主码。 ③“学生选课”表SC由学号()课程号()成绩()3个属性组成,可记为: SC(Sno,Cno,Grade)其中(Sno,Cno)为主码。 2.根据表Student,SC,Course,创建满足以下要求的视图: 创建视图 view1,查询所有学生的学号,姓名,课程名,成绩; 创建视图view2,查询所有学生的学号,姓名和平均成绩; 创建视图view3,查询各门课程名和该课程的所有学生的平均成绩; 3. 在视图view1中的“学号”列上创建一个非聚集索引。 3、根据表Student,SC,Course,运用连接操作实现以下查询功能; 查询每位学生的选课情况以及每门课的课程成绩; 查询每门课程的选课情况并且只显示选课人数多于2人的课程;

2013-10-25

实验2-数据复杂查询实验指南

1.准备工作: 建立学生-课程数据库其中包含三个表: ①“学生”表Student由学号(Sno)、姓名(Sname)、性别(Ssex)、年龄(Sage)、所在系(Sdept)五个属性组成,可记为: Student(Sno,Sname,Ssex,Sage,Sdept)其中Sno为主码。 ②“课程”表Course由课程号(Cno)、课程名(Cname)、先修课程(Cpno)、学分(Ccredit)4个属性组成,可记为: Course(Cno,Cname,Cpno,Ccredit)其中Cno为主码。 ③“学生选课”表SC由学号()课程号()成绩()3个属性组成,可记为: SC(Sno,Cno,Grade)其中(Sno,Cno)为主码。 作业 查询全体学生的姓名、出生年月和所属系; 查询所有选修过课的学生的学号; 查询考试成绩低于60分的学生的学号; 查询年龄在20至23之间的学生姓名、系别和年龄; 查询所有姓刘的学生的学号、姓名和年龄; 查询学习1号课程的学生最高分数; 查询各个课程号与相应的选课人数; 查询选修3号课程且成绩在90分以上的所有学生; 查询选修3号课程的学生的姓名。

2013-10-25

实验1-数据库基本操作实验指南

创建满足下列要求的数据库: 数据库名为mydb 主数据文件名为mydb_data.mdf,日志文件为mydb_log.ldf。 初始大小为5MB,最大文件为50MB。 增长值为10% 创建如下三个表: S(SID,SNAME,AGE,SEX) 中文语义:学生(学号,姓名,年龄,性别) SC(SID,CID,GRADE) 中文语义:学习(学号,课程号,成绩) C(CID,CNAME,TEACHER) 中文语义:课程(课程号,课程名,任课教师) (1)用update命令修改c表中课程号为C3的行为C6。 (2)用update命令修改sc表中课由“Li”任课的课程号 为 由“Ma”任课的课程号。 5. (1)用delete命令删除表sc中分数在60以下的记录。 (2)用delete命令删除表sc中课程名为“OS”的记录。 (3)试用delete命令删除表c中课程号为C2的记录,结 果如何? 6. 用truncate命令删除表sc的全部数据。

2013-10-25

利用Sequence Alignment算法计算两篇文章的Edit Distance

给定两篇2万字以上的论文(.txt), 用前述的Sequence Alignment算法计算其Edit Distance.利用Sequence Alignment算法计算两篇文章的Edit Distance

2013-10-25

JAVA小实验雷电(打飞机)

重庆大学11级计算机学院JAVA小实验: Project 3:Raiden (雷電) Lite Overview Raiden (雷電,) is a 1990 scrolling shooter arcade game that was developed by Seibu Kaihatsu. The title in Japanese translates to "Thunder And Lightning". Rai means thunder, and den means lightning. "Raiden" is the name of a Japanese WWII Fighter. Raiden consists of eight vertical scrolling missions where the player pilots the "Raiden Supersonic Attack Fighter" through waves of enemies, dodging and destroying enemy buildings, ground targets, and air craft. For this project,you and your team will design and implement a simplified version of raiden game using Java language. Requirements Please read following specifications carefully. You will lose points if you miss any requirement.   The Player can control the Raiden by pressing different key on the keyboard. Four key are used to moving the fighter front, back, left and right respectively in order to avoid attacks of enemies or to target enemies. One key is used to fire a bullet or to launch a missile to attack enemies.   At least two types of weapon- bullet and missile should be supported. The bullet moves in straight line, and can only attack the enemy at front of it while the missile can target an enemy, track it and destroy it. After destroying an enemy aircraft the player can gain certain bonus such as making his weapons stronger, elongating his life or increasing score etc. When the player gained enough scores, the game should come into next stage, in which there are more enemies and the enemies shoot faster. At least two stages should be provided. Of course you can gain higher grade if you provide more advanced function beyond those listed above. Implement tips 1 You will find more useful informations in the following lessons: “Java GUI”, “Java Graphics”, “Applet and Multimedia”. The lesson ‘multithreading ’ maybe is useful to some advanced programmer.

2013-10-23

数字逻辑及答案

数字逻辑 课程专业的 大家可以下载 主要是电子版方便 加上还有答案 希望能够帮到你们

2013-10-23

FileOperate文件管理

重庆大学11级计算机学院的第一个JAVA实验: In this project, you are required to implement a file manager on the command line. This manager should include the following functions: Create/Delete a directory. Enter a specified directory. List the files and directories in the current directory (you do not have to expand any sub-directory) sorted by name, date, size, type, etc. Rename/delete a specified file. Copy a specified file to another directory. Copy a specified directory (along with all sub-directories and files) to another directory. Encrypt/decrypt a specified file. Compress some files into a archive.(.zip or .jar ) and extract files. Cut a big files into some small files and merge some small files into the original file. The project can be exported to be a runnable jar file.

2013-10-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除