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

面试题 相关文章推荐
Yahoo的PHP面试题
May 26 面试题
如何让Java程序执行效率更高
Jun 25 面试题
Java里面如何创建一个内部类的实例
Jan 19 面试题
广州御银科技股份有限公司试卷(C++)
Nov 04 面试题
指针和引用有什么区别
Jan 13 面试题
int *p=NULL和*p= NULL有什么区别
Oct 23 面试题
不用游标的SQL语句有哪些
Sep 07 面试题
What's the difference between an interface and abstract class? (接口与抽象类有什么区别)
Oct 29 面试题
27个经典Linux面试题及答案,你知道几个?
Mar 11 面试题
捷科时代的软件测试笔试题
Nov 09 面试题
广州足迹信息技术有限公司Java软件工程师试题
Feb 15 面试题
为什么说Ruby是一种真正的面向对象程序设计语言
Oct 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
PHP 文件类型判断代码
2009/03/13 PHP
PHP 数组基础知识小结
2010/08/20 PHP
php_screw安装使用教程(另一个PHP代码加密实现)
2014/05/29 PHP
php根据日期显示所在星座的方法
2015/07/13 PHP
写的htc的数据表格
2007/01/20 Javascript
js 调整select 位置的函数
2008/02/21 Javascript
javascript-简单的计算器实现步骤分解(附图)
2013/05/30 Javascript
常用的jquery模板插件——jQuery Boilerplate介绍
2014/09/23 Javascript
浅谈JavaScript字符串与数组
2015/06/03 Javascript
jQuery插件实现多级联动菜单效果
2015/12/01 Javascript
javascript鼠标滑过显示二级菜单特效
2020/11/18 Javascript
浅谈jquery选择器 :first与:first-child的区别
2016/11/20 Javascript
Bootstrap超大屏幕的实现代码
2017/03/22 Javascript
利用webstrom调试Vue.js单页面程序的方法教程
2017/06/06 Javascript
浅谈angular2 组件的生命周期钩子
2017/08/12 Javascript
9102年webpack4搭建vue项目的方法步骤
2019/02/20 Javascript
JavaScript中的一些实用小技巧总结
2019/04/07 Javascript
详解JavaScript 浮点数运算的精度问题
2019/07/23 Javascript
vue-父子组件和ref实例详解
2019/11/10 Javascript
JavaScript判断数据类型有几种方法及区别介绍
2020/09/02 Javascript
Python实现将16进制字符串转化为ascii字符的方法分析
2017/07/21 Python
Django中的CBV和FBV示例介绍
2018/02/25 Python
Python 删除连续出现的指定字符的实例
2018/06/29 Python
Django之choices选项和富文本编辑器的使用详解
2020/04/01 Python
Keras 利用sklearn的ROC-AUC建立评价函数详解
2020/06/15 Python
Pycharm调试程序技巧小结
2020/08/08 Python
Python3+Flask安装使用教程详解
2021/02/16 Python
应届优秀本科大学毕业生自我鉴定
2014/01/21 职场文书
学术会议邀请函范文
2014/01/22 职场文书
生产部管理制度
2014/01/31 职场文书
通信研究生自荐信
2014/02/01 职场文书
村党支部公开承诺书
2014/05/29 职场文书
幼儿园2014年度工作总结
2014/11/10 职场文书
导游词之无锡古运河
2019/11/14 职场文书
MySQL解决Navicat设置默认字符串时的报错问题
2022/06/16 MySQL
MySQL数据库实验之 触发器和存储过程
2022/06/21 MySQL