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

面试题 相关文章推荐
htmlentities() 和 htmlspecialchars()有什么区别
Jul 01 面试题
精伦电子Java笔试题
Jan 16 面试题
广州御银科技股份有限公司试卷(C++)
Nov 04 面试题
某IT外企面试题-二分法求方程!看看大家的C++功底
Jul 04 面试题
空指针到底是什么
Aug 07 面试题
delegate与普通函数的区别
Jan 22 面试题
网络安全方面的面试题
Jan 07 面试题
如何利用cmp命令比较文件
Apr 11 面试题
常见的软件开发流程有哪些
Nov 14 面试题
EJB的基本架构
Sep 22 面试题
How to spawning asynchronous work in J2EE
Aug 29 面试题
Servlet如何得到服务器的信息
Dec 22 面试题
请介绍一下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 编写安全的代码时容易犯的错误小结
2010/05/20 PHP
PHP永久登录、记住我功能实现方法和安全做法
2015/04/27 PHP
PHP基于工厂模式实现的计算器实例
2015/07/16 PHP
浅析PHP中Session可能会引起并发问题
2015/07/23 PHP
PHP Redis扩展无法加载的问题解决方法
2019/08/22 PHP
Js的MessageBox
2006/12/03 Javascript
javascript中简单的进制转换代码实例
2013/10/26 Javascript
js获取IFRAME当前的URL的方法
2013/11/13 Javascript
JS Loading功能的简单实现
2013/11/29 Javascript
判断一个对象是否为jquery对象的方法
2014/03/12 Javascript
jQuery实现模拟flash头像裁切上传功能示例
2016/12/11 Javascript
js判断手机系统是android还是ios
2017/03/07 Javascript
原生JS实现的双色球功能示例
2018/02/02 Javascript
Node错误处理笔记之挖坑系列教程
2018/06/05 Javascript
记一次用vue做的活动页的方法步骤
2019/04/11 Javascript
js canvas实现5张图片合成一张图片
2019/07/15 Javascript
Python读写Excel文件方法介绍
2014/11/22 Python
python基础知识小结之集合
2015/11/25 Python
Python中表示字符串的三种方法
2017/09/06 Python
基于python实现的百度音乐下载器python pyqt改进版(附代码)
2019/08/05 Python
Django RBAC权限管理设计过程详解
2019/08/06 Python
django执行数据库查询之后实现返回的结果集转json
2020/03/31 Python
python em算法的实现
2020/10/03 Python
Django通过设置CORS解决跨域问题
2020/11/26 Python
全方位了解CSS3的Regions扩展
2015/08/07 HTML / CSS
Expedia马来西亚旅游网站:廉价酒店,度假村和航班预订
2016/07/26 全球购物
施华洛世奇美国官网:SWAROVSKI美国
2018/02/08 全球购物
海南地接欢迎词
2014/01/14 职场文书
个人近期表现材料
2014/02/11 职场文书
第二课堂活动总结
2014/05/07 职场文书
给校长的建议书200字
2014/05/16 职场文书
结婚保证书
2015/01/16 职场文书
2015年国庆节活动总结
2015/03/23 职场文书
物业保安辞职信
2015/05/12 职场文书
python开发飞机大战游戏
2021/07/15 Python
Go语言grpc和protobuf
2022/04/13 Golang