0% found this document useful (0 votes)
2K views3 pages

Javascript Post Quiz

Yogesh Shantaram Daundkar completed a post-quiz on web technology and JavaScript on July 12, 2021, taking 1 minute and 1 second to complete the 8 multiple choice questions. He answered all questions correctly, securing full marks of 8 out of 8 and a grade of 100% out of 100. The feedback congratulated him on passing the quiz by securing over 80%.

Uploaded by

Aashay Parekh
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
0% found this document useful (0 votes)
2K views3 pages

Javascript Post Quiz

Yogesh Shantaram Daundkar completed a post-quiz on web technology and JavaScript on July 12, 2021, taking 1 minute and 1 second to complete the 8 multiple choice questions. He answered all questions correctly, securing full marks of 8 out of 8 and a grade of 100% out of 100. The feedback congratulated him on passing the quiz by securing over 80%.

Uploaded by

Aashay Parekh
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

 Yogesh Shantaram Daundkar .


Dashboard /
Web Technology /
Java Script /
Post-Quiz

Started on Monday, 12 July 2021, 10:07 AM


State Finished
Completed on Monday, 12 July 2021, 10:08 AM
Time taken 1 min 1 sec
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
Select one:
Correct
println ("World of JavaScript")
Mark 1.00 out of
1.00
response.write("World of JavaScript")

document.write("World of JavaScript") 

System.out.println("World of JavaScript")

Your answer is correct.


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

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

Mark 1.00 out of


1.00
Select one:
characterAt()

getCharAt()

charAt() 

Your answer is correct.

The correct answer is: charAt()

Question Which of the below is the correct syntax for exectuing some code if "amt" is equal to 5000?

3
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)


 Yogesh Shantaram Daundkar .

Question Predict the output of the following JavaScript code:


4 <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,%

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 Sita wishes to greet the user when the user clicks on "Greet Me" button. In which event does she need to write the javascript
5 code for greeting the user?

44910
Correct
Select one:
Mark 1.00 out of
1.00 onchange

onclick 

onmouseclick

onmouseover

Your answer is correct.


The correct answer is: onclick

Question Ram is the developer of Allen Software company. He is designing the website for the banking application. There is a button
6 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.
Correct

Mark 1.00 out of


1.00

Select one:
url.newlocation

window.location 

page.location

window. reload

Your answer is correct.

The correct answer is: window.location


 Yogesh Shantaram Daundkar .

Question What is the output of the below code snippet


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

</script>

Select one:
110

5555 

Error, No Output.

Your answer is correct.

The correct answer is: 5555

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

Correct

Mark 1.00 out of


1.00 Select one:
isofType

getType

instanceof

typeof  

44910
Your answer is correct.

The correct answer is: typeof 

You might also like