Back to Dashboard

Web Technology

Complete Subject Question Bank

Subject Overview
Study basic web components, HTML structure, CSS styling selectors, JavaScript scripting, DOM events, and jQuery interactions.
Web Technology#1

Consider the below webpage: Which of the following is used to do this ?

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#2

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

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#3

Ram has designed a portal with 'like' and 'unlike' image buttons that redirect to 'thanks.html'. Which HTML code correctly implements this?

A
<form action="thanks.html"> <input type="submit" src="like.jpg"/> <input type="submit" src="unlike.jpg"/> </form>
B
<form action="thanks.html"> <input type="image" src="like.jpg" alt="submit"/> <input type="image" src="unlike.jpg" alt="submit"/> </form>
C
<form action="thanks.html"> <img href="like.jpg" value="submit"/> <img href="unlike.jpg" value="submit"/> </form>
D
<form action="thanks.html"> <input type="submit"> <img src="like.jpg"/> <img src="unlike.jpg"/> </input> </form>

This question has been retained as-is due to its unique context.

Web Technology#4

HTML stands for __________

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#5

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

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#6

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

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#7

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

A
write("World of JavaScript")
B
System.out.println("World of JavaScript")
C
document.write("World of JavaScript")
D
println("World of JavaScript")

This question has been retained as-is due to its unique context.

Web Technology#8

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

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#9

Polson needs to extract every character from a text string for email validation. Which JavaScript method is best suited?

A
characterAt()
B
charAt()
C
getCharAt()
D
charCodeAt()

This question has been retained as-is due to its unique context.

Web Technology#10

Ram's banking website has a 'Check Interest Rates' button that should redirect users to a separate page. Which JavaScript code accomplishes this?

A
location.href = "url"
B
url.newlocation
C
window.redirect("url")
D
document.location("url")

This question has been retained as-is due to its unique context.

Web Technology#11

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> </html>

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#12

What is the output of the below code snippet <script type="text/javascript"> amt=55+"55"; document.write(amt); </script>

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#13

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 ?

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#14

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

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#15

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?

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#16

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

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#17

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

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#18

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?

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#19

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

A
True
B
False

This question has been retained as-is due to its unique context.

Web Technology#20

Rhita wants to replace jQuery's $(document).ready(fun) with an equivalent shorter method.

A
$(fun)
B
#(fun)
C
There is no equivalent function for the given code
D
jQury(fun)

This question has been retained as-is due to its unique context.

Key Topics to Study

Based on our question bank analysis, master these concepts to score high in Web Technology.

HTMLCSSJavaScriptjQueryFormScriptDOMSubmit