100% found this document useful (1 vote)
4K views20 pages

Web Tech Quizzes

The document describes a quiz taken on HTML and JavaScript. It provides details of 5 questions from an HTML quiz and 1 question from a JavaScript quiz. The quiz results show the student answered all HTML questions correctly but was incorrect on the single JavaScript question, receiving a grade of 83.33%

Uploaded by

mehul7977225663
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 (1 vote)
4K views20 pages

Web Tech Quizzes

The document describes a quiz taken on HTML and JavaScript. It provides details of 5 questions from an HTML quiz and 1 question from a JavaScript quiz. The quiz results show the student answered all HTML questions correctly but was incorrect on the single JavaScript question, receiving a grade of 83.33%

Uploaded by

mehul7977225663
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/ 20

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Web Technologies / HTML

Quiz review
Started on Friday, 19 January 2024, 3:39 PM
State Finished
Completed on Friday, 19 January 2024, 3:42 PM
Time taken 2 mins 48 secs
Marks 4.00/4.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

HTML stands for __________ 45573


Select one:
Hybrid Text Markup Language

Hot Mail

Hot Markup Language

Hyper Text Markup Language

Your answer is correct.

45573
The correct answer is: Hyper Text Markup Language

Question 2
Correct

Mark 1.00 out of 1.00

An application that lets you search and see material on the internet is

Select one:

Webpage

Browser

Homepage
45573
Website

Your answer is correct.


The correct answer is: Browser


Question 3
Correct

Mark 1.00 out of 1.00

Which of the following is/are the new feature(s) of HTML5?

Select one or more:

Performs Client-Side validation

Supports offline Storage

Enhanced comment lines

Browser automatically provide space before and after the tag <p>

Your answer is correct.

The correct answers are: Performs Client-Side validation, Supports offline Storage

Question 4
Correct
45573
Mark 1.00 out of 1.00

Which element is a container for all the head elements, and may include the document title, scripts, styles, meta information, and more?

Select one:
<head></head>

<br></br>

<body></body>

<title></title> 45573
Your answer is correct.
The correct answer is: <head></head>

◄ Why HTML 5? - Intro Video

Jump to...

45573 HTML Mod 1 ►



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Web Technologies / HTML

Quiz review
Started on Friday, 19 January 2024, 11:45 PM
State Finished
Completed on Friday, 19 January 2024, 11:47 PM
Time taken 2 mins 15 secs
Marks 5.00/5.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Ram has designed a portal that fetches the citizens' feedback regarding the voting process in India. The portal allows the end user to
choose either 'like' image or 'unlike' image, so that it gets redirected to a page : "thanks.html".

Select one:
<form action="thanks.html">

<input type="submit" src="like.jpg"/>

<input type="submit" src="unlike.jpg"/>

</form>

<form action="thanks.html"> 

<input type="image" src="like.jpg" alt="submit"/>

45573
<input type="image" src="unlike.jpg" alt="submit"/>

</form>

<form action="thanks.html">

<input type="submit">

<img src="like.jpg"/>

<img src="unlike.jpg"/>

</input>

</form>

<form action="thanks.html">
<img href="like.jpg" value="submit"/>

<img href="unlike.jpg" value="submit"/>


45573
</form>

Your answer is correct.

The correct answer is: <form action="thanks.html">


<input type="image" src="like.jpg" alt="submit"/>
<input type="image" src="unlike.jpg" alt="submit"/>
</form>


Question 2
Correct

Mark 1.00 out of 1.00

Consider the below webpage:

Which of the following is used to do this ?

Select one:

<input type="date" id="date" name="date" list="holidays"> 

<datalist id="holidays">
<option label="Republic Day">2017-01-26</option>

45573
<option label="May Day">2017-05-01</option>

<option label="Independence Day">2017-08-15</option>

</datalist>

<input type="date" id="date" min="2017-01-26" max="2017-08-15">

<input type="date" id="date" name="date" list="holidays">

<select id="holidays">

<option label="Republic Day">2017-01-26</option>

