最新190-753考试题库
Examsoon最新190-753认证真题,真题覆盖率达到90%以上。考不过全额退款保障,让您认证无忧。绝对真实来自Examsoon的高质量题库。
购买190-753考试题库请认准Examsoon标志!切勿因贪便宜而造成不必要的损失和遗憾。下载题库及任何190-753问题请与我站管理员联系!
190-753 考试是 Lotus 公司的 Using JavaScrip IBM Lotus Domino 7 Applications 认证考试官方代号,Examsoon的190-753权威考试题库软件是Lotus认证厂商的授权产品,Examsoon绝对保证第一次参加 190-753 考试的考生即可顺利通过,否则承诺全额退款!
选择 Examsoon 190-753 题库
190-753题库购买时请一定要认准Examsoon标志,世界第一IT认证资料服务提供商中国服务中心。
Examsoon
部分最新免费190-753认证题库:(您也可以联系我下载部分最新190-753考试题库)
Exam : Lotus 190-753
Title : Using JavaScript in IBM Lotus Domino 7 Applications
1. Rashida needs to display the current date, in dd-mmm-yyyy format, in an alert message. For example, the first day of the 2007 should be displayed as 01-Jan-200 So far, she has written these lines in a new function that she will use to create the date string:
function getDateDMY() {
var months = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
var dt = new Date();
<MISSING CODE>
}
What should Rashida add in place of the <MISSING CODE>?
A. var dd = dt.getDay();
var mmm = dt.getMonth();
var yyyy = dt.getFullYear();
return dd + "-" + months[mmm] + "-" + yyyy;
B. var dd = dt.getDay();
var mmm = dt.getMonth();
var yyyy = dt.getFullYear();
return = dd + "-" + months.options[mmm] + "-" + yyyy;
C. var dd = dt.getDate();
if (dd < 10) { dd = "0" + dd }
var mmm = dt.getMonth();
var yyyy = dt.getFullYear();
return dd + "-" + months[mmm] + "-" + yyyy;
D. var dd = dt.getDate();
if (dd < 10) { dd = "0" + parseInt(dd) }
var mmm = dt.getMonth();
var yyyy = dt.getFullYear();
return = dd + "-" + months[mmm] + "-" + parseInt(yyyy);
Answer: C
2. Ann created the following code segment:
function checksubject()
{
if(window.document.forms[0].Subject.value=="")
{
alert("Please enter a subject.");
window.document.forms[0].Subject.focus()
}
else
{
window.document.forms[0].submit()
}
}
Which one of the following could Ann place between the function name and the if statement to prevent the need to type window.document.forms[0] each time it is needed?
A. function checksubject()
{
(this)
{
if(Subject.value="")
B. function checksubject()
{
with(this)
{
if(Subject.value="")
C. function checksubject()
{
(window.document.forms[0])
{
if(Subject.value=="")
D. function checksubject()
{
with(window.document.forms[0])
{
if(Subject.value=="")
Answer: D
3. Which JavaScript location property could you use to determine whether or not you were using an https:// connection on the current page?
A. location.port
B. location.host
C. location.secure
D. location.protocol
Answer: D
4. Look at the following JavaScript function:
function clickButton
{
document.forms[0].submitMe.onClick( )
}
Which one of the following will this function do?
A. Run a global JavaScript function named onClick( ).
B. Run the onClick event of an object named submitMe.
C. Place the cursor in an input on the form named submitMe.
D. Run a JavaScript function named onClick( ) that is on a form object named submitMe.
Answer: B
5. Look at the following code for the onClick event of a button:
function printvar()
{
var1 = 20;
alert( ‘the value of var1 is ‘ + var1 );
}
var var1 = 10;
printvar();
Which one of the following will be the value of var1 in the alert message?
A. 10
B. 20
C. "10"
D. undefined
Answer: B
6. Georgi has created the SalesOrder Web form. He has included several checkbox fields on the form listing various parts that a customer may want to add to an order. At the bottom of the form is the addOptions listbox field. Georgi has placed this code in the onClick event of each checkbox field:
var fldOptions = document.forms[0].addOptions;
var newIndex = fldOptions.length;
fldOptions.length = fldOptions.length+1;
fldOptions.options[newIndex].text = this.value;
What is the result of this code?
A. Each selected checkbox item replaces the current last choice available in the addOptions field.
B. Each item that is selected by clicking in a checkbox is added to the list of choices available in the addOptions field.
C. If the first choice of a checkbox field is selected, it will replace the current last choice available in the addOptions field.
D. If the first choice of a checkbox field is selected, it will be added to the list of choices available in the addOptions field.
Answer: B
7. A JavaScript code segment was placed in the JS Header event of a form object. The beginning of that segment looked like the following:
function validate(field)
{
if(validateRunning)
{
validateRunning=false;
return;
}
}
When the function was called, it did not work correctly. Which one of the following would prevent this function from working properly?
A. validateRunning was defined earlier as a number, not a boolean.
B. validateRunning was declared and initialized in the calling event.
C. validateRunning was declared and initialized in the JS Header event.
D. validateRunning was declared in the JS Header event and initialized in the calling event.
Answer: B
8. Murray designed a Web document that has a <SELECT> list, which allows the user to choose who the next signer in a workflow should be. The HTML for the field looks something like this:
<select name="NextSigner" size=1>
<option value="John Jones">John Jones</option>
<option value="Barry Allen">Barry Allen</option>
<option value="Hal Jordan">Hal Jordan</option>
Murray wrote a function called "ConfirmSignerName" that confirms that the selected name is the correct one. How does the function get the value that was selected in that field?
A. document.forms[0].NextSigner.text
B. document.forms[0].NextSigner.value
C. document.forms[0].NextSigner.selected
D. document.forms[0].NextSigner.options[document.forms[0].NextSigner.selectedIndex].value
Answer: D
9. Clara used three Domino subforms to create a page on the Web. How many HTML form tags were rendered when it was opened in edit mode?
A. None
B. One
C. Two
D. Three
Answer: B
10. Devon has placed the following code in the JS Header event of a form:
function userConfirm( )
{
if( confirm( "Do you wish to continue" ))
{
promptUser( );
}
function promptUser( )
{
x = prompt( "Please enter some text", "" );
alert( x );
}
There is a button on the form where the onClick event is: userConfirm( ).
Which one of the following will happen when the user chooses "Yes" in the confirmation prompt?
A. The promptUser( ) function will run and display an error message, "Please enter some text".
B. The promptUser( ) function will run and ask the user to input a value, which will then be posted in a confirm prompt.
C. A run-time error will appear, stating that the promptUser( ) function is undefined, since it was defined after the userConfirm( ) function.
D. The promptUser( ) function will run with an input prompt asking the user to input a value, which will then be posted in an alert prompt.
Answer: D
11. Edith wants to change a graphic whenever the user passes the cursor over the graphic in a Web browser. Which one of the following describes how she can do this?
A. She cannot do this; images cannot be changed.
B. She should write the location (URL) of the new image to the src property of the image in the onSelect event and set it back to the original image in the onMouseUp event.
C. She should write the location (URL) of the new image to the src property of the image in the onMouseOver event and set it back to the original image in the onMouseOut event.
D. She should write the location (URL) of the new image to the value property of the image in the onMouseOver event and set it back to the original image in the onMouseUp event.
Answer: C
12. Dan is writing a JavaScript statement to display a message about the movie of the week. Which one of the following strings would NOT be properly interpreted by JavaScript in an alert dialog box?
A. alert("My brother said, ‘I like this movie.’")
B. alert("This week’s movie is my brother’s favorite")
C. alert(’This is my brother’s favorite movie of the week.’)
D. alert("The movie of the week is my brother’s favorite.")
Answer: C
13. Marie is getting an error in the following line of JavaScript code that is attached to a button on a Notes form:
totalAttempts[0] = 1;
How can she add error checking to this code to handle the error?
A. if (isError(totalAttempts[0] = 1)) {
alert ("totalAttempts not defined");
}
B. try {
totalAttempts[0] = 1;
} catch (e) {
alert ("totalAttempts not defined");
}
C. errorHandle messageAlert;
totalAttempts[0] = 1;
messageAlert: alert ("totalAttempts not defined");
D. onError GoTo messageAlert;
totalAttempts[0] = 1;
messageAlert: alert ("totalAttempts not defined");
Answer: B
14. Karl is creating a JavaScript program in the JS Header of a form to input new video releases. Which one of the following comment delimiters would NOT be allowed?
A. //
B. /* and */
C. <!– and –>
D. All of the above are allowed.
Answer: C
15. Inga wants to determine in her JavaScript if the user is using the Notes client or a Web browser. Which one of the following JavaScript properties will give her that information?
A. window.version;
B. navigator.appName;
C. navigator.clientType;
D. You cannot determine this using JavaScript.
Answer: B
16. The following JavaScript code was placed in the onChange event for a listbox:
var frm = document.forms[0];
var sc = frm.SelectedVacation;
var vacation = this;
sc.value = "";
<MISSING CODE>
{
if(vacation.options[i].selected)
{
sc.value = sc.value + vacation.options[i].text = "n";
}
}
Which one of the following is the missing line of code?
A. until (i=0, i> vacation.length, i–)
B. for (i = 0; i < vacation.length; i++)
C. for (i = 0; index < vacation.length; i++)
D. while (i !=0; index < vacation.length; i–)
Answer: B
17. Which one of the following designated lines has incorrect code?
// initialize the variables
secsPerMin = 60; // <LINE A>
var minsPerHour = 60;
var hoursPerDay = 24;
var daysPerYear = 365;
// perform calculations
var secsPerDay = secsPerMin * minsPerHour * hoursPerDay; //<LINE B>
var secsPerYear = secsPerDay * daysPerYear;
document.writeln("<b>There are ");
document.writeln(secsperYear); //<LINE C>
document.writeln(" seconds per year.</b><p>"); //<LINE D>
A. <LINE A>
B. <LINE B>
C. <LINE C>
D. <LINE D>
Answer: C
18. Ann has written the following code in the Submit button onClick event:
if(window.document.forms[0].Email.value="")
{
alert("Please enter an email we can use to reply to your question.");
window.document.forms[0].Email.focus()
} else {
window.document.forms[0].submit()
}
When she runs it, the else statement is never executed. Which one of the following code changes will correct the error?
A. if(Email.value="")
B. if(window.document.forms[0].email.value="")
C. if(window.document.forms[0].Email.value=="")
D. The code is correct. It needs to be moved to the onBlur event of the Email field.
Answer: C
19. The following code will produce a run-time error:
{ // Line 1
path=location.pathname.toLowerCase( ); // Line 2
nsfPos=path.indexOf(".nsf"); // Line 3
path=path.substring(0, nsfpos+5); // Line 4
}
Which one of the lines is incorrect?
A. Line 1
B. Line 2
C. Line 3
D. Line 4
Answer: D
20. Jose has been asked to add a button to his Check Request form that will change the color of the form to red if the user wants to expedite the request. What line of JavaScript code would accomplish this requirement for Jose?
A. bgColor == "red";
B. document.bgColor = "red";
C. forms[0].backgroundColor = "red";
D. document.forms[0].bgColor = "red";
Answer: B
Examsoon
190-753学习资料
Examsoon
190-753题库,不同于Testiinside 190-753、certtinside 190-753、Pass4side190-753、Testking190-753、Pass4sure190-753的题库资料,是全球IT认证资料供应力量,以高科技的仿真效果,完全覆盖各类IT认证考试真题,保证您一次性得到最标准的认证真题测试。
Examsoon 190-753 的优势
1.Examsoon 模拟测试题具有最高的专业技术含量,只供具有相关专业知识的专家和学者学习和研究之用。
2.该测试已取得试题持有者和第三方的授权,我们深信IT业的专业人员和经理人有能力保证被授权产品的质量。
3.如果你使用 Examsoon模拟测试,我们将保证你的第一次参加考试即取得成功,否则,我们将全额退款!
4.提供每种产品免费测试。在您决定购买之前,请检测联接,可能存在的问题及试题质量和适用性。
190-753 考试是 Lotus 公司的 Using JavaScrip IBM Lotus Domino 7 Applications 认证考试官方代号,Examsoon的 190-753 权威考试题库软件是 Lotus 认证厂商的授权产品,Examsoon 绝对保证第一次参加 190-753考试的考生即可顺利通过,否则承诺全额退款!
Using JavaScrip IBM Lotus Domino 7 Applications 认证作为全球IT领域专家 Lotus 热门认证之一,是许多大中IT企业选择人才标准的必备条件。 如果你正在准备 190-753 考试,为 Lotus Using JavaScrip IBM Lotus Domino 7 Applications认证做最后冲刺,又苦于没有绝对权威的考试真题模拟, Examsoon希望能助你成功。
1、Examsoon考题大师190-753试题都是考试原题的完美组合,覆盖率95%以上,答案由多位专业资深讲师原版破解得出,正确率100%,只要您使用本站的考试题库参加190-753 考试,我们保证您一次轻松通过考试;
2、售后服务第一!我们相信要想在当今时代取得成功,必须为广大用户提供全套的周到细致的全程优质售后服务,只有客户满意了,我们才能发展。客户至上是我们Examsoon考题大师的一贯宗旨;
3、Examsoon实行“一次不过全额退款”承诺。如果您购买我们190-753的考题,只要不是首次通过,凭盖有PROMETRIC或VUE考试中心钢印的考试成绩单,我们将退还您购买190-753考题大师的全部费用,绝对保证您的利益不受到任何的损失;
4、本站190-753题库根据190-753考试的变化动态更新,在厂家考题每次发生变化后,我们承诺2天内更新190-753题库。确保190-753考题的覆盖率始终都在95%以上;我们提供2种 190-753 考题大师版本供你选择。
5、软件版本190-753 考试题库
优点:具有学习模式,测试模式,线上自动升级
缺点:仅限固定电脑使用,不可打印为文本,只能PC阅读
6、PDF 格式190-753考试题库
优点:不需下载安装软件,方便用户打印和携带,但也带来了可随意制的弊端,因此我们提醒用户不得随意公开或出售本站的190-753题库,一经发现立即取消其升级资格,且不予退款。
缺点:不具备测试模式,通过查看Examsoon网站及查收我们的更新E-MAIL获取更新信息。