100% found this document useful (7 votes)
9K views

Post-Quiz - Attempt Reviewjavascript

The document summarizes the results of a JavaScript quiz taken by Sweta Umrao on September 9, 2021 at 2:32 AM. It indicates that Sweta answered all 8 questions correctly, achieving a score of 8 out of 8 (100%). The document provides feedback congratulating Sweta on passing the quiz with over 80% and also displays the individual questions, answers chosen, and correct answers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (7 votes)
9K views

Post-Quiz - Attempt Reviewjavascript

The document summarizes the results of a JavaScript quiz taken by Sweta Umrao on September 9, 2021 at 2:32 AM. It indicates that Sweta answered all 8 questions correctly, achieving a score of 8 out of 8 (100%). The document provides feedback congratulating Sweta on passing the quiz with over 80% and also displays the individual questions, answers chosen, and correct answers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

9/9/21, 2:32 AM Post-Quiz: Attempt review

 Sweta Umrao .


Dashboard /
Web Technology /
Java Script /
Post-Quiz

Started on Thursday, 9 September 2021, 2:30 AM


State Finished
Completed on Thursday, 9 September 2021, 2:32 AM
Time taken 1 min 54 secs
Marks 8.00/8.00
Grade 100.00 out of 100.00
Feedback
Congratulations!! You have passed by securing more than 80%

Question Choose the correct JavaScript statement which helps you to write "World of JavaScript" in a web page?
1
64304
Select one:
Correct
response.write("World of JavaScript")
Mark 1.00 out of
1.00
System.out.println("World of JavaScript")

document.write("World of JavaScript") 

println ("World of JavaScript")

Your answer is correct.


The correct answer is: document.write("World of JavaScript")

Question Ram is the developer of Allen Software company. He is designing the website for the banking application. There is a button
2
Correct 64304
called 'check interest rates'. When that button is clicked, the user has to be redirected to a seperate page to show the domestic
interest rates.  Help Ram in accomplishing this task using the javascript.

Mark 1.00 out of


1.00
Select one:
page.location

window. reload

window.location 

url.newlocation

Your answer is correct.

64304
The correct answer is: window.location

https://accenturelearning.tekstac.com/2021/mod/quiz/review.php?attempt=4340201&cmid=1281 1/3
9/9/21, 2:32 AM Post-Quiz: Attempt review

 Sweta Umrao .

Question Predict the output of the following JavaScript code:


3 <html>
Correct
<head>
Mark 1.00 out of
1.00 <script>

var txt= "pass 70% fail 30%";

var pattern = /\D/g;

var res= txt.match(pattern);


document.write(res);

</script>

</head>
</html>

Select one:
7,0,%,3,0,%

64304
p,a,s,s, ,%, ,f,a,i,l, ,% 

7,0,3,0

7,0,%, ,3,0,%

Your answer is correct.

The correct answer is: p,a,s,s, ,%, ,f,a,i,l, ,%

Question Polson is allocated with the task of email validation in java script. He needs to extract character by character 
4 and check for email validation like looking for @ . etc. Which method is best suited to extract every character from the text?

64304
Correct

Mark 1.00 out of


1.00
Select one:
characterAt()

charAt() 

getCharAt()

Your answer is correct.

The correct answer is: charAt()

Question
64304
Which of the below is the correct syntax for exectuing some code if "amt" is equal to 5000?
5
Select one:
Correct

Mark 1.00 out of


if (amt equals 5000)
1.00
if (amt == 5000) 

if (amt = 5000)

if (amt === "5000")

Your answer is correct.

The correct answer is: if (amt == 5000)

https://accenturelearning.tekstac.com/2021/mod/quiz/review.php?attempt=4340201&cmid=1281 2/3
9/9/21, 2:32 AM Post-Quiz: Attempt review

 Sweta Umrao .

Question The parseInt() method converts the string to a integer. Before applying this function, Ram wants to know the type of the
6 argument that is passed to the function. Which operator in javascript would support this ?

Correct

Mark 1.00 out of


1.00 Select one:
instanceof

isofType

typeof  

getType

Your answer is correct.


The correct answer is: typeof 

Question Sita wishes to greet the user when the user clicks on "Greet Me" button. In which event does she need to write the javascript
7
64304
code for greeting the user?

Correct
Select one:
Mark 1.00 out of
1.00 onchange

onmouseover

onmouseclick

onclick 

Your answer is correct.

The correct answer is: onclick

Question
8
64304
What is the output of the below code snippet

<script type="text/javascript">
Correct
amt=55+"55";
Mark 1.00 out of
1.00 document.write(amt);
</script>

Select one:
5

110

5555 

64304
Error, No Output.

Your answer is correct.

The correct answer is: 5555

https://accenturelearning.tekstac.com/2021/mod/quiz/review.php?attempt=4340201&cmid=1281 3/3

You might also like