-
You need to write a code segment that will create a common language runtime (CLR) unit of isolation within an application.Which code segment should you use?()https://assets.asklib.com/images/image2/2018072708473666399.jpg
A . A
B . B
C . C
D . D
-
You write a procedure that will be called from two level triggers and a database trigger. Where should you store this code? ()
A . On the Oracle server.
B . Locally in each form module.
C . In an attached PL/SQL library
D . On your file network server.
-
Which of the following can be utilized from a Legacy form without additional coding?()
A . Field Validations
B . Query Save logic
C . Dialog forms
D . All of the above
-
Which command should the administrator use to display the IPL progress/LED code of the partition?()
A . lsled -m System -r lpar
B . lsrefcode -m System -r lpar
C . lshwinfo -m System -r led_code
D . lssyscfg -m System -r sys -F lpar_name,led_code
-
On which product media can the IVM install code be located?()
A . Base AIX Install media.
B . Base VIOS Install media.
C . AIX Expansion Pack media.
D . VIOS Expansion Pack media.
-
Given a class Repetition:
https://assets.asklib.com/images/image2/2018080111013543546.png
Which code should be inserted at line 1 of Demo.java to compile and run Demo to print "pizzapizza"?()
A . import utils.*;
B . static import utils.*;
C . import utils.Repetition.*;
D . static import utils.Repetition.*;
E . import utils.Repetition.twice();
F . import static utils.Repetition.twice;
-
During PSC inspection related to the ISM Code, of the Safety Management System (SMS) should be carried out if clear grounds are established()
A . a less favorable inspection
B . a more favorable inspection
C . a less detailed inspection
D . a more detailed inspectio
-
You need to read the entire contents of a file named Message.txt into a single string variable.Which code segment should you use?()
A .https://assets.asklib.com/images/image2/2018072715180525677.jpg
B .https://assets.asklib.com/images/image2/2018072715181184314.jpg
C .https://assets.asklib.com/images/image2/2018072715181484661.jpg
D .https://assets.asklib.com/images/image2/201807271518183285.jpg
-
11. rbo = new ReallyBigObject(); 12. // more code here 13. rbo = null; 14. /* insert code here */ Which statement should be placed at line 14 to suggest that the virtual machine expend effort toward recycling the memory used by the object rbo?()
A . System.gc();
B . Runtime.gc();
C . System.freeMemory();
D . Runtime.getRuntime().growHeap();
E . Runtime.getRuntime().freeMemory();
-
You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested. Which code segment should you use?()
A .https://assets.asklib.com/images/image2/2018072714005024244.jpg
B .https://assets.asklib.com/images/image2/201807271401023676.jpg
C .https://assets.asklib.com/images/image2/2018072714010645375.jpg
D .https://assets.asklib.com/images/image2/2018072714011271828.jpg
-
You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested. Which code segment should you use? ()
A . In the Web.config file: <authorization> <deny users="?" /></authorization> On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load FormsAuthentication.Initialize() End Sub
B . On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load FormsAuthentication RedirectToLoginPage("login.aspx") End Sub
C . On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load Response.Redirect("login.aspx") End Sub
D . In the Web.config file: <authentication mode="Forms"> <forms name=".ASPXUSERDEMO" loginUrl="login.aspx" protection="All" timeout="60" /></authentication>
-
According to the ISPS Code, for a sailing ship, the following except()should be onboard.
A . a ship security plan
B . a ship security officer
C . a company security officer
D . certain onboard equipment
-
Which the JSTL code snippet can be used to import content from another web resource?()
A .
-
Under which three circumstances will the code on line 37 be executed?()https://assets.asklib.com/images/image2/2018080114480012376.jpg
A . The instance gets garbage collected.
B . The code on line 33 throws an exception.
C . The code on line 35 throws an exception.
D . The code on line 31 throws an exception.
E . The code on line 33 executes successfully.
-
31. // some code here 32. try { 33. // some code here 34. } catch (SomeException se) { 35. // some code here 36. } finally { 37. // some code here 38. } Under which three circumstances will the code on line 37 be executed?()
A . The instance gets garbage collected.
B . The code on line 33 throws an exception.
C . The code on line 35 throws an exception.
D . The code on line 31 throws an exception.
E . The code on line 33 executes successfully.
-
Given a class Repetition:
https://assets.asklib.com/images/image2/2018080116125392704.jpg
Which code should be inserted at line 1 of Demo.java to compile and run Demo to print "pizzapizza"?()
A . import utils.*;
B . static import utils.*;
C . import utils.Repetition.*;
D . static import utils.Repetition.*;
E . import utils.Repetition.twice();
F . import static utils.Repetition.twice;
G . static import utils.Repetition.twice
-
Which JSTL code snippet can be used to import content from another web resource?()
A . <c:import url="foo.jsp"/>
B . <c:import page="foo.jsp"/>
C . <c:include url="foo.jsp"/>
D . <c:include page="foo.jsp"/>
-
You need to generate a report that lists language codes and region codes.Which code segment should you use?()https://assets.asklib.com/images/image2/2018072713324828879.jpg
A . A
B . B
C . C
D . D
-
Which JSTL code snippet can be used to perform URL rewriting?()
A . <a href=’<c:url url="foo.jsp"/>’ />
B . <a href=’<c:link url="foo.jsp"/>’ />
C . <a href=’<c:url value="foo.jsp"/>’ />
D . <a href=’<c:link value="foo.jsp"/>’ />
-
A(An)()should be issued for every company complying with the requirement of the ISM Code by the Administration.
-
You need to serialize an object of type List<int> in a binary format. The object is named data. Which code segment should you use?()
A .https://assets.asklib.com/images/image2/2018072715241748930.jpg
B .https://assets.asklib.com/images/image2/2018072715242076484.jpg
C .https://assets.asklib.com/images/image2/2018072715242413458.jpg
D .https://assets.asklib.com/images/image2/2018072715242755975.jpg
-
You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested.Which code segment should you use?()
A.<img src='https://img2.soutiyun.com/shangxueba/ask/64260001-64263000/64260017/31ddc27d6b5afe8bae451bdd794657cf.jpg' />
B.<img src='https://img2.soutiyun.com/shangxueba/ask/64260001-64263000/64260017/19ad18c2d6af540e3af3cc6cf5e26d31.jpg' />
C.<img src='https://img2.soutiyun.com/shangxueba/ask/64260001-64263000/64260017/c6671967b4ef53d8df6205db1b9bc9dc.jpg' />
D.<img src='https://img2.soutiyun.com/shangxueba/ask/64260001-64263000/64260017/f2dbfcb0e5210e6a8f01932d905b2566.jpg' />
-
Given a class Repetition:1.package utils;2.3.public class Repetition{4.public static String twice(Strings){returns+s;}5.}and given another class Demo:1.//insert code here2.3.public class Demo{4.public static void main(String[]args){5.System.out.println(twice("pizza"));6.}7.}Which code should be inserted at line 1 of Demo.java to compile and run Demo to printpizzapizza”?()
A.import utils.*;
B.static import utils.*;
C.importutils.Repetition.*;
D.static importutils.Repetition.*;
E.import utils.Repetition.twice();
F.import static utils.Repetition.twice;
G.static import utils.Repetition.twice;