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

面试题 相关文章推荐
说出ArrayList,Vector, LinkedList的存储性能和特性
Jan 04 面试题
金山毒霸系列的笔试题
Apr 13 面试题
将一个文本文件的内容按倒序打印出来
Jan 05 面试题
一些高难度的SQL面试题
Nov 29 面试题
了解AppleShare protocol(AppleShare协议)吗
Aug 28 面试题
C#基础面试题
Oct 17 面试题
下列程序在32位linux或unix中的结果是什么
Mar 25 面试题
介绍一下grep命令的使用
Jun 28 面试题
AJAX的全称是什么
Nov 06 面试题
什么是GWT的Module
Jan 20 面试题
如何反序的迭代一个序列?how do I iterate over a sequence in reverse order
Feb 04 面试题
请说出这段代码执行后a和b的值分别是多少
Mar 28 面试题
请介绍一下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
详解json在php中的应用
2018/09/30 PHP
PHP设计模式之模板模式定义与用法详解
2018/12/20 PHP
JavaScript 基础问答三
2008/12/03 Javascript
WEB高性能开发之疯狂的HTML压缩
2010/06/19 Javascript
简洁Ajax函数处理(示例代码)
2013/11/15 Javascript
javascript中数组中求最大值示例代码
2013/12/18 Javascript
addEventListener 的用法示例介绍
2014/05/07 Javascript
JavaScript代码编写中各种各样的坑和填坑方法
2014/06/06 Javascript
详解AngularJS中的表达式使用
2015/06/16 Javascript
jQuery+CSS3实现3D立方体旋转效果
2015/11/10 Javascript
javascript伸缩菜单栏实现代码分享
2015/11/12 Javascript
利用canvas实现的加载动画效果实例代码
2017/07/05 Javascript
详解react-webpack2-热模块替换[HMR]
2017/08/03 Javascript
JS图片预加载三种实现方法解析
2020/05/08 Javascript
[51:17]完美世界DOTA2联赛循环赛Inki vs DeMonsTer 第二场 10月30日
2020/10/31 DOTA
python实现unicode转中文及转换默认编码的方法
2017/04/29 Python
使用sklearn之LabelEncoder将Label标准化的方法
2018/07/11 Python
Python get获取页面cookie代码实例
2018/09/12 Python
python将txt文件读入为np.array的方法
2018/10/30 Python
解决pycharm的Python console不能调试当前程序的问题
2019/01/20 Python
Python 使用 attrs 和 cattrs 实现面向对象编程的实践
2019/06/12 Python
Django模型修改及数据迁移实现解析
2019/08/01 Python
Python 如何批量更新已安装的库
2020/05/26 Python
pytorch  网络参数 weight bias 初始化详解
2020/06/24 Python
悦木之源美国官网:Origins美国
2016/08/01 全球购物
英国排名第一的LED灯泡网站:LED Bulbs
2019/09/03 全球购物
草莓网中国:StrawberryNet中国
2020/08/17 全球购物
热能动力工程毕业生自荐信
2013/11/07 职场文书
医院院务公开实施方案
2014/05/03 职场文书
某某同志考察材料
2014/05/28 职场文书
教师群众路线心得体会
2014/11/04 职场文书
教师节寄语2015
2015/03/23 职场文书
Python并发编程实例教程之线程的玩法
2021/06/20 Python
用python基于appium模块开发一个自动收取能量的小助手
2021/09/25 Python
动漫APP软件排行榜前十名,半次元上榜,第一款由腾讯公司推出
2022/03/18 杂记
volatile保证可见性及重排序方法
2022/08/05 Java/Android