FBISE, NCP & NBF-aligned resources for Classes 9–12

/13

Computer Chapter 3 : Topic 3.3

JavaScript & HTML

1 / 13

A student wants a button click to change the heading text displayed on a webpage without reloading the page. Which aspect of HTML can JavaScript modify?

2 / 13

A web developer uses JavaScript to replace an image with another image when a user moves the mouse over it. Which HTML aspect is being modified?

3 / 13

A webpage hides a paragraph when a user clicks a button and shows it again when clicked a second time. Which HTML aspect is being changed?

4 / 13

A student creates a script that changes the background color of a webpage based on user selection. What is JavaScript modifying?

5 / 13

A form displays an error message when a required field is left empty. Which HTML aspect is JavaScript most likely changing?

6 / 13

A website allows users to enlarge or reduce text size using buttons. Which aspect of HTML is being modified?

7 / 13

A programmer adds a new list item to an existing HTML list when a user submits data. What capability of JavaScript is being demonstrated?

8 / 13

A button changes its label from "Login" to "Logout" after successful authentication. Which aspect of HTML is changed?

9 / 13

A student uses JavaScript to disable a submit button until all required fields are completed. Which HTML aspect is modified?

10 / 13

A webpage displays additional information only after a user clicks "Read More." Which HTML feature is JavaScript primarily controlling?

11 / 13

A developer changes the hyperlink destination of a button based on user selection. Which HTML aspect is being modified?

12 / 13

A shopping website updates the number of items displayed in the cart immediately after a product is added. Which aspect of HTML is most likely changed?

13 / 13

A programmer uses JavaScript to add a new paragraph to a webpage after a user presses a button. What does this demonstrate?

Your score is

0%

9th class objective books