Web Technologies Quiz
63 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Name 2 types of firewalls.

  • Hardware firewalls and Software firewalls (correct)
  • Application firewalls and Network firewalls (correct)
  • Packet filtering firewalls and Proxy firewalls
  • Firewall and Antivirus
  • What is RSVP protocol used for?

    Resource Reservation Protocol (RSVP) is a network protocol used for reserving resources, such as bandwidth, in a network.

    What is FTP?

    File Transfer Protocol (FTP) is a standard network protocol used to transfer files between computers on a network.

    What is the full form of XML?

    <p>Extensible Markup Language</p> Signup and view all the answers

    How to do single line comment in PHP?

    <p>// comment</p> Signup and view all the answers

    What are the advantages of IPv6 over IPv4?

    <p>IPv6 offers a larger address space, improved security features, simplified network management, and better support for mobile devices.</p> Signup and view all the answers

    How you define list in HTML? What is src and alt attribute in HTML?

    <p>In HTML, lists are defined using <code>&lt;ul&gt;</code> for unordered lists and <code>&lt;ol&gt;</code> for ordered lists. The <code>src</code> attribute specifies the source of an image, while the <code>alt</code> attribute provides alternative text for the image, which is displayed if the image cannot be loaded.</p> Signup and view all the answers

    What is IP addressing? What are the classes of IP addressing? What is the difference between static and dynamic IPs?

    <p>IP addressing is the system used to assign unique addresses to devices on a network. The major classes of IP addressing are Class A, Class B, and Class C. A static IP address is a permanent address assigned to a device, while a dynamic IP address is assigned by a DHCP server and can change over time.</p> Signup and view all the answers

    What is a marquee? How do you create text on a webpage that will allow you to send an email when clicked?

    <p>A marquee is an HTML element used to create scrolling text. To create a clickable email link, you can use the <code>&lt;a&gt;</code> tag with the <code>href</code> attribute set to the email address. For example: <code>&lt;a href='mailto:[email protected]'&gt;[email protected]&lt;/a&gt;</code>.</p> Signup and view all the answers

    What if there is no text between the tags or if a text was omitted by mistake? Will it affect the display of the HTML file? Give an example. Does a hyperlink apply to text only?

    <p>Yes, the display will be affected. For example, if you have a heading tag like <code>&lt;h1/&gt;</code> without any text between it, it won't render correctly. A hyperlink can be applied to text, images, and even other HTML elements.</p> Signup and view all the answers

    What are the functions of Data Link layer in OSI model?

    <p>The Data Link layer is responsible for error detection and correction and physical addressing.</p> Signup and view all the answers

    What is the difference between HTTP and HTTPS?

    <p>HTTP is a standard protocol used for transferring files over the internet, while HTTPS is a secure version of HTTP that encrypts data transmission.</p> Signup and view all the answers

    What is the main difference between PHP 4 and PHP 5?

    <p>PHP 5 introduced object-oriented programming features and improved performance</p> Signup and view all the answers

    What is the role of FTP?

    <p>FTP allows the transfer of files between computers over a network.</p> Signup and view all the answers

    Is multiple inheritance supported in PHP?

    <p>False</p> Signup and view all the answers

    What are the functions to be used to get the image's properties (size, width, and height)?

    <p>The <code>getimagesize()</code> function can be used to get the size, width, and height of an image.</p> Signup and view all the answers

    What is the main difference between require() and require_once()?

    <p>The <code>require()</code> function includes a file. If the file is already included, it will still be included again. The <code>require_once()</code> function includes a file and only includes it once throughout the script execution.</p> Signup and view all the answers

    What is the difference between a block-level element and an inline element? Explain with examples.

    <p>A block-level element occupies a full line and can contain other block-level elements, while an inline element does not take up a full line and can be embedded within other elements. For example, <code>&lt;div&gt;</code> is a block-level element, while <code>&lt;span&gt;</code> is an inline element.</p> Signup and view all the answers

    What is the purpose of <tr>, <th>, and <td> in HTML?

    <p>The <code>&lt;tr&gt;</code> tag defines a row in a table, <code>&lt;th&gt;</code> defines a header cell, and <code>&lt;td&gt;</code> defines a data cell.</p> Signup and view all the answers

    Which tag is used to define preformatted text?

    <pre> Signup and view all the answers

    What are trusted networks?

    <p>Trusted networks are networks that are considered secure and reliable, often within an organization's internal network.</p> Signup and view all the answers

    Full form of HTTP

    <p>Hypertext Transfer Protocol</p> Signup and view all the answers

    Name any 2 JavaScript frameworks?

    <p>React and Angular</p> Signup and view all the answers

    What is Piggybacking?

    <p>Piggybacking is an eavesdropping attack where an attacker intercepts communication between two parties, steals data packets, and inserts their own data packets into the communication flow.</p> Signup and view all the answers

    RTP Stands for

    <p>Real-time Transport Protocol</p> Signup and view all the answers

    What is the use of <div> tags?

    <div> tags are used to divide a webpage into sections or logical groups. They are used to create containers for other HTML elements, providing structure and organization to webpages. Signup and view all the answers

    What is the ‘this’ keyword in JavaScript?

    <p>The ‘this’ keyword refers to the current object. It is used to access properties and methods of the current object.</p> Signup and view all the answers

    What is the syntax of <img> tag?

    <img src='image_source' alt='alternative_text' /> Signup and view all the answers

    Define congestion.

    <p>Congestion occurs when a network becomes overloaded with traffic, resulting in delays and potentially dropped packets.</p> Signup and view all the answers

    What is a domain name?

    <p>A domain name is a human-readable address for a website, like google.com.</p> Signup and view all the answers

    What is DMZ and what are its benefits?

    <p>A DMZ (Demilitarized Zone) is a small network segment that acts as a buffer between an internal network and the external internet. It provides a secure way to host public services, like web servers, while protecting the internal network from external threats.</p> Signup and view all the answers

    Explain the structure of HTML document, including the purpose and usage of the <html>, <head>, and <body> elements?

    <p>An HTML document is structured using <code>&lt;html&gt;</code>, <code>&lt;head&gt;</code>, and <code>&lt;body&gt;</code> elements. The <code>&lt;html&gt;</code> element is the root of the document. The <code>&lt;head&gt;</code> element contains metadata about the page, such as title and links to stylesheets. The <code>&lt;body&gt;</code> element contains the content of the webpage that will be displayed in the browser.</p> Signup and view all the answers

    Explain three types of CSS with example.

    <p>The three main types of CSS are inline styles, embedded stylesheets, and external stylesheets. Inline styles are applied directly within the HTML element as <code>style='...'</code>. Embedded stylesheets are included in the <code>&lt;head&gt;</code> of the HTML document using the <code>&lt;style&gt;</code> tag. External stylesheets are separate files with a <code>.css</code> extension linked to the HTML document using the <code>&lt;link&gt;</code> tag.</p> Signup and view all the answers

    What is metadata and how does it work?

    <p>Metadata is data about data. It provides information about a file, such as its creation date, author, file size, format, or other details. Metadata enables effective management and organization of digital content, making it easier to find, categorize, and manage files.</p> Signup and view all the answers

    Compare Intranet, Extranet and Internet with help of sketch.

    <p>An intranet is a private network within an organization, accessible only to employees or authorized users, while an extranet is a network extending the organization's intranet to authorized external users, such as customers or suppliers. The internet is a global public network accessible to anyone.</p> Signup and view all the answers

    Explain the concept of IPTV.

    <p>IPTV (Internet Protocol Television) is a technology that delivers television programming over the internet instead of through traditional cable or satellite networks.</p> Signup and view all the answers

    Discuss IP Security?

    <p>IP Security (IPsec) is a suite of protocols used to provide secure communications over an IP network, ensuring data confidentiality, integrity, and authentication through encryption and other security mechanisms.</p> Signup and view all the answers

    What is password policy?

    <p>A password policy defines rules and guidelines for creating, storing, and managing passwords within an organization to ensure their strength, security, and prevent unauthorized access.</p> Signup and view all the answers

    What is Biometric authentication?

    <p>Biometric authentication uses unique biological traits like fingerprints, facial recognition, or iris scans for user identification and verification.</p> Signup and view all the answers

    What are the advantages and disadvantages of using CSS in XHTML?

    <p>Advantages: easier to maintain, separate presentation from content, reusable styles, control over layout and design, faster loading times. Disadvantages: can be complex to write, may require additional development time, browser compatibility issues.</p> Signup and view all the answers

    Create the following form using HTML form components.

    <p>The provided text is incomplete. I cannot answer the question fully without seeing the visual form, which includes labels, input fields, buttons, and other HTML elements.</p> Signup and view all the answers

    What is the difference between IPv4 and IPv6 addressing?

    <p>IPv4 uses 32-bit addresses, while IPv6 uses 128-bit addresses. IPv6 offers a much larger address space, improved security features, and simplified network management.</p> Signup and view all the answers

    What is Email? What are the components of E-Mail System on the Internet?

    <p>Email is a digital messaging system used for sending and receiving messages over a network, typically the internet. The main components of an email system include a mail server, a mail client, and a mail protocol that allows users to send and receive email messages.</p> Signup and view all the answers

    Briefly discuss the five major steps of Link State Routing.

    <p>The five major steps in link-state routing include 1) Discovering the network topology, 2) Calculating shortest path routes, 3) Creating a link-state packet, 4) Flooding the link-state packet, and 5) Maintaining the routing table. Link state routing is a dynamic routing protocol used for efficient network routing based on detailed knowledge of the topology of the network.</p> Signup and view all the answers

    Write a short explanation of NAT.

    <p>NAT (Network Address Translation) is a technique used to translate IP addresses on a private network to public IP addresses. This method enables multiple devices on a private network to share a single public IP address, which is useful for conserving IP addresses and enhancing security.</p> Signup and view all the answers

    OSPF divided an autonomous system into areas. What is OSPF? What do you mean by autonomous system? With a block diagram, list the different type of areas and special routers of an autonomous system.

    <p>OSPF (Open Shortest Path First) is a link-state routing protocol commonly used on the internet. It uses a comprehensive understanding of the network topology, including its connections and links, to determine the optimal routes for data transmission. An autonomous system (AS) is a collection of networks that share the same routing policy. It is usually a collection of geographically isolated networks, which may belong to a single organization or to a group of organizations with a close relationship.</p> Signup and view all the answers

    Which of the following layers is responsible for establishing, managing, and terminating connections in the OSI model?

    <p>Session Layer</p> Signup and view all the answers

    RTP is primarily used for file transfer between hosts.

    <p>False</p> Signup and view all the answers

    What is the purpose of a VPN?

    <p>To create a secure connection over a public network.</p> Signup and view all the answers

    The default port number for HTTP is __________.

    <p>80</p> Signup and view all the answers

    Match the following HTML elements with their descriptions:

    <p><marquee> = Scrolling text effect <img> = Image embedding <a> = Hyperlink</p> <form> = User input collection Signup and view all the answers

    Which of the following is NOT a benefit of using IPv6 over IPv4?

    <p>Increased number of broadcast addressing</p> Signup and view all the answers

    A URL is synonymous with an IP address.

    <p>False</p> Signup and view all the answers

    Name one key advantage of using HTTPS over HTTP.

    <p>Data encryption.</p> Signup and view all the answers

    What does a domain name represent?

    <p>A human-readable address for a website</p> Signup and view all the answers

    Match the following HTML tags with their functions:

    <tr> = Defines a table row <th> = Defines a header cell in a table <td> = Defines a standard cell in a table <div> = Groups block elements for styling Signup and view all the answers

    What are the primary differences between static and dynamic websites?

    <p>Static websites display the same content for every user, while dynamic websites can generate different content based on user interaction or other factors.</p> Signup and view all the answers

    HTML elements are defined using _____ tags.

    <p>opening and closing</p> Signup and view all the answers

    What does metadata refer to in the context of web technology?

    <p>Metadata is data that provides information about other data; in web technology, it describes the content of web pages.</p> Signup and view all the answers

    What is the primary use of PHP?

    <p>Server-side scripting for web applications</p> Signup and view all the answers

    IPTV stands for Internet Protocol Television.

    <p>True</p> Signup and view all the answers

    The src attribute in an HTML <img> tag specifies the alternative text.

    <p>False</p> Signup and view all the answers

    Signup and view all the answers

    Study Notes

    Group A - Very Short Answer Type Questions

    • Answer ten of the following questions
    • Name two types of firewalls
    • Describe RSVP protocol's use
    • Define FTP
    • Explain XML
    • Single-line comments in PHP
    • Define VPN
    • XML comments
    • PHP loops
    • Difference between gateway and firewall
    • RTP use
    • HTTP port number
    • PHP sessions

    Group B - Short Answer Type Questions

    • Answer three of the following questions
    • IPv6 advantages over IPv4
    • HTML list definition
    • HTML src and alt attributes
    • Marquee definition
    • Email sending tags
    • Missing text in HTML tags
    • Dynamic IP behavior

    Group C - Long Answer Type Questions

    • Answer three of the following questions
    • Data Link layer functions in OSI model
    • Difference between HTTP and HTTPS
    • PHP 4 vs PHP 5
    • FTP role
    • PHP multiple inheritance
    • PHP require() vs require_once()
    • HTML block-level and inline elements
    • Finding image properties
    • Hyperlink creation in HTML
    • Static vs dynamic websites
    • PHP variables
    • PHP uses
    • Domain name definition
    • URL definition
    • IPTV explanation
    • Metadata function

    Additional Questions (Page 2)

    • Domain name definition
    • URL definition
    • IPTV explanation
    • Metadata function

    Additional Questions (Page 3)

    • Tags used for preformatted text
    • DNS definition (Domain Name System)
    • Trusted networks (Secure networks)
    • LAN definition (Local Area Network)
    • HTTP definition (Hypertext Transfer Protocol)
    • JavaScript frameworks
    • Piggybacking definition (Data transmission technique)
    • RTP definition (Real-time Transport Protocol)
    • Image tag syntax (e.g., <img src="image.jpg">)
    • Div tag use (Div elements for structuring web pages)
    • Congestion definition (Network overload)

    Additional Questions (Page 3) (Group B)

    • Intranet, extranet, and internet comparison
    • HTML document structure (e.g., <html>, <head>, <body>)
    • DMZ and benefits (Demilitarized Zone - a network security concept)
    • HTML table design (e.g., tables, rows, and cells)

    Additional Questions (Page 3) (Group C)

    • OSPF autonomous system (Open Shortest Path First - an internet routing protocol)
    • Link State Routing steps (An algorithm for routers to learn about routes)
    • NAT explanation (Network Address Translation)
    • IPv4 vs IPv6 addressing (Comparison of versions of IP addresses)
    • Email system components (Client, server, protocols, etc.)

    Additional Questions (Page 4)

    • CSS types and examples (e.g., inline, embedded, external)
    • CSS advantages and disadvantages in XHTML (Pros and cons of using CSS)
    • Password policy definition (Rules for passwords)
    • Biometric authentication (Using biometric data for security)
    • IP Security discussion (IPSec - a method for secure communication)

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    Test your knowledge on various web technologies with this comprehensive quiz. Covering topics like firewalls, protocols, PHP functions, and HTML elements, the quiz is divided into short and long answer sections for a thorough evaluation of your understanding. Perfect for students and professionals in the field of web development.

    More Like This

    Use Quizgecko on...
    Browser
    Browser