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...

面试题 相关文章推荐
什么是Smarty变量操作符?如何使用Smarty变量操作符
Jul 18 面试题
宝信软件JAVA工程师面试经历
Aug 19 面试题
Weblogic的布署方式
Aug 23 面试题
金智子午JAVA面试题
Sep 04 面试题
什么是Oracle的后台进程background processes?都有哪些后台进程?
Apr 26 面试题
C#笔试题和英文面试题
Feb 07 面试题
几个Linux面试题笔试题
Aug 01 面试题
介绍一下linux的文件权限
Jul 20 面试题
你所在的项目是如何确定版本号的
Dec 28 面试题
请用Java实现列出某个目录下的所有文件
Sep 23 面试题
举例说明类变量和实例变量的区别
Jun 30 面试题
Java中的异常处理机制的简单原理和应用
Apr 27 面试题
请介绍一下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
PHPShop存在多个安全漏洞
2006/10/09 PHP
php中的时间显示
2007/01/18 PHP
php下的权限算法的实现
2007/04/28 PHP
PHP容易被忽略而出错陷阱 数字与字符串比较
2011/11/10 PHP
php实现监听事件
2013/11/06 PHP
ThinkPHP自动填充实现无限级分类的方法
2014/08/22 PHP
详解php几行代码实现CSV格式文件输出
2017/07/01 PHP
php和nginx交互实例讲解
2019/09/24 PHP
prototype 1.5 &amp; scriptaculous 1.6.1 学习笔记
2006/09/07 Javascript
javascript dom 基本操作小结
2010/04/11 Javascript
IE无法设置短域名下Cookie
2010/09/23 Javascript
JavaScript实现页面滚动图片加载(仿lazyload效果)
2011/07/22 Javascript
只需20行代码就可以写出CSS覆盖率测试脚本
2013/04/24 Javascript
jquery.ajax的url中传递中文乱码问题的解决方法
2014/02/07 Javascript
JavaScript和JQuery的鼠标mouse事件冒泡处理
2015/06/19 Javascript
jQuery实现控制文字内容溢出用省略号(…)表示的方法
2016/02/26 Javascript
javascript实现简单计算器效果【推荐】
2016/04/19 Javascript
js判断浏览器是否支持严格模式的方法
2016/10/04 Javascript
js实现返回顶部效果
2017/03/10 Javascript
bootstrap daterangepicker汉化以及扩展功能
2017/06/15 Javascript
Vue-cli3项目配置Vue.config.js实战记录
2018/07/29 Javascript
微信小程序点击view动态添加样式过程解析
2020/01/21 Javascript
PyQt实现界面翻转切换效果
2018/04/20 Python
Python3批量生成带logo的二维码方法
2019/06/24 Python
Python解析命令行读取参数之argparse模块
2019/07/26 Python
Css3新特性应用之形状总结
2016/12/08 HTML / CSS
用CSS3实现无限循环的无缝滚动的实例代码
2017/07/04 HTML / CSS
Melijoe英国官网:法国儿童时尚网站
2016/11/18 全球购物
美国药妆网站:EDCskincare.com(防晒、痤疮、抗衰老等)
2017/04/28 全球购物
澳大利亚波西米亚风情网上商店:Czarina
2019/03/18 全球购物
如何清空Session
2015/02/23 面试题
理工学院学生自我鉴定
2014/02/23 职场文书
求职推荐信范文
2015/03/27 职场文书
自考生自我评价
2019/06/21 职场文书
CSS3 制作的图片滚动效果
2021/04/14 HTML / CSS
Windows Server 2016 配置 IIS 的详细步骤
2022/04/28 Servers