第1题:
下列的哪个程序段可能导致错误? ( )
A.String s="hello"; String t="good"; String k=s+t;
B.String s="hello"; String t; t=s[3]+"one";
C.String s="hello"; String standard=s.toUpperCase();
D.String s="hello"; String t=s+"good";
第2题:
以下选项中正确的语句组是( )。
A.char s[]; s="HELLO!";
B.char *s; s={"HELLO!"};
C.char s[10]; s="HELLO!";
D.char *s; s="HELLO!";
第3题:
有以下程序
#include<stdio.h>
void fun(char*c)
{while(*C)
{if(*c>=‘a’&&*c<=‘z’) *c=*c一(‘a’一‘A’);
C++;
}
}
main()
{char s[81];
gets(s);fun(s);puts(s);
}
当执行程序时从键盘上输入Hello Beijing<回车>,则程序的输出结果是
A.hello beijing
B.Hello Beijing
C.HELLO BEIJING
D.hELLO Beijing
第4题:
Woman : Hello, Mr. Johnson&39; s office.
Man : Good morning._____56_____ ?
Woman : Sorry,he&39; s in a meeting at the moment._____57_____ ?
Man:Yes. This is Steve Lee from Brightlight Systems._____58_____ ?
Woman:Tomorrow afternoon in your office.
Man : _____59_____
Woman : Okay._____60_____
Man : Thank you.
56_________
57
58
59
60
请帮忙给出每个问题的正确答案和分析,谢谢!
A
第5题:
(29)有以下程序
#include <stdio.h>
void fun(char *c)
{ while(*c)
{ if(*c>='a'&&*c<='z') *c=*c-('a'-'A');
c++;
}
}
main()
{ char s[81];
gets(s); fun(s); puts(s):
}
当执行程序时从键盘上输入Hello Beijing<回车>,则程序的输出结果是
A)hello beijing
B)Hello Beijing
C)HELLO BEIJING
D)hELLO Beijing
第6题:
Some of the () insisted that the contract be awarded to Company A.
第7题:
设String对象s="H",运行语句System.out.println(s.concat("ello!"));后String对象s的内容为"Hello!",所以语句输出为"Hello!"。
第8题:
String s= "hello"; String t = "hello"; char c[] = {’h’,’e’,’l’,’l’,’o’} ; Which return true?()
第9题:
worse than the woman’s
very loud and flashy
different from the woman’s
on agreement with the woman’s
第10题:
To fix the car for the woman.
To pay for the woman’s meal.
To give the woman a lift after class.
To try using the woman s mechanic in the future.
第11题:
Anything I can help with; You should contact
Who do you want to call; Please try calling
Who’s calling, please; I’ll put you through to
Your name, please; I’ll show you the way to
第12题:
<% String s = “hello world ” ;%>
<% = “hello world ” ;%>
<% = “hello world ” %>
<% ! “hello world ” %>
第13题:
下列哪个程序段可能导致错误?
A.String s="hello"; String t= "good"; String k=s+ t;
B.String s="hello"; String t; t=s[3]+"one";
C.String s="hello"; String standard=s. toUpperCase
D.String s="hello"; String t =s+ "good"
第14题:
写出程序运行的结果
Public class Base
Public virtual string Hello() {return “Base”;}
Public class Sub:Base
Public override string Hello() {return “Sub”;}
1. Base b = new Base(); b.Hello;
2. Sub s = new Sub(); s.Hello;
3. Base b = new Sub (); b.Hello;
4. Sub s = new Base(); s.Hello;
第15题:
有以下程序
#include
void fun(char *c)
{ while(*c)
{ if(*c>='a'&&*c<='z') *c=*c-('a'-'A');
c++;
}
}
main()
{ char s[81];
gets(s); fun(s); puts(s):
}
当执行程序时从键盘上输入Hello Beijing<回车>,则程序的输出结果是
A.hello beijing
B.Hello Beijing
C.HELLO BEIJING
D.hELLO Beijing
第16题:
What is the conversation mainly about?
A. The woman’s study.
B. The woman’s friend.
C. The woman’s trouble.
第17题:
12. The writer was surprised that _________ .
A. the woman was sitting by her window
B. the woman's window was clean
C. the woman did cleaning in the afternoon
D. the woman's window was still terrible
第18题:
下列选项中,()是正确的表达式。
第19题:
("%s"%"hello")的返回值是()
第20题:
public class X { public static void main (Stringargs) { string s = new string (“Hello”); modify(s); System.out.printIn(s); } public static void modify (String s) { s += “world!”; } } What is the result?()
第21题:
the woman was sitting by her window
the woman’s window was still terrible
the woman did cleaning in the afternoon
the woman’s window was clean
第22题:
The area of the left side of a woman’s brain for language learning develops better than that of a man’s.
The right side of a woman’s brain for language develops better than that of a man’s.
The area of the left side of a woman’s brain for feelings develops better than that of a man’s.
The area of the right side of a woman’s brain fit for seeing in the dark develops better than that of a man’s.
第23题:
Hurry up
Cheer up
No doubt
That’s all right