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经典面试题
Sep 03 面试题
Weblogc domain问题
Jan 27 面试题
介绍java中初始化块的使用
Sep 11 面试题
联想C++笔试题
Jun 13 面试题
在网络中有两台主机A和B,并通过路由器和其他交换设备连接起来,已经确认物理连接正确无误,怎么来测试这两台机器是否连通?如果不通,怎么来判断故障点?怎么排
Jan 13 面试题
能否解释一下XSS cookie盗窃是什么意思
Jun 02 面试题
linux面试题参考答案(6)
Jun 23 面试题
说一下Linux下有关用户和组管理的命令
Aug 18 面试题
J2EE面试题大全
Aug 06 面试题
Servlet如何得到服务器的信息
Dec 22 面试题
解释一下ruby中的特殊方法与特殊类
Feb 26 面试题
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常用代码
2006/11/23 PHP
php 无法加载mysql的module的时候的配置的解决方案引发的思考
2012/01/27 PHP
PHP对象Object的概念 介绍
2012/06/14 PHP
不用构造函数(Constructor)new关键字也能实现JavaScript的面向对象
2013/01/11 Javascript
javascript数组去重3种方法的性能测试与比较
2013/03/26 Javascript
js控制页面控件隐藏显示的两种方法介绍
2013/10/09 Javascript
document.getElementById获取控件对象为空的解决方法
2013/11/20 Javascript
js在输入框屏蔽按键,只能键入数字的示例代码
2014/01/03 Javascript
Javascript中的arguments与重载介绍
2015/03/15 Javascript
JavaScript获取当前运行脚本文件所在目录的方法
2016/02/03 Javascript
浅谈JavaScript 覆盖原型以及更改原型
2016/08/31 Javascript
Javascript实现汉字和拼音互转的终极方案
2016/10/19 Javascript
jQuery上传插件webupload使用方法
2017/08/01 jQuery
微信小程序自定义弹窗实现详解(可通用)
2019/07/04 Javascript
echarts统计x轴区间的数值实例代码详解
2019/07/07 Javascript
基于Layui自定义模块的使用方法详解
2019/09/14 Javascript
vue中可编辑树状表格的实现代码
2020/10/31 Javascript
token 机制和实现方式
2020/12/15 Javascript
python操作 hbase 数据的方法
2016/12/18 Python
python使用mysql数据库示例代码
2017/05/21 Python
Django基础之Model操作步骤(介绍)
2017/05/27 Python
python处理Excel xlrd的简单使用
2017/09/12 Python
python写入并获取剪切板内容的实例
2018/05/31 Python
如何运行.ipynb文件的图文讲解
2019/06/27 Python
自定义django admin model表单提交的例子
2019/08/23 Python
用python-webdriver实现自动填表的示例代码
2021/01/13 Python
残疾人创业典型事迹
2014/02/01 职场文书
自我工作评价范文
2015/03/06 职场文书
会计岗位职责范本
2015/04/02 职场文书
销售合作意向书范本
2015/05/08 职场文书
运动会闭幕式致辞
2015/07/29 职场文书
小学数学国培研修日志
2015/11/13 职场文书
小学三年级语文教学反思
2016/03/03 职场文书
Nginx反爬虫策略,防止UA抓取网站
2021/03/31 Servers
使用Python解决图表与画布的间距问题
2022/04/11 Python
Elasticsearch6.2服务器升配后的bug(避坑指南)
2022/09/23 Servers