<option label="May Day">2017-05-01</option>

<option label="Independence Day">2017-08-15</option>

</select>

<select type="date">
45573
<option label="Republic Day">2017-01-26</option>

<option label="May Day">2017-05-01</option>

<option label="Independence Day">2017-08-15</option>

</select>

Your answer is correct.

The correct answer is: <input type="date" id="date" name="date" list="holidays">


<datalist id="holidays">
<option label="Republic Day">2017-01-26</option>
<option label="May Day">2017-05-01</option>
45573
<option label="Independence Day">2017-08-15</option>
</datalist>


Question 3
Correct

Mark 1.00 out of 1.00

If the phone number should accept only 10 digit numbers, which of the following options will suit?

Select one:

<input type="text" pattern="[0-9]{10}"/>

<input type="number" min="0" max="9" />

<input type="text" min="0" max="9" />

<input type="number" pattern="[0-9]{10}"/>

Your answer is correct.

The correct answer is: <input type="text" pattern="[0-9]{10}"/>

Question 4
Correct
45573
Mark 1.00 out of 1.00

Choose the relavant HTML input type attributes.

Loan tenure range 

PANNO text 

Email-id email 

MobileNo

Webaddress
tel 
45573
URL 

Marital Status radio 

Your answer is correct.

The correct answer is: Loan tenure → range, PANNO → text, Email-id → email, MobileNo → tel, Webaddress → URL, Marital Status → radio

45573


Question 5
Correct

Mark 1.00 out of 1.00

In the web page, we have a field called phoneno and inside this textbox field, the text : "Only numbers are allowed" must appear. This
should get disappeared automatically once we type the phoneno into it. Which of the below options will suit the given scenario?

Select one or more:

<input type="text" placeholder="Only numbers are allowed">

<input type="text" value="Only numbers are allowed">

<input type="tel" value="Only numbers are allowed">

<input type="tel" default="Only numbers are allowed">

<input type="tel" placeholder="Only numbers are allowed">

Your answer is correct.

45573
The correct answers are: <input type="text" placeholder="Only numbers are allowed">, <input type="tel" placeholder="Only numbers are allowed">

◄ Forever Event Management

Jump to...

Library Books Form - HTML Debug ►

45573

45573



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Web Technologies / JavaScript

Quiz review
Started on Friday, 19 January 2024, 11:48 PM
State Finished
Completed on Friday, 19 January 2024, 11:49 PM
Time taken 1 min 10 secs
Marks 5.00/6.00
Grade 83.33 out of 100.00
Feedback
Congratulations!! You have passed by securing more than 80%

Question 1
Incorrect

Mark 0.00 out of 1.00


45573
Which of the below statements are used to comment a line in JavaScript file?

Select one:
// this is a comment

// this is a comment //

<!-- this is a comment -->

/* this is a comment */ 

Your answer is incorrect.


45573
The correct answer is: // this is a comment

Question 2
Correct

Mark 1.00 out of 1.00

Which of the below java script code helps to change the content of the paragraph tag dynamically?

<p id="pid1">Aim Higher.. Sky is your limit

Select one:
45573
document.getElementByName("p").innerHTML = "Never give up!!";

document.getElementById("pid1").innerHTML = "Never give up!!";

#demo.innerHTML = "Never give up!!";

document.getElement("p").innerHTML = "Never give up!!";

Your answer is correct.


The correct answer is: document.getElementById("pid1").innerHTML = "Never give up!!";
Question 3
Correct

Mark 1.00 out of 1.00

David, a beginner in web development trying to perform one particular operation using client side JavaScript. Choose the correct
option(s) that he can't be done with client-side JavaScript?

Select one:
Send a form's contents by email

Validate a form

Store the form's contents to a database file on the server

Display the alert box to the user

Your answer is correct.


The correct answer is: Store the form's contents to a database file on the server

Question 4
45573
Correct

Mark 1.00 out of 1.00

When you want to enclose; some JavaScript statements to an HTML file, which is the correct tag you have to use?

