Topic MCQs — Web Technologies & .NET
25 questions · DSSSB TGT CS style · Original
Q1. WWW stands for:
- A) World Wide Web
- B) Wide Wireless Wave
- C) Web Writable Widget
- D) Work With Windows Answer: A
Hypertext information system on the Internet.
Q2. HTTPS differs from HTTP mainly by:
- A) Using no ports
- B) Adding encryption via TLS/SSL
- C) Supporting only images
- D) Disabling URLs Answer: B
HTTPS = HTTP over secure channel (port 443).
Q3. Default port for HTTP is commonly:
- A) 21
- B) 80
- C) 25
- D) 3389 Answer: B
HTTP 80; HTTPS 443.
Q4. The HTML tag that sets the browser tab title is:
- A)
<body> - B)
<title> - C)
<h1> - D)
<meta>only always Answer: B<title>inside<head>.
Q5. <a href="..."> creates a:
- A) Table
- B) Hyperlink
- C) Form button only
- D) Inline style sheet Answer: B
Anchor tag for links.
Q6. Which attribute points an <img> to its file/URL?
- A) href
- B) src
- C) action
- D) method Answer: B
srcis the image source;altis alternative text.
Q7. CSS applied via <link rel="stylesheet"> is:
- A) Inline
- B) Internal
- C) External
- D) Binary only Answer: C
External stylesheet file.
Q8. In the CSS box model, outermost among the classic four is:
- A) Content
- B) Padding
- C) Border
- D) Margin Answer: D
content → padding → border → margin.
Q9. JavaScript in the browser can manipulate page structure via the:
- A) DOM
- B) CLR only
- C) PCB
- D) MST Answer: A
Document Object Model.
Q10. XML compared to HTML is mainly for:
- A) Displaying pages with fixed tags only
- B) Describing/storing structured data with custom tags
- C) Replacing TCP
- D) CPU scheduling Answer: B
XML focuses on data; HTML on presentation.
Q11. Cookies are typically stored:
- A) Only in RAM of the web server process forever
- B) On the client browser
- C) Inside CPU registers
- D) In DNS root only Answer: B
Small client-side data; session data often server-side.
Q12. Sessions are generally:
- A) More suitable than raw cookies for sensitive server-tracked state
- B) Impossible on the web
- C) Stored only as JPEG
- D) Identical to CSS files Answer: A
Server holds session; client often keeps session id.
Q13. CLR in .NET stands for:
- A) Common Language Runtime
- B) Computer Local Router
- C) Coded Logic Register
- D) Class Library Resource Answer: A
Execution engine for managed .NET code.
Q14. JIT compiler in .NET:
- A) Converts IL to native code at runtime
- B) Only links HTML
- C) Replaces IIS completely
- D) Draws UML diagrams Answer: A
Just-In-Time compilation of Intermediate Language.
Q15. CTS refers to:
- A) Common Type System
- B) Client Transfer Socket
- C) Cascading Type Sheets
- D) Circular Table Scan Answer: A
Shared type rules across .NET languages.
Q16. IIS is:
- A) A Linux-only kernel module
- B) Microsoft’s web server (Internet Information Services)
- C) A JavaScript framework
- D) An SQL aggregate Answer: B
Common Windows web server for ASP.NET hosting.
Q17. Apache is best known as:
- A) A relational key type
- B) A popular open-source web server
- C) A page-replacement algorithm
- D) A Scrum role Answer: B
Widely used HTTP server software.
Q18. A static web page:
- A) Is generated by server-side code and DB each time necessarily
- B) Returns essentially fixed content as stored
- C) Cannot use HTML
- D) Requires CLR always Answer: B
Same file/content without per-request server computation.
Q19. Dynamic pages are produced when:
- A) Server-side logic/DB builds the response
- B) Only CSS exists
- C) The cable is unplugged
- D) XML is forbidden Answer: A
ASP.NET/PHP/JSP etc. generate output.
Q20. Client–server on the web typically means:
- A) Browser requests; server responds
- B) Only peer Bluetooth
- C) No HTTP
- D) Only batch mainframes without network Answer: A
Classic request/response roles.
Q21. <form method="post"> usually:
- A) Appends data only in the URL bar always
- B) Sends form data in the request body
- C) Deletes the server OS
- D) Is invalid HTML Answer: B
POST places data in body; GET uses query string.
Q22. ASP.NET is:
- A) A Microsoft web application framework on .NET
- B) A Linux file permission mode
- C) An ER diagram symbol
- D) A sorting algorithm Answer: A
Framework for building dynamic web apps.
Q23. Which HTML section contains visible page content?
- A)
<head> - B)
<body> - C)
<title>only - D)
<html>attributes only Answer: B
Body holds rendered content.
Q24. Internal CSS is written:
- A) Only in a separate
.exe - B) Inside
<style>tags (typically in head) - C) Only as HTTP headers
- D) In PCB Answer: B
Internal/embedded stylesheet.
Q25. Managed code in .NET means code that:
- A) Runs under the CLR
- B) Must be written in HTML only
- C) Cannot use types
- D) Avoids JIT forever Answer: A
CLR provides services for managed execution.