登录
首页
资讯
APP
Toggle navigation
JAVA题库
hot
BASIC题库
new
您所在的当前位置:
计算机等级考试题库
>
JAVA题库
问题:
[单项选择题] 开发大型软件时,产生困难的根本原因是( )。
A.大系统的复杂性
B.人员知识不足
C.客观世界千变万化
D.时间紧、任务重
参考答案:
题目声明
答案有错?我要纠错
提问用户:70***hK4
查看答案(免费不限制)
提交纠错答案
可能感兴趣的题目:
1
[填空题] 设有如下程序
Private Sub Fom1_Click( )
Dim s As Integer,b As Integer
a=20:b=50
p1 a,b
p2 a,b
p3 a,b
Print"a=";a,"b=";b
End Sub
Sub pl(x As Integer,ByValy As Integer)
x=x+10
y=y+20
End Sub
Sub p2(ByVal x As Integer,y As Integer)
x=x+10
y=y+20
End Sub
Sub p3(ByVal x As Integer,ByValy As Integer)
x=x+10
y=y+20
End Sub
该程序运行后,单击窗体,则在窗体上显示的内容是:a=
【9】
和b=
【10】
。
2
[填空题] 下列程序段的输出结果为 ______。 int a=2; switch (a) { case 2: System.out.print("Value is 2."); case 3: System.out.println("Value is."); break; default: System.out.println("end"); break; }
3
[填空题] 执行下面程序,第一行输出结果是
[11]
,第二行输出结果是
[12]
。
Option Explicit
Private Sub Form_Click()
Dim A As Integer
A=2
Call Sub1(A)
End Sub
Private Sub1(x As Integer)
x=x*2+1
If x<10 Then
Call Sub1(x)
End If
x=x*2+1
Print x
End Sub
4
[单项选择题] 下列程序的输出结果是( )。
#include<stdio.h>
void main()
union
int k:
char i[2];
*s,a;
S=&a:
s->i[0]=0x39;s->i[1]=0x38;
printf("%x ",s->k);
A.cccc3839
B.3938
C.380039
D.390038
5
[单项选择题] 在Java语言中有多种实现的机制,下列( )技术属于垃圾回收机制。
A.字节编译
B.内存跟踪
C.语法检查
D.堆栈上/下溢检查
6
[单项选择题] 编译Applet程序产生的文件的扩展名是( )。
A.class
B.html
C.java
D.bat
7
[填空题] 用以下公式求f(x)的值。当通项的绝对值小于10^-7时停止计算,x的值由键盘输入。f(x)=a1x1-a2x2+a3x3-…+(-1)n+1anxn+… |X|1其中 a1=1,a2=2,an= ,n=3,4,5…Option ExplicitPrivate Sub Commandl_Click()、Dim x As Single,fx As SingleDim a As Single,a1 As Single,a2 As SingleDim t As Singlea1=l:a2=2x=text1If () ThenMsgBox("x必须在-1---1之间")ExitSubEnd Iffx=a1*x-a2*x*xt=(-1)*x*xDOa=1/(al+a2)t=(-1)*x*xfx=()al=a2()Loop Until Abs(a*t)<0.0000001Text2=fxEnd Sub
8
[单项选择题] 已知:char a="70":,则变量a中( )。
A.包含1个字符
B.包含2个字符
C.包含3个字符
D.说明非法
9
[单项选择题] 下列程序的执行结果为( )
Private Sub Command1_Click()
Dim x As Integer,y As Integer
x=12:y=20
Call Value(X,y)
Print x;y
End Sub
Private Sub Value(ByVal m As Integer,ByVal n As Integer)
m=m * 2:n=n-5
Print m; n
End Sub
A.20 12
20 15
B.12 20
12 25
C.24 15
12 20
D.24 12
12 15
10
[填空题] Applet类属于
【15】
包。