Select one:

<BODY>

<STYLE>

<SCRIPT>

<HEAD>
45573
Your answer is correct.
The correct answer is: <SCRIPT>

Question 5
Correct

Mark 1.00 out of 1.00

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

Select one:

onmouseover

onchange

onclick

onmouseclick

Your answer is correct.

The correct answer is: onclick


Question 6
Correct

Mark 1.00 out of 1.00

When a user views a page containing a JavaScript program, which machine actually executes the script?

Select one:

The User's machine running a Web browser

The Web server

Database Server

A central machine deep within Netscape's corporate offices

Your answer is correct.

The correct answer is: The User's machine running a Web browser

◄ Why JavaScript - Video


45573
Jump to...

Javascript_Module1 ►

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Web Technologies / JavaScript

Quiz review
Started on Saturday, 20 January 2024, 10:45 AM
State Finished
Completed on Saturday, 20 January 2024, 10:50 AM
Time taken 5 mins 4 secs
Marks 7.00/7.00
Grade 100.00 out of 100.00
Feedback
Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00


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

Select one:
if (amt = 5000)

if (amt equals 5000)

if (amt === "5000")

if (amt == 5000)

Your answer is correct.


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

45573
Question 2
Correct

Mark 1.00 out of 1.00

Predict the output of the following JavaScript code:

<html>

<head>

<script>

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

var pattern = /\D/g;

var res= txt.match(pattern);

document.write(res);

</script>

</head>

45573
</html>

Select one:

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

7,0,%,3,0,%

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

7,0,3,0

Your answer is correct.

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


45573
Question 3
Correct

Mark 1.00 out of 1.00

What is the output of the below code snippet

<script type="text/javascript">

amt=55+"55";

document.write(amt);

</script> 45573
Select one:

Error, No Output.

5555

110

Your answer is correct.


The correct answer is: 5555
Question 4
Correct

Mark 1.00 out of 1.00

Polson is allocated with the task of email validation in java script. He needs to extract character by character

and check for email validation like looking for @ . etc. Which method is best suited to extract every character from the text?

Select one:

characterAt()

getCharAt()

charAt()

Your answer is correct.

The correct answer is: charAt()

Question 5
45573
Correct

Mark 1.00 out of 1.00

Choose the correct JavaScript statement which helps you to write "World of JavaScript" in a web page?

Select one:

println ("World of JavaScript")

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

45573
response.write("World of JavaScript")

document.write("World of JavaScript")

Your answer is correct.

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

45573
Question 6
Correct

Mark 1.00 out of 1.00

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

Select one:
page.location

window.location

window. reload

url.newlocation

Your answer is correct.

45573
The correct answer is: window.location

Question 7
Correct

Mark 1.00 out of 1.00

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

45573
Select one:

instanceof

getType

typeof 

isofType

Your answer is correct.

The correct answer is: typeof

◄ Concert Ticket Booking


45573
Jump to...

Aqua Fish Stall - Js Debug ►



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Web Technologies / JQuery

Quiz review
Started on Monday, 29 January 2024, 4:47 PM
State Finished
Completed on Monday, 29 January 2024, 4:49 PM
Time taken 2 mins 26 secs
Marks 5.00/5.00
Grade 100.00 out of 100.00
Feedback
Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00


45573
Which of the following is most appropriate tag in html 5 to divide the document into logical document groups?

Select one:
<span></span>

<div></div>

<group></group>

<section></section>

Your answer is correct.


The correct answer is: <section></section>
45573
Question 2
Correct

Mark 1.00 out of 1.00

When referencing an HTML element using jQuery preceded by a ‘ # ‘ , what JavaScript function is this equivalent to?

Select one:

45573
getElementByClassName

getElementByTagName

getElement

getElementById

Your answer is correct.

The correct answer is: getElementById


Question 3
Correct

Mark 1.00 out of 1.00

If you want to change the color of a link to red when moving mouse pointer on top of it, which CSS property you need to change?

