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

面试题 相关文章推荐
JAVA的事件委托机制和垃圾回收机制
Sep 07 面试题
请介绍一下Ant
Jul 22 面试题
编码实现字符串转整型的函数
Jun 02 面试题
不开辟用于交换数据的临时空间,如何完成字符串的逆序
Dec 02 面试题
阿尔卡特(中国)的面试题目
Aug 20 面试题
经典c++面试题六
Jan 18 面试题
SQL Server的固定数据库角色都有哪些?对应的服务器权限有哪些?
May 18 面试题
Ado与Ado.net的相同与不同
Dec 08 面试题
How to spawning asynchronous work in J2EE
Aug 29 面试题
shell的种类有哪些
Apr 15 面试题
J2EE系统只能是基于web
Sep 08 面试题
如何定义一个可复用的服务
Sep 30 面试题
请介绍一下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
图解上海144收音机
2021/03/02 无线电
五个PHP程序员工具
2008/05/26 PHP
PHP上传Excel文件导入数据到MySQL数据库示例
2016/10/25 PHP
Laravel 中使用 Vue.js 实现基于 Ajax 的表单提交错误验证操作
2017/06/30 PHP
把textarea中字符串里含有的回车换行替换成&amp;lt;br&amp;gt;的javascript代码
2007/04/20 Javascript
网页图片延时加载的js代码
2010/04/22 Javascript
javascript实现上传图片并预览的效果实现代码
2011/04/11 Javascript
Firefox和IE兼容性问题及解决方法总结
2013/10/08 Javascript
使用console进行性能测试
2015/04/27 Javascript
javascript实现简单的html5视频播放器
2015/05/06 Javascript
bootstrap fileinput组件整合Springmvc上传图片到本地磁盘
2017/05/11 Javascript
Node.js实现文件上传的示例
2017/06/28 Javascript
vue 刷新之后 嵌套路由不变 重新渲染页面的方法
2018/09/13 Javascript
vue集成kindeditor富文本的实现示例代码
2019/06/07 Javascript
js实现简易ATM功能
2020/10/27 Javascript
python抓取网页中的图片示例
2014/02/28 Python
Python中的MongoDB基本操作:连接、查询实例
2015/02/13 Python
Python实现简单求解给定整数的质因数算法示例
2018/03/25 Python
pygame实现雷电游戏雏形开发
2018/11/20 Python
Python3内置模块pprint让打印比print更美观详解
2019/06/02 Python
python实现自动化报表功能(Oracle/plsql/Excel/多线程)
2019/12/02 Python
解决python 在for循环并且pop数组的时候会跳过某些元素的问题
2020/12/11 Python
PyCharm常用配置和常用插件(小结)
2021/02/06 Python
HTML5网页音乐播放器的示例代码
2017/11/09 HTML / CSS
Html5 FileReader实现即时上传图片功能实例代码
2014/09/01 HTML / CSS
原生canvas制作画图小工具的踩坑和爬坑
2020/06/09 HTML / CSS
超30万乐谱下载:Musicnotes.com
2016/09/24 全球购物
澳洲的UGG雪地靴超级市场:Uggs.com.au
2020/04/06 全球购物
大专会计自我鉴定
2014/02/06 职场文书
教师见习期自我鉴定
2014/04/28 职场文书
师德模范事迹材料
2014/06/03 职场文书
材料专业大学毕业生自荐书
2014/07/02 职场文书
2014年质检工作总结
2014/11/26 职场文书
毕业实习计划书
2015/01/16 职场文书
个人职业生涯规划之自我评估篇
2019/09/03 职场文书
【TED出品】天梯非主流开心游1700 划水骑士
2022/03/31 魔兽争霸