WEB Technology Multiple Choice Questions Answers designed to test your knowledge of the fundamental principles and concepts that underlie the world of web development and design. Whether you’re a beginner looking to solidify your understanding or a seasoned professional aiming to stay sharp, these MCQs cover a wide range of topics, from HTML and CSS to web technologies and best practices. Challenge yourself and expand your expertise in the dynamic and ever-evolving field of web fundamentals with these thought-provoking questions.These MCQs will help students in university exams,competitive exams and interviews preparation.
1. Which of the following is true for HTML?
- Browser displays only body part
- Browser displays only header part
- Browser displays body and header both
- None of the above
A browser does not display only the body part of an HTML document. The browser renders the entire HTML document, including the head and body sections.
The head section of an HTML document contains metadata, such as the title of the page, linked stylesheets, JavaScript references, and other important information that does not directly affect the visible content on the page.
The body section of an HTML document contains the actual content that is displayed in the browser window. It includes elements like headings, paragraphs, images, links, forms, and other visible elements.
Both the head and body sections are necessary for a complete and well-formed HTML document. The browser interprets and renders the entire HTML document, taking into account both the head and body sections to display the webpage as intended.
2. URL includes
- Protocol type
- Path of web resource
- Domain Name and Port Number
- All of above
A URL (Uniform Resource Locator) typically includes several components that specify the location and access method of a resource on the web.
Learn more about : What is URL ?What are the first part of a URL?
3. Which of the following software is not a web server?
- Apache
- Internet Information Services (IIS)
- Mongoose
- Python
Python is a popular high-level programming language known for its simplicity, readability, and versatility.
Here is a list of different web server software:
1. Apache HTTP Server (Apache)
2. Nginx
3. Microsoft Internet Information Services (IIS)
4. LiteSpeed Web Server
5. Google Web Server (GWS)
6. Caddy
7. lighttpd
8. Cherokee
9. Abyss Web Server
10. Hiawatha
11. Node.js (with appropriate modules)
12. IBM HTTP Server (IHS)
13. Oracle HTTP Server
14. Sun Java System Web Server (Sun ONE/iPlanet)
15. Gunicorn
16. Tornado Server
Please note that this is not an exhaustive list, and there are other web server software options available as well.
Learn more about : What is Web Server? what are the names of different web server?
4. In HTML, colour code #FF7F3F represents a color in which intensity levels of primary colors are
- Red = 255, Green = 127 and Blue = 63
- Blue = 255, Green = 127 and Red = 63
- Green = 255, Blue = 127 and Red = 63
- Invalid color code
In HTML, the color code #FF7F3F represents a color where the intensity levels of primary colors are as follows:
- Red: The intensity level is at its maximum, represented by FF in hexadecimal format. It indicates a fully saturated red color.
- Green: The intensity level is at a medium level, represented by 7F in hexadecimal format. It indicates a partially saturated green color.
- Blue: The intensity level is at a low level, represented by 3F in hexadecimal format. It indicates a partially saturated blue color.
Therefore, the color represented by the code #FF7F3F is an orange color, with a high intensity of red, a medium intensity of green, and a low intensity of blue.
5. In Internet communication, ‘‘cookie’’ is used for
- storing authentication information at server side for entire session
- storing authentication information at client side for entire session
- detecting intrusion at client side for entire session
- detecting intrusion at server side for entire session
In Internet communication, the term "cookie" is used to refer to a small piece of data that is sent from a website to a user's browser and stored on their device. Cookies are commonly used to store information about the user's browsing activity, preferences, and interactions with a website.
Learn more about : What is cookie in Internet communication? what are The main purposes of cookies?
6. Which of the following is not system software?
- WinZip
- Compiler
- Virtual Machine
- YACC
WinZip is a popular file compression and archive utility software for Windows. It allows users to compress files and folders into smaller, more manageable packages, often referred to as "ZIP files." These ZIP files can be easily shared, transferred, and stored.
Learn more about : What is WinZip?
7. Which of the following E-commerce model is also a part of E-governance?
- B2B
- G2C
- B2C
- C2C
G2C stands for "Government-to-Citizen." It is a term used to describe the relationship and interactions between government entities or agencies and individual citizens or residents of a country. G2C refers to the provision of government services, information, and transactions directly to citizens through various digital platforms and channels.
Learn more about : What is G2C?
8. Match the following terms:
- 1-c, 2-d, 3-b, 4-a
- 1-c, 2-a, 3-b, 4-d
- 1-d, 2-c, 3-a, 4-b
- 1-d, 2-b, 3-a, 4-c
9. A cross-compiler is a
- compiler for object oriented languages
- compiler for JAVA written in C
- compiler that can generate machine codes for other platform
- compiler for non-procedural languages
A cross-compiler is a type of compiler that runs on one platform or architecture (the host platform) and generates executable code for a different platform or architecture (the target platform). It allows developers to write and compile code on one system and produce executable files that can run on a different system or architecture.
Learn more about : What is cross-compiler ?
10. Basic XML can be described as:
- A hierarchical structure of tagged elements, attributes and text.
- All the HTML tags plus a set of new XML only tags.
- Object-oriented structure of rows and columns.
- Processing instructions (PIs) for text data.
Basic XML can be described as a markup language that uses tags to structure and define data elements in a hierarchical format. XML stands for "eXtensible Markup Language" and is designed to be both human-readable and machine-readable.
In basic XML, the data is enclosed within opening and closing tags. The opening tag starts with a less-than symbol ("<") followed by the tag name, and the closing tag starts with a less-than symbol ("/") followed by the tag name. The data or content between the opening and closing tags represents the value or information associated with that element.
For example, a basic XML structure might look like this:
```xml <book> <title>Harry Potter and the Philosopher's Stone</title> <author>J.K. Rowling</author> <year>1997</year> </book> ```
In this example, the "book" element is the root element, and it contains child elements such as "title," "author," and "year." The text within the opening and closing tags represents the data associated with each element.
XML also allows the use of attributes within the opening tags to provide additional information about the elements. Attributes are specified with a name-value pair and are used to provide metadata or additional details about the element.
Basic XML provides a flexible and standardized way to structure and exchange data between different systems or platforms. It is commonly used in various domains, including web development, data exchange, configuration files, and data representation.