Which part of a dynamic web page decides what happens when a user clicks a button?
MCQs — Programming Fundamentals
Practice questions for Computer Science.
In a simple dynamic page, which part creates the headings, paragraphs and buttons?
In a simple dynamic page, which part sets the colours, fonts and layout?
Which of the following pages is dynamic?
In which order are the parts of a simple dynamic web page usually built?
What happens if the JavaScript part is removed from a dynamic page?
Ali wants a red centred heading and a button that shows a message when clicked. Which parts does he need?
A student's page shows a button, but nothing happens when it is clicked. Which part should be checked first?
In the code , what happens when the button is clicked?
What will this code do? alert("Welcome");
🎯 How to get the most out of these questions
- Attempt each question before revealing the answer.
- Read the explanation even when you answered correctly — it reinforces the concept.
- Note down any question you got wrong and revisit it the next day.
- Use the pagination below the list to work through every page — do not stop at page 1.
📌 MCQs — FAQs
Are the answers in this section verified?
Yes — every answer on this page has been verified. MCQs also include explanations where available.
Can I print these questions?
Yes — use your browser's print option (Ctrl+P / Cmd+P) to print or save the page as PDF.
How often are questions updated?
New questions are added regularly. If a paper pattern changes, existing questions are reviewed and updated.