JAVA软件工程师测试题


Posted in 面试题 onJuly 25, 2014

全班学生排成一排,从左数和从右数Mike都是第十五名,全班学生有多少人?
A:31; B:25 C:29; D:30
A football team won 6 games and lost 18.What fraction of its games did the team win?
A:1/3; B:1/4; C:2/3; D:3/4;
Select the number that would be next in the series
6.546, 6.659, 6.772, 6.885, 6.998
A:7.111; B:7.10; C:7.011; D:None of these;
A television manufacturer offers a distributor successive discounts of 15 and 10 percent on one of its new color models. The distributor pays $459.00 net for the TV set. What was the original price before any discount?
A:$612.00; B:$600.00; C:580.00; D:473.75;
If you can paint three standard-size rooms in two days, how many similar rooms can you and three of your friends paint in three days?
A:6; B:13.2; C:18; D:54;
If snow is falling at the rate of 11/2 inches per hour, how many inches of snow will fall in X minutes?
A:X/40; B:X/30; C:30X; D:40X;
假设某种语言有三个运算符:==,&,||,其中==的优先级最高,&次之,||最低,给以下表达式加上括号:
varA||varB&varC==varD
A:((varA||varB)&varC)==varD; B:varA||(varB&(varC==varD)); C:(varA||varB)&var(C==varD); D:(varA||varB)&(varC)==varD;
执行以下操作后a的值为多少?
a=a+b
b=a-b
a=a-b
A:a; B:b; C:a-b; D:a+b;
The following function is meant to reverse the numbers in an array of 7 integers, but may have a bug.Where is the error,if any?(Mark it with circle)
Void reverse(int A[7])
{
int IO=0;
int hi;
while (IO<7) //Line 1

{
hi=6-IO; //Line 2
int swap=A[hi]; //Line 3
A[hi]=A[IO]; //Line 4
A[IO]=swap; //Line 5
IO=IO+1; //Line 6
}
}
A:Line 1; B:Line 2; C:Line 3; D:Line 4; E:Line 5; F:Line 6;
What function does the following recursive(递归) subroutine compute,when passed two non-negative values?
int f(int a, int b)
{
if(a equals 0)
return 0;
else
return f(a-1,b)+b;
}
A:Sum: a+b; B:Difference: a-b; C:Exponentiation(求幂): a**b; D:Product: a*b; E:Factorial(阶乘); F:Square root; G:The subroutine diverges (does not return a value);
According to the following code, what is the value of the function’s result?
int t(int a)
{
int s=0;
for (int i=1;i<=a,i++)
{
s=s+1;
}
}
when executing the t(10),what result will you get?
A:20; B:55; C:10; D:25;
What is the negation of the following expression?
0 A:n>=0 AND MAX>=n; B:0>n OR n>MAX; C:n<=0 OR n>=MAX; D:n>0 AND MAX>n; E:0=0 OR MAX>=n; G:0 Choose the best answer:A Pointer …
A:is a single link in a linked list.; B:Is a variable holding the (x,y) coordinates of a point.; C:Is the address of an object.; D:Is a variable holding an IP address; E:Is a variable holding the address of another variable.; F:Is the header section of an operating system block.; G:Separates frames on the runtime stack;
小明比小强大,小红比小明小。下列陈述中哪一句最正确?
A:小红比小强大; B: 小红比小强小 ; C: 小红与小强一样大 ; D: 无法确定小红与小强谁大


Tags in this post...

面试题 相关文章推荐
PHP如何删除一个Cookie值
Nov 15 面试题
什么是类的返射机制
Feb 06 面试题
static关键字的用法
Oct 07 面试题
介绍一下sql server的安全性
Aug 10 面试题
存储过程的优缺点是什么
Jan 10 面试题
ShellScript面试题一则-ShellScript编程
Jun 24 面试题
英智兴达软件测试笔试题
Oct 12 面试题
主要的Ajax框架都有什么
Nov 14 面试题
如何反序的迭代一个序列?how do I iterate over a sequence in reverse order
Feb 04 面试题
Java如何支持I18N?
Oct 31 面试题
介绍一下javax.servlet.Servlet接口及其主要方法
Nov 30 面试题
Delphi笔试题
Nov 14 面试题
请介绍一下WSDL的文档结构
Mar 17 #面试题
WSDL的操作类型主要有几种
Jul 19 #面试题
如何定义一个可复用的服务
Sep 30 #面试题
SOA面试题:如何在SOA中实现松耦合
Jul 21 #面试题
SOA的常见陷阱或者误解是什么
Oct 05 #面试题
什么是ESB?请介绍一下ESB?
May 27 #面试题
介绍一下你对SOA的认识
Apr 24 #面试题
You might like
PHP高级对象构建 工厂模式的使用
2012/02/05 PHP
PHP远程采集图片详细教程
2014/07/01 PHP
yii实现级联下拉菜单的方法
2014/07/31 PHP
Symfony2之session与cookie用法小结
2016/03/18 PHP
&amp;lt;script defer&amp;gt; defer 是什么意思
2009/05/10 Javascript
angularjs 源码解析之scope
2016/08/22 Javascript
jQuery Dialog 取消右上角删除按钮事件
2016/09/07 Javascript
jquery对所有input type=text的控件赋值实现方法
2016/12/02 Javascript
AngularJS Controller作用域
2017/01/09 Javascript
浅谈Vue 数据响应式原理
2018/05/07 Javascript
Vue 组件传值几种常用方法【总结】
2018/05/28 Javascript
AngularJS实现动态切换样式的方法分析
2018/06/26 Javascript
JS 事件机制完整示例分析
2020/01/15 Javascript
基于Electron实现桌面应用开发代码实例
2020/07/07 Javascript
如何使用RoughViz可视化Vue.js中的草绘图表
2021/01/30 Vue.js
[01:13]DOTA2群星解读国服召集令 一起说出回归的理由
2013/07/17 DOTA
python 类的继承 实例方法.静态方法.类方法的代码解析
2019/08/23 Python
python获取Linux发行版名称
2019/08/30 Python
python 列表、字典和集合的添加和删除操作
2019/12/16 Python
浅谈matplotlib.pyplot与axes的关系
2020/03/06 Python
python小白切忌乱用表达式
2020/05/29 Python
Keras-多输入多输出实例(多任务)
2020/06/22 Python
Python绘图实现台风路径可视化代码实例
2020/10/23 Python
python抢购软件/插件/脚本附完整源码
2021/03/04 Python
Servlet面试题库
2015/07/18 面试题
玩具公司的创业计划书
2013/12/31 职场文书
总裁办公室主任职责
2014/01/02 职场文书
退休教师欢送会主持词
2014/03/31 职场文书
请假条标准格式规范
2014/04/10 职场文书
《每逢佳节倍思亲》教后反思
2014/04/19 职场文书
迎国庆横幅标语
2014/10/08 职场文书
精神病医院见习报告
2014/11/03 职场文书
2015年12.4全国法制宣传日活动总结
2015/03/24 职场文书
社区宣传标语口号
2015/12/26 职场文书
提取视频中的音频 Python只需要三行代码!
2021/05/10 Python
Python pyecharts绘制条形图详解
2022/04/02 Python