Select one:
a:moved{color: red; }

link:visited{ color: red; }

a:hover{ color: red; }

a{ color: red; }

Your answer is correct.


The correct answer is: a:hover{ color: red; }

45573
Question 4
Correct

Mark 1.00 out of 1.00

Which of the following is/are true about HTML?

Select one or more:


Some of the tags are self closing while some of the tags must be explicitly closed in HTML5

Browser does not throw any error even if we have mistaken in the HTML syntax

HTML is case sensitive

Your answer is correct. 45573


The correct answers are: Some of the tags are self closing while some of the tags must be explicitly closed in HTML5, Browser does not throw any error
even if we have mistaken in the HTML syntax

Question 5
Correct

Mark 1.00 out of 1.00

The following elements are the new elements in HTML 5. These elements are called _____________

Select one:

Multimedia elements
45573
Graphic elements

Control elements

Semantic elements

Your answer is correct.


The correct answer is: Semantic elements

◄ Introduction to JQuery - Video


Jump to...

JQuery_Mod_1 ►

45573

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Web Technologies / JQuery

Quiz review
Started on Saturday, 20 January 2024, 11:03 AM
State Finished
Completed on Saturday, 20 January 2024, 11:04 AM
Time taken 1 min 28 secs
Marks 8.00/8.00
Grade 100.00 out of 100.00
Feedback
Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00


45573
Some people don’t want animation to interfere with their web page experience. What do I do if I want to let a user turn off the animation?

Select one:

Not possible to turn off the animation by the user

Use the jquery method:stop()

Use the jquery method:stop.animation()

Your answer is correct.


45573
The correct answer is: Use the jquery method:stop()

Question 2
Correct

Mark 1.00 out of 1.00

John wants to animate (moving effect) an element in the webpage he designed. For this, he set its CSS position property to its default

45573
value and applied the animations. If there is no syntax error in the code, what would be output he gets?

Select one or more:


Animation failed because the CSS position property set to Fixed

Animation failed because the CSS position property set to default value

Run the webpage successfully with animated elements

Animation failed because the CSS position property set to static

Your answer is correct.


The correct answers are: Animation failed because the CSS position property set to default value, Animation failed because the CSS position property set to
static
Question 3
Correct

Mark 1.00 out of 1.00

jQuery is a JavaScript Object Notation library

Select one:
True

False

Your answer is correct.


The correct answer is: False

Question 4
Correct

Mark 1.00 out of 1.00

45573
$("#name").remove(); This will remove the text field when you click on the button. State true or false.

Select one:
True

Fasle

The correct answer is: True

45573

45573
Question 5
Correct

Mark 1.00 out of 1.00

Kiran wants to remove all the child nodes from the given div element. Help him to select the correct option to remove all the child node
from the div element.

<body>

<div>

This is some text

<h2>Good morning</h2>

<p>This is a paragraph inside the div.</p>

</div>

<p>This is a paragraph outside the div.</p>

</body>

Select one:

remove( expr )
45573
delete()

empty()

None of the above

Your answer is correct.

The correct answer is: empty()

Question 6
45573
Correct

Mark 1.00 out of 1.00

Rhita wants to replace a jQuery code '$(document).ready(fun)' using another equivalent method. Help her to find the correct method
from the given options.

Select one:

$(fun)

45573
jQury(fun)

There is no equivalent function for the given code

#(fun)

Your answer is correct.

The correct answer is: $(fun)


Question 7
Correct

Mark 1.00 out of 1.00

Bind an event handler to the "blur" JavaScript event on an element.

Select one:
.blur()

.blurOn()

.focus()

.blurElement()

The correct answer is: .blur()

Question 8

45573
Correct

Mark 1.00 out of 1.00

Raju wants to remove an event handler that was attached with on() function.Help him to select the correct option.

Select one:

delete()

empty()

change()

45573
off()

Your answer is correct.


The correct answer is: off()

◄ Customer Data - Events

Jump to...

45573
JQuery Events Log - Code Debugging ►

You might also like