`

技术、英语好的不好的都来做做这套题,得来不易,写下你的答案。

阅读更多
给个机会,考考自己,看看基础扎不扎实。有些题目有多个答案。

Finalist IT Group (Netherlands)

第1题
题目分类:SQL & RDB
What is TRUE about the UNION command?
•A.
UNION will select distinct values.
•B.
UNION ALL will show all values, regardless if they are unique or not.
•C.
When using the UNION command, all selected columns need to be the same data type respectively
•D.
UNION command and JOIN command are identical.

第2题
题目分类:SQL & RDB
If we would like to avoid performance problems with the following SQL:
Select * from Customer order by age;
We should declare age in the DB as:
•A.
foreign key
•B.
VARCHAR[20]
•C.
hashcode
•D.
index
•E.
distinct

第3题
题目分类:SQL & RDB
Given the following table called Employees with 1 row.

EMP_ID  | SURNAME  | FIRST_NAME | OCCUPATION
---------------------------------------------
10      | Smith    | John       | programmer

You want to delete this row. Choose the correct DELETE command(s).
•A.
DELETE FROM EMPLOYEES WHERE EMP_ID = 10
•B.
DELETE FROM EMPLOYEES WHERE EMP_ID == 10
•C.
DELETE FROM EMPLOYEES WHERE EMP_ID IS (10)
•D.
DELETE FROM EMPLOYEES WHERE EMP_ID IN (10)

第4题
题目分类:SQL & RDB
Which of the following is not an aggregate function?
•A.
max()
•B.
avg()
•C.
sqrt()
•D.
sum()

第5题
题目分类:SQL & RDB
The "like" keyword can only be used with the following types of data:
•A.
char
•B.
integer
•C.
numeric
•D.
real
•E.
varchar

第6题
题目分类:SQL & RDB
Suppose you have table persons with the following structure:
id | name | age

You want to find out the average age of all persons that are at least 18 years old.

What query will you execute?
•A.
select avg(age) from persons where age >= 18
•B.
select avg(age) from persons having age >= 18
•C.
select avg(age) from persons where age >= 18 group by name
•D.
select avg(age) from persons having age >= 18 group by name
•E.
This can only be done using sub-queries

第7题
题目分类:Servlet
Which of the following entries are valid content types for the method? (Suppose response is an instance of the HttpServletResponse class.)
•A.
response.setContentType("text/xml");
•B.
response.setContentType("xml/xml");
•C.
response.setContentType("text/html");
•D.
response.setContentType("html/html3");
•E.
response.setContentType("text/plain");
•F.
response.setContentType("plain text");

第8题
题目分类:Servlet
Which of these is true about deployment descriptors. Select the one correct answer.
•A.
The order of elements in deployment descriptor is important. The elements must follow a specific order.
•B.
The elements of deployment descriptor are case insensitive.
•C.
The servlet-mapping element, if defined, must be included within the servlet element.
•D.
The web-app element must include the servlet element.

第9题
题目分类:Servlet
Which of the following statements are CORRECT when using the HTTP GET method for a form submission?
•A.
It cannot pass binary data to the server.
•B.
The parameters will be appended to the URL as a query string.
•C.
Server can reply for such request only with the HEADER information in the response.
•D.
The amount of data that it can send is dependent on the browser.
•E.
It cannot send multiple values for one parameter to the server.

第10题
题目分类:Servlet
What HTTP method is used when this form is submitted?

<HTML>
<BODY>
  <FORM action='/myApp/SampleServlet'>
      <INPUT type='submit' value='Enter Text'>
   </FORM>
</BODY>
</HTML>
•A.
GET
•B.
TRACE
•C.
HEAD
•D.
POST

第11题
题目分类:Servlet
Which scopes can be used to store attributes in the Servlet based application:

Notation: scopeName (CorrespondingType)
•A.
application (ServletContext)
•B.
request (ServletRequest)
•C.
response (ServletResponse)
•D.
session (HttpSession)
•E.
servlet config (ServletConfig)

第12题
题目分类:Servlet
What is the output when you try to invoke the servlet defined below with the following URL from the address line from your browser:

http://www.javablackbelt.org/QuestionnaireDefDisplay.wwa?questPublicId=01514


1: // omitted imports
2: 
3: public class JBBQuestionnaireServlet extends HttpServlet {
4: 
5:   protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
6:     resp.getWriter().println (req.getParameter("questPublicId"));   
7:   }
8: 
9: }
•A.
Blank page is displayed.
•B.
Blank page is displayed with the value 01514 printed out.
•C.
Blank page is displayed with the value null printed out.
•D.
Code compiles, server returns HTTP Status 405 - HTTP GET request not supported.
•E.
Don't compile.

第13题
题目分类:Java SE - Basic
Which of these are core interfaces in the collection framework?
•A.
Bag
•B.
LinkedList
•C.
Set
•D.
Map
•E.
Collection

第14题
题目分类:Java SE - Basic
Assume a method contains code which may raise an Exception (but not a RuntimeException) and there isn't any catch block to catch that exception. What is the correct way for the method to indicate that it expects the caller to handle that exception?
•A.
throw Exception
•B.
throws Exception
•C.
new Exception
•D.
Don't need to specify anything.

第15题
题目分类:Java SE - Basic
Suppose you need to validate that a String matches exactly 3 digits. Choose the possible regular expression patterns for this task, using:

Pattern regexPat = Pattern.compile("___");


Note that backslashes need to be escaped with another backslash for Java.
•A.
\\d{3}
•B.
[0-9](3)
•C.
[0-9][0-9][0-9]
•D.
[^a-zA-Z](3)
•E.
[0-9]+

第16题
题目分类:Java SE - Basic
What is true about packages?
•A.
Any type of class or interface must explicitly be declared within a package.
•B.
The package structure is reflected by a similar structure on disk.
•C.
The usage of a class outside of its own package must be preceded by it being imported using the import statement.
•D.
A package declaration must not contain uppercase letters.

第17题
题目分类:Java SE - Basic
When might your program wish to run the garbage collector?
•A.
before it enters a compute-intense section of code
•B.
before it enters a memory-intense section of code
•C.
when it knows there will be some idle time
•D.
before objects are finalized
•E.
All the above
•F.
None

第18题
题目分类:Java SE - Basic
When would you use a public attribute?
•A.
to emphasise the public use as all attributes are public by default
•B.
to define constants that need to be accessed by classes in other packages.
•C.
there is no such thing as a public attribute
•D.
to define an attribute accessible by all classes except the one where it is declared

第19题
题目分类:UML
As the result of the forward engineering process of this diagram we can receive the following result:



•A.
public class A {

   public void m() {
       new B();
       new C();
       }
}
•B.
public class A {

   public void m() {
       B b = new B();
       C c = new C();
       }
}
•C.
public class A {

   public void m() {
       new B(new C());
       }
}
•D.
public class A {

   public void m() {
       new C(new B());
       }
}

第20题
题目分类:UML
The diagram shown represents an/a ____________ element in the activity diagram.
•A.
Initial Activity
•B.
Activity
•C.
Final Activity
•D.
Concurrent Activity

第21题
题目分类:UML
Given:

A. Dynamic object modeling is achieved with interaction diagrams.
B. Static object modeling is implemented through class diagrams.

Which of the following statements are CORRECT?
•A.
Statement A is CORRECT.
•B.
Statement A is WRONG.
•C.
Statement B is CORRECT.
•D.
Statement B is WRONG.

第22题
题目分类:UML
If you wanted to visually demonstrate how a method called different objects, and in what order, which of the following would be the most appropriate type of diagram?
•A.
Object diagram
•B.
Sequence diagram
•C.
State diagram
•D.
Class diagram

第23题
题目分类:UML
Which of the following statements are true for the above class diagram?



•A.
The Grid class uses generics.
•B.
The Grid class inherits from List.
•C.
The get and set methods on Grid are public.
•D.
The Grid class is abstract.
•E.
The Grid class is an interface.

第24题
题目分类:UML
Which of the following sentences are true about activity diagrams:
•A.
The different users or roles in an activity diagram can only be annotated as comments to the action inside activity diagrams
•B.
The different users or roles in an activity can be modelled using partitions.
•C.
Activity diagrams have no means of expressing parallel execution

第25题
题目分类:JavaScript
Which of the following lines of code will print to the page the text:
His name was Henry "Sky" Philips ?
•A.
document.write("His name was Henry "Sky" Philips");
•B.
document.write('His name was Henry "Sky" Philips');
•C.
document.write("His name was Henry \"Sky\" Philips");
•D.
document.write("His name was Henry ""Sky"" Philips");
•E.
document.write(His name was Henry "Sky" Philips);

第26题
题目分类:JavaScript
Which of the following is true?
•A.
If onkeydown returns false, the key-press event is cancelled.
•B.
If onkeypress returns false, the key-down event is cancelled.
•C.
If onkeydown returns false, the key-up event is cancelled.
•D.
If onkeypress returns false, the key-up event is canceled.

第27题
题目分类:JavaScript
Which of the following HTML tag(s) support  onchange event?
•A.
FORM
•B.
INPUT
•C.
TEXTAREA
•D.
SELECT
•E.
TABLE
•F.
IMAGE

第28题
题目分类:JavaScript
What is the value of i after the following for loop?


for (var i = 0; i < 2; i++) {
//Do nothing
}
// What is the value of i here?
•A.
undefined
•B.
0
•C.
1
•D.
2

第29题
题目分类:JavaScript
The unescape function is deprecated since JavaScript 1.5. Which of the following functions can be used to replace it?
•A.
escape
•B.
decodeURI
•C.
decodeURIComponent
•D.
decodeURIString
•E.
encodeURI

第30题
题目分类:JavaScript
If you wanted to insert a literal "tab" character into a JavaScript string. Which of the following sequences of characters inserted in a string would allow you to do that?
•A.
\n
•B.
\s
•C.
\t
•D.
This is not possible in JavaScript

  • 大小: 13.7 KB
  • 大小: 8.7 KB
分享到:
评论
6 楼 je_administrator 2009-06-27  
<p>都不贴答案,俺来一个(未google,一次完成)</p>
<p>感觉惨不忍睹啊,大家扔砖吧.</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;">Finalist IT Group (Netherlands) <br><br></span></span><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">1</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">SQL &amp; RDB <br>What is TRUE about the UNION command? //感觉象多选<br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•A. <br>UNION will select distinct values. </span><br>•B. <br>UNION ALL will show all values, regardless if they are unique or not. <br>•C. <br>When using the UNION command, all selected columns need to be the same data type respectively <br>•D. <br>UNION command and JOIN command are identical. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">2</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">SQL &amp; RDB <br>If we would like to avoid performance problems with the following SQL: <br>Select * from Customer order by age; <br>We should declare age in the DB as: <br>•A. <br>foreign key <br>•B. <br>VARCHAR[20] <br>•C. <br>hashcode <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•D. <br>index </span><br>•E. <br>distinct <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">3</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">SQL &amp; RDB <br>Given the following table called Employees with 1 row. <br><br>EMP_ID  | SURNAME  | FIRST_NAME | OCCUPATION <br>--------------------------------------------- <br>10      | Smith    | John       | programmer <br><br>You want to delete this row. Choose the correct DELETE command(s). <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•A. <br>DELETE FROM EMPLOYEES WHERE EMP_ID = 10 </span><br>•B. <br>DELETE FROM EMPLOYEES WHERE EMP_ID == 10 <br>•C. <br>DELETE FROM EMPLOYEES WHERE EMP_ID IS (10) <br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•D. <br>DELETE FROM EMPLOYEES WHERE EMP_ID IN (10) </span><br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">4</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">SQL &amp; RDB <br>Which of the following is not an aggregate function? <br>•A. <br>max() <br>•B. <br>avg() <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>sqrt() </span><br>•D. <br>sum() <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">5</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">SQL &amp; RDB <br>The "like" keyword can only be used with the following types of data: <br>•A. <br>char <br>•B. <br>integer <br>•C. <br>numeric <br>•D. <br>real <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•E. <br>varchar </span><br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">6</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">SQL &amp; RDB <br>Suppose you have table persons with the following structure: <br>id | name | age <br><br>You want to find out the average age of all persons that are at least 18 years old. <br><br>What query will you execute? <br>•A. <br>select avg(age) from persons where age &gt;= 18 <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•B. <br>select avg(age) from persons having age &gt;= 18 </span><br>•C. <br>select avg(age) from persons where age &gt;= 18 group by name <br>•D. <br>select avg(age) from persons having age &gt;= 18 group by name <br>•E. <br>This can only be done using sub-queries <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">7</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Servlet <br>Which of the following entries are valid content types for the method? (Suppose response is an instance of the HttpServletResponse class.) <br>•A. <br>response.setContentType("text/xml"); <br>•B. <br>response.setContentType("xml/xml"); <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>response.setContentType("text/html"); </span><br>•D. <br>response.setContentType("html/html3"); <br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•E. <br>response.setContentType("text/plain"); </span><br>•F. <br>response.setContentType("plain text"); <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">8</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Servlet <br>Which of these is true about deployment descriptors. Select the one correct answer. <br>•A. <br>The order of elements in deployment descriptor is important. The elements must follow a specific order. <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•B. <br>The elements of deployment descriptor are case insensiti</span>ve. <br>•C. <br>The servlet-mapping element, if defined, must be included within the servlet element. <br>•D. <br>The web-app element must include the servlet element. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">9</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Servlet <br>Which of the following statements are CORRECT when using the HTTP GET method for a form submission? <br>•A. <br>It cannot pass binary data to the server. <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•B. <br>The parameters will be appended to the URL as a query string. </span><br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>Server can reply for such request only with the HEADER information in the response. </span><br>•D. <br>The amount of data that it can send is dependent on the browser. <br>•E. <br>It cannot send multiple values for one parameter to the server. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">10</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Servlet <br>What HTTP method is used when this form is submitted? <br><br>&lt;HTML&gt; <br>&lt;BODY&gt; <br>  &lt;FORM action='/myApp/SampleServlet'&gt; <br>      &lt;INPUT type='submit' value='Enter Text'&gt; <br>   &lt;/FORM&gt; <br>&lt;/BODY&gt; <br>&lt;/HTML&gt; <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•A. <br>GET </span><br>•B. <br>TRACE <br>•C. <br>HEAD <br>•D. <br>POST <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">11</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Servlet <br>Which scopes can be used to store attributes in the Servlet based application: <br><br>Notation: scopeName (CorrespondingType) <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•A. <br>application (ServletContext) </span><br>•B. <br>request (ServletRequest) <br>•C. <br>response (ServletResponse) <br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•D. <br>session (HttpSession) <br>•E. <br>servlet config (ServletConfig) </span><br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">12</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Servlet <br>What is the output when you try to invoke the servlet defined below with the following URL from the address line from your browser: <br><br>http://www.javablackbelt.org/QuestionnaireDefDisplay.wwa?questPublicId=01514 <br><br><br>1: // omitted imports <br>2:  <br>3: public class JBBQuestionnaireServlet extends HttpServlet { <br>4:  <br>5:   protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { <br>6:     resp.getWriter().println (req.getParameter("questPublicId"));    <br>7:   } <br>8:  <br>9: } <br>•A. <br>Blank page is displayed. <br>•B. <br>Blank page is displayed with the value 01514 printed out. <br>•C. <br>Blank page is displayed with the value null printed out. <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•D. <br>Code compiles, server returns HTTP Status 405 - HTTP GET request not supported. <br></span>•E. <br>Don't compile. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">13</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Java SE - Basic <br>Which of these are core interfaces in the collection framework? <br>•A. <br>Bag <br>•B. <br>LinkedList <br>•C. <br>Set <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•D. <br>Map </span><br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•E. <br>Collection </span><br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">14</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Java SE - Basic <br>Assume a method contains code which may raise an Exception (but not a RuntimeException) and there isn't any catch block to catch that exception. What is the correct way for the method to indicate that it expects the caller to handle that exception? <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•A. <br>throw Exception </span><br>•B. <br>throws Exception <br>•C. <br>new Exception <br>•D. <br>Don't need to specify anything. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">15</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Java SE - Basic <br>Suppose you need to validate that a String matches exactly 3 digits. Choose the possible regular expression patterns for this task, using: <br><br>Pattern regexPat = Pattern.compile("___"); <br><br><br>Note that backslashes need to be escaped with another backslash for Java. <br>•A. <br>\\d{3} <br>•B. <br>[0-9](3) <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>[0-9][0-9][0-9] </span><br>•D. <br>[^a-zA-Z](3) <br>•E. <br>[0-9]+ <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">16</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Java SE - Basic <br>What is true about packages? <br>•A. <br>Any type of class or interface must explicitly be declared within a package. <br>•B. <br>The package structure is reflected by a similar structure on disk. <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>The usage of a class outside of its own package must be preceded by it being imported using the import statement. </span><br>•D. <br>A package declaration must not contain uppercase letters. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">17</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Java SE - Basic <br>When might your program wish to run the garbage collector? <br>•A. <br>before it enters a compute-intense section of code <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•B. <br>before it enters a memory-intense section of code </span><br>•C. <br>when it knows there will be some idle time <br>•D. <br>before objects are finalized <br>•E. <br>All the above <br>•F. <br>None <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">18</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">Java SE - Basic <br>When would you use a public attribute? <br>•A. <br>to emphasise the public use as all attributes are public by default <br>•B. <br>to define constants that need to be accessed by classes in other packages. <br>•C. <br>there is no such thing as a public attribute <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•D. <br>to define an attribute accessible by all classes except the one where it is declared </span><br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">19</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Times New Roman;">UML <br>As the result of the forward engineering process of this diagram we can receive the following result: <br><br></span></span><br><br><span style="font-size: small; font-family: Times New Roman;">•A. <br>public class A { <br><br>   public void m() { <br>       new B(); <br>       new C(); <br>       } <br>} <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•B. <br>public class A { <br><br>   public void m() { <br>       B b = new B(); <br>       C c = new C(); <br>       } <br>} </span><br>•C. <br>public class A { <br><br>   public void m() { <br>       new B(new C()); <br>       } <br>} <br>•D. <br>public class A { <br><br>   public void m() { <br>       new C(new B()); <br>       } <br>} <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">20</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">UML <br>The diagram shown represents an/a ____________ element in the activity diagram. <br>•A. <br>Initial Activity <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•B. <br>Activity </span><br>•C. <br>Final Activity <br>•D. <br>Concurrent Activity <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">21</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">UML <br>Given: <br><br>A. Dynamic object modeling is achieved with interaction diagrams. <br>B. Static object modeling is implemented through class diagrams. <br><br>Which of the following statements are CORRECT? <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•A. <br>Statement A is CORRECT. </span><br>•B. <br>Statement A is WRONG. <br>•C. <br>Statement B is CORRECT. <br>•D. <br>Statement B is WRONG. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">22</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">UML <br>If you wanted to visually demonstrate how a method called different objects, and in what order, which of the following would be the most appropriate type of diagram? <br>•A. <br>Object diagram <br>•B. <br>Sequence diagram <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>State diagram </span><br>•D. <br>Class diagram <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">23</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">UML <br>Which of the following statements are true for the above class diagram? <br><br></span><br><br><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•A. <br>The Grid class uses generics. </span><br>•B. <br>The Grid class inherits from List. <br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>The get and set methods on Grid are public. </span><br>•D. <br>The Grid class is abstract. <br>•E. <br>The Grid class is an interface. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">24</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">UML <br>Which of the following sentences are true about activity diagrams: <br>•A. <br><span style="color: #ff0000;">The different users or roles in an activity diagram can only be annotated as comments to the action inside activity diagrams</span> <br>•B. <br>The different users or roles in an activity can be modelled using partitions. <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>Activity diagrams have no means of expressing parallel execution </span><br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">25</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">JavaScript <br>Which of the following lines of code will print to the page the text: <br>His name was Henry "Sky" Philips ? <br>•A. <br>document.write("His name was Henry "Sky" Philips"); <br>•B. <br>document.write('His name was Henry "Sky" Philips'); <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>document.write("His name was Henry \"Sky\" Philips"); </span><br>•D. <br>document.write("His name was Henry ""Sky"" Philips"); <br>•E. <br>document.write(His name was Henry "Sky" Philips); <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">26</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">JavaScript <br>Which of the following is true? <br>•A. <br>If onkeydown returns false, the key-press event is cancelled. <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•B. <br>If onkeypress returns false, the key-down event is cancelled. </span><br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>If onkeydown returns false, the key-up event is cancelled. </span><br>•D. <br>If onkeypress returns false, the key-up event is canceled. <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">27</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">JavaScript <br>Which of the following HTML tag(s) support  onchange event? <br>•A. <br>FORM <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•B. <br>INPUT </span><br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•C. <br>TEXTAREA </span><br></span></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•D. <br>SELECT </span><br>•E. <br>TABLE <br>•F. <br>IMAGE <br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">28</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">JavaScript <br>What is the value of i after the following for loop? <br><br><br>for (var i = 0; i &lt; 2; i++) { <br>//Do nothing <br>} <br>// What is the value of i here? <br>•A. <br>undefined <br>•B. <br>0 <br>•C. <br>1 <br></span><span style="font-family: Times New Roman;"><span style="font-size: small;"><span style="color: #ff0000;">•D. <br>2 </span><br><br></span></span></span><span style="font-size: small;"><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">29</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;">JavaScript <br>The unescape function is deprecated since JavaScript 1.5. Which of the following functions can be used to replace it? <br>•A. <br>escape <br>•B. <br>decodeURI <br>•C. <br>decodeURIComponent <br>•D. <br>decodeURIString <br>•E. <br><span style="color: #ff0000;">encodeURI </span><br><br></span></span><span>第</span><span lang="EN-US"><span style="font-family: Times New Roman;">30</span></span><span>题</span></span><span style="font-size: small;"><span lang="EN-US"><span style="font-family: Times New Roman;"> <br></span></span><span>题目分类:</span></span><span lang="EN-US"><span style="font-size: small; font-family: Times New Roman;">JavaScript <br>If you wanted to insert a literal "tab" character into a JavaScript string. Which of the following sequences of characters inserted in a string would allow you to do that? <br></span><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="color: #ff0000;">•A. <br>\n </span><br>•B. <br>\s <br></span></span><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="color: #ff0000;">•C. <br>\t </span><br>•D. <br>This is not possible in JavaScript</span></span></span></p>
<p> </p>
5 楼 halida 2009-06-27  
看起來都是基礎題目呀?
4 楼 ywbanm 2009-06-26  
有答案对对么
3 楼 skyforum 2009-06-26  
tobackfurture 写道
在哪搞的啊,可以说下吗?公司名!


Finalist IT Group (Netherlands)
2 楼 tobackfurture 2009-06-26  
在哪搞的啊,可以说下吗?公司名!
1 楼 Hooopo 2009-06-26  
这题有什么特别吗?

相关推荐

Global site tag (gtag.js) - Google Analytics