开发人员笔试题

本文由用户“青铜铃少”分享发布 更新时间:2022-08-25 13:59:01 举报文档

以下为《开发人员笔试题》的无排版文字预览,完整格式请下载

下载前请仔细阅读文字预览以及下方图片预览。图片预览是什么样的,下载的文档就是什么样的。

简答题

MVC的各个部分都有那些技术来实现?如何实现?

如何获得数组的长度?

访问修饰符“public/private/protected/缺省的修饰符”的使用类?

Collection和Collections的区别

String s = new String("xyz");创建了几个String Object

math.round(11.5)和math.round(-11.5)

short s1 = 1;s1 = s1+1;是否有错误? short s1 = 1;s1 += 1;是否有错误?

abstract class和interface的区别

用最有效率的方法算出2乘以8等於几

float型float f=3.4是否正确?

谈谈final, finally, finalize的区别

描述使用JDBC连接数据库的过程

jsp有哪些内置对象?作用分别是什么?

forward 和redirect的区别

Servlet执行时一般实现哪几个方法?

数据库题

1)Which statement shows the maximum salary paid in each job category of each department?_______

A. select dept_id, job_cat,max(salary) from employees where salary > max(salary);

B. select dept_id, job_cat,max(salary) from employees group by dept_id,job_cat;

C. select dept_id, job_cat,max(salary) from employees;

D. select dept_id, job_cat,max(salary) from employees group by dept_id;

E. select dept_id, job_cat,max(salary) from employees group by dept_id,job_cat,salary;

2)description of the students table:

sid_id number

start_date date

end_date date

which two function are valid on the start_date column?_________。

A. sum(start_date)

B. avg(start_date)

C. count(start_date)

D. avg(start_date,end_date)

E. min(start_date)

F. maximum(start_date)

3)for which two constraints does the oracle server implicitly create a unique index?______。

A. not null

B. primary

C. foreign key

D. check

E. unique

4)in a select statement that includes a where clause,where is the group by clause placed in the select statement?_____ 内容过长,仅展示头部和尾部部分文字预览,全文请查看图片预览。 生关系。SNO 为学号,SNAME 为姓名

C (CNO,CNAME,CTEACHER) 课程关系。CNO 为课程号,CNAME 为课程名,CTEACHER 为任课教师

SC(SNO,CNO,SCGRADE) 选课关系。SCGRADE 为成绩

找出没有选修过“李某某”老师讲授课程的所有学生姓名

列出有二门以上(含两门)不及格课程的学生姓名及其平均成绩

列出既学过“1”号课程,又学过“2”号课程的所有学生姓名

列出“1”号课成绩比“2”号同学该门课成绩高的所有学生的学号

5. 列出“1”号课成绩比“2”号课成绩高的所有学生的学号及其“1”号课和“2”号课的成绩

[文章尾部最后300字内容到此结束,中间部分内容请查看底下的图片预览]

以上为《开发人员笔试题》的无排版文字预览,完整格式请下载

下载前请仔细阅读上面文字预览以及下方图片预览。图片预览是什么样的,下载的文档就是什么样的。

图片预览