
【名词&注释】
格式化(formatting)、浮点数(floating point numbers)、第一次(the first time)、文本框(text box)、控制字符(control character)、字符串类、小写字母、大写字母(majuscule)、从左到右(from left to right)、字符串比较(character string comparison)
[单选题]若有语句int *point,a=4;和 point=&a;下面均代表地址的一组选项是
A. &*a,&a,*point
B. *&point,*point,&a
C. &a,&*point,point
查看答案&解析
点击获取本科目所有试题
举一反三:
[单选题]有以下程序: #includestdio.h> main(){ char c[6]; int i=0; for(;i6;c[i]=getchar(),i++); for(i=0;i6;i++)putchar(c[i]; printf("\n"); } 如果从键盘上输入: ab回车> c回车> def回车> 则输出结果为______。
A. a b c d
B. ab c d
C. abcdef
[单选题]以下关系表达式中,其值为假的是
A. Visual Basic="visualbasic"
B. the>"there"
C. Integer>"Int"
[单选题]已知数组a(1 To 10)As Integer,下面调用GetValue函数正确的是( )。 Private Function GetValue(a()As Integer)As Integer For i=1 To 10 Get Value=GetValue+a(i) Next i End Function
A. S=GetValue(a(1 To 10))
B. S=GetValue(a)
C. S=GetValue(a(10))
D. S=GetValue a
[单选题]在窗体上画—个文本框(名称为Text1)和—个标签(名称为Label1),程序运行后,在文本框中每输入—个字符,都会立即在标签中显示文本框中字符的个数。以下可以实现上述操作的事件过程是______。
A. Private Sub Text1_ Change() Label1.Caption =Str (Len(Text1.Text))End Sub
B. Private Sub Text1_ Click() Label1.Caption=Str(Len(Text1.Text))End Sub
C. Private Sub Text1_ Change() Labell.Caption =Text1.TextEnd Sub
D. Private Sub Label1_ Change() Labell.Caption=Str(Len(Text 1. Text))End Sub
[单选题]有以下程序段: int j; float y; char name[50]; scanf("%2d%f%s", &j, &y, name); 当执行上述程序段,从键盘上输入55566 7777abc后,y的值为( )。
A. 55566
B. 566
C. 7777
D. 566777
[单选题]下面程序段的输出结果为 public class MyClass { public static void main(String args[]) { String s="Helto! How are you?"; System.out.println(s.lastlndexOf("o",16)); } }
A. 16
B. o
C. u
D. 17
本文链接:https://www.zhukaozhuanjia.com/download/yq0x76.html