50 A. clean B. read. C. turn D. count
第1题:
A.只读
B.只写
C.可读写
D.不可读不可写
第2题:
编译如下的Java程序片段:Classtest{Intcount=9;Publicvoida(){Intcount=10;System.out,println(count1=”+count);}Publicvoidcount(){System.out.println(count2=”+count);}Publicstaticvoidmain(Stringargs[]){Testt=newTest();t.a();t.count();}}结果是()
A.不能通过编译
B.输出:count1=10count2=9
C.输出:count1=9count2=9
第3题:
● 下面 C 程序中,设变量 count 的地址为 2000。则该段程序执行后,屏幕上的显
示结果应为 (53) 。
# include <stdio.h>
main(void)
{ int count,q;
int *m;
count = 100;
m = &count;
q = *m;
printf(“q=%d;\n”,q);
return 0;
}
(53)
A. q=2000;
B. q=2000
C. q=100;
D. q=100
第4题:
Fordebuggingpurposes,youneedtorecordhowmanytimesagivenJSPisinvokedbeforetheuser’ssessionhasbeencreated.TheJSP’sdestroymethodstoresthisinformationtoadatabase.WhichJSPcodesnippetkeepstrackofthiscountforthelifetimeoftheJSPpage?()
A.<%!intcount=0;%><%if(request.getSession(false)==null)count++;%>
B.<%@intcount=0;%>.<%if(request.getSession(false)==null)count++;%>
C.<%intcount=0;.if(request.getSession(false)==null)count++;%>
D.<%@intcount=0;.if(request.getSession(false)==null)count++;%>
E.<%!intcount=0;.if(request.getSession(false)==null)count++;%>
第5题:
指令“COUNT EQU CX”的含义是( )。
A.定义变量COUNT,并赋值
B.定义常量COUNT,并赋值
C.定义变量CX,并赋值
D.定义COUNT为CX的同义语
第6题:
有如下4个语句: ①count<<'A'<<setfill('x')<<left<<setw(7)<<'B'<<endl; ②count<<setfill('x')<<left<<setw(7)<<'A'<<'B'<<endl; ③count<<'A'<<setfill('*')<<right<<setw(7)<<'B'<<endl; ④count<<setfill('x')<<right<<setw(7)<<'A'<<'B'<<endl; 其中能显示A * * * * * * B的是
A.①和③
B.①和④
C.②和③
D.②和④
第7题:
指令“COUNT EQU CX”的含义是( )。
A.定义变量COUNT,并赋值
B.定义常量COUNT,并赋值
C.定变量CX,并赋值
D.定义COUNT为CX的同一语
第8题:
在Excel中,COUNT函数用于计算工作表指定区域的( )。
A.平均数
B.各数字之和
C.数字的个数
D.每期付款金额
第9题:
The light is still on. Why not ______?
A. turn it on
B. turn it off
C. turn on it
D. turn off it
17.答案为B 灯还亮着,为什么不关掉?turn on“开灯”,turn off“关灯”,不定代词it一般放在词组中间。
第10题:
第11题:
第12题:
ventilate all compartments,see that the machinery is clean and there are no obstructions
just turn the key and start up
take for granted that there are no fuel leaks
assume there are no volatile fumes in the engine space
第13题:
编译如下Java程序片断:classtest{intcount=9;publicvoida(){intcount=10;System.out.println("count1="+count);}publicvoidcount(){System.out.println("count2="+count);}publicstaticvoidmain(Stringargs[]){testt=newtest();t.a();t.count();}}结果将()。
A.不能通过编译
B.输出: count1=10 count2=9
C.输出:count1=9 count2=9
第14题:
A. clean out
B. clean up
C. clean down
D. clean oil
第15题:
——Mary, you clean the room today, ?
——But I cleaned it yesterday. It’s Lily’s turn.
A、don’t you
B、will you
C、do you
D、didn’t you
第16题:
The CUSTOMERS table has these columns:CUSTOMER_ID NUMBER (4) NOT NULLCUSTOMER_NAME VARCHAR2 (100) NOT NULLSTREET_ADDRESS VARCHAR2 (150)CITY_ADDRESS VARHCAR2 (50)STATE_ADDRESS VARCHAR2 (50)PROVINCE_ADDRESS VARCHAR2 (50)COUNTRY_ADDRESS VARCHAR2 (50)POSTAL_CODE VARCHAR2 (12)CUSTOMER_PHONE VARCHAR2 (20)The CUSTOMER_ID column is the primary key for the table.You need to determine how dispersed your customer base is.Which expression finds the number of different countries represented in the CUSTOMERS table?()
A. COUNT(UPPER(country_address))
B. COUNT(DIFF(UPPER(country_address)))
C. COUNT(UNIQUE(UPPER(country_address)))
D. COUNT DISTINTC UPPER(country_address)
E. COUNT(DISTINTC (UPPER(country_address)))
第17题:
(2)
A.=COUNT(E3:E10,>=60)和=COUNT(E3:E10,<60)
B.=COUNT(E3:E10,">=60")和=COUNT(E3:E10,"<60")
C.=COUNTIF(E3:E10,>=60)和=COUNTIF(E3:E10,<60)
D.=COUNTIF(E3:E10,">=60")和=COUNTIF(E3:E10,"<60")
第18题:
● 对于下图所示的 Students和 SC 关系,属性 Sno 表示学号,Sname 表示姓名,Sex表示性别,SD表示专业,Age 表示年龄,Cno 表示课程号,Grade 表示成绩。
a. 当用户查询“选了课程 2 的学生数”时,其结果应为 (59) ;当 Students 和 SC关系进行自然连接时,其结果集的属性列数应为 (60) 。
(59)A. 3 B. 4 C. 6 D. 7
(60)A. 6 B. 7 C. 8 D. 9
b. 查询“至少选修了两门课程的每个学生的平均成绩”的 SQL 语句如下:
SELECT Sno, (61)
FROM SC
GROUP BY Sno
(62) >1;
(61)
A. Grade
B. SUM(Grade)/ 7
C. AVG(Grade)
D. SUM(Grade)/ COUNT(Cno)
(62)
A. WHERE COUNT(Sno)
B. WHERE COUNT(DISTINCT(Sno) )
C. HAVING COUNT(Sno)
D. HAVING COUNT(DISTINCT(Sno) )
第19题:
______
A.=COUNT(E3:E10,>=60)和=COUNT(E3:E10,<60)
B.=COUNT(E3:E10,">=60")和=COUNT(E3:E10,"<60")
C.=COUNTIF(E3:E10,>=60)和=COUNTIF(E3:E10,<60)
D.=COUNTIF(E3:E10,">=60")和=COUNTIF(E3:E10,"<60")
A.
B.
C.
D.
第20题:
Do remember to ______ the light when you leave the room. A. turn up B. turn on C. turn off D. turn down
第21题:
Before any machinery is put in operation,you should ______.
A.ventilate all compartments,see that the machinery is clean and there are no obstructions
B.just turn the key and start up
C.take for granted that there are no fuel leaks
D.assume there are no volatile fumes in the engine space
第22题:
第23题:
A technician has a laptop that is running slow and notices the fan is on high. Which of the following should the technician try FIRST?()