What is the difference between a static and a dynamic web page? MCQ with Answer and Explanation

What is the difference between a static and a dynamic web page?
A. Static pages use JavaScript, dynamic pages use HTML
B. Static pages are only for mobile, dynamic for desktop
C. Static pages are pre-built, dynamic pages are generated on the fly
D. Static pages are faster, dynamic pages are slower
Answer: Option C
Solution (By JKExamLibrary)
Static web pages are delivered exactly as stored, while dynamic pages are generated by server-side scripts based on user interactions or data.

This question belongs to: Computer Internet and Web Technologies

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1 Report Error
Which of the following is a common method to prevent clickjacking?
A. X-Frame-Options header
B. Both A and B
C. SameSite cookie attribute
D. Content-Security-Policy with frame-ancestors

Correct Answer: Option B


Explanation:
Both X-Frame-Options and CSP's frame-ancestors directive can be used to control iframe embedding, preventing clickjacking.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
What is the purpose of the 'rel' attribute in an HTML tag?
A. To specify the MIME type
B. To set the media type
C. To provide an alternate URL
D. To define the relationship between the current document and the linked resource

Correct Answer: Option D


Explanation:
The rel attribute specifies the relationship (e.g., stylesheet, icon, preconnect) between the current page and the linked resource.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
What mechanism does a web server implement to gracefully instruct a browser that an old web resource has changed its location permanently to a new URL address asset?
A. Setting a temporary session tracking cookie inside memory
B. Issuing a general 500 Internal Error crash notification alert
C. Altering the local computer DNS router configurations
D. Issuing an HTTP 301 Moved Permanently response code with the new location header

Correct Answer: Option D


Explanation:
An HTTP 301 redirect informs browsers and search engines that a page has permanently relocated, prompting them to update their links and pass SEO ranking history to the new URL.

This question belongs to: Computer Internet and Web Technologies