HTML Form Elements
40 Questions
2 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

Which one of these is a feature of web servers?

  • Document Root (correct)
  • Multitasking operating system
  • Binary called httpd
  • ServerRoot
  • Which web server was the top web server but no longer dominates #1?

  • Microsoft IIS
  • Oracle Glassfish
  • Apache (correct)
  • NGINX
  • Which type of authentication is supported by all HTTP servers?

  • Digest authentication
  • OAuth authentication
  • Token-based authentication
  • Basic authentication (correct)
  • Which server-side component can be used for executing scripts?

    <p>CGI Scripting</p> Signup and view all the answers

    What is the purpose of defining the location of the server root?

    <p>To specify the location of the server</p> Signup and view all the answers

    Which port number is typically used for HTTP?

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

    What is the origin of the name 'Apache'?

    <p>A set of PAtCHEs to NCSA’s httpd</p> Signup and view all the answers

    Which operating systems is Apache available for?

    <p>Windows, Solaris, Linux, macOS</p> Signup and view all the answers

    Which version of HTTP does Apache implement?

    <p>HTTP/2</p> Signup and view all the answers

    Are there any GUI tools available for configuring Apache?

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

    Which of the following is a characteristic of web server farms?

    <p>They eliminate single points of failure</p> Signup and view all the answers

    Which company is NOT a major cloud service provider?

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

    What is Amazon Elastic Compute Cloud (EC2) used for?

    <p>Creating and running virtual machines in the cloud</p> Signup and view all the answers

    How many Elastic IPv4 addresses are accounts limited to per region on Amazon EC2?

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

    Which CSS property value is inherited by child elements from their parent element?

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

    Which pseudo class selects a link when the user mouses over it?

    <p>:hover</p> Signup and view all the answers

    Which JavaScript system runs on web browsers?

    <p>client-side JavaScript</p> Signup and view all the answers

    Which method reverses the order of elements in an array?

    <p>reverse()</p> Signup and view all the answers

    Which web browser uses the WebKit software component?

    <p>Google Chrome</p> Signup and view all the answers

    Which layout engine is used by the Firefox web browser?

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

    Who is credited with inventing the World Wide Web?

    <p>Tim Berners-Lee</p> Signup and view all the answers

    Which HTML version was developed around 1990?

    <p>HTML 1</p> Signup and view all the answers

    Which protocol is used by web servers to execute programs and return the output to a client's web browser?

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

    What is the purpose of a FIELDSET element in HTML forms?

    <p>To group form elements together</p> Signup and view all the answers

    What are the two major categories of CGI environment variables?

    <p>Non-request specific and request specific</p> Signup and view all the answers

    Which server directive is used by CGI scripts to inform the server about the type of output?

    <p>Content-type</p> Signup and view all the answers

    According to the text, what is the purpose of the Same-Origin Policy in web browsers?

    <p>To prevent potentially malicious interactions between websites of different origins</p> Signup and view all the answers

    Which of the following is a disadvantage of JSON compared to XML?

    <p>No validator - Every application is responsible for validating its inputs</p> Signup and view all the answers

    What is the difference between JSON and JSONP?

    <p>JSONP allows specifying a callback function as an input argument of the call itself</p> Signup and view all the answers

    Which JavaScript function should be used instead of eval() to parse JSON?

    <p>JSON.parse()</p> Signup and view all the answers

    Which web server is currently ranked as the number one web server?

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

    Which port number is typically used for secure HTTP (HTTPS)?

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

    What is the purpose of the 'Document Root' in a web server?

    <p>It is the location of the tree of files that the web server can deliver.</p> Signup and view all the answers

    What is the main function of a proxy server in a web server?

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

    Which operating systems is the Apache web server available for?

    <p>Windows, Solaris, Linux, and macOS</p> Signup and view all the answers

    What is the origin of the name 'Apache' for the web server?

    <p>It is an acronym for 'A set of PAtCHEs to NCSA’s httpd'.</p> Signup and view all the answers

    Which of the following is NOT a characteristic of Python variables?

    <p>Variables are statically typed</p> Signup and view all the answers

    Which of the following is a correct way to concatenate a string and an integer in Python?

    <p>sum = str(5) + '10'</p> Signup and view all the answers

    Which of the following is a correct way to define a function in Python?

    <p>def foo(arg_1, arg_2): return arg_1 * arg_2</p> Signup and view all the answers

    Which of the following is NOT true about the Document Object Model (DOM)?

    <p>It is a programming language</p> Signup and view all the answers

    Study Notes

    Web Servers and HTTP

    • A feature of web servers is the ability to execute scripts using a server-side component.
    • The top web server that no longer dominates the #1 spot is Apache.
    • All HTTP servers support Basic Authentication.

    Apache Web Server

    • Apache is available on multiple operating systems.
    • The origin of the name 'Apache' comes from the fact that the server is "a patchy" collection of code.
    • Apache implements HTTP/1.1.
    • There are GUI tools available for configuring Apache.

    Web Server Farms

    • A characteristic of web server farms is that they use multiple servers to increase scalability and reliability.

    Cloud Services

    • Amazon Elastic Compute Cloud (EC2) is used for scalable computing capacity in the cloud.
    • Accounts are limited to 5 Elastic IPv4 addresses per region on Amazon EC2.
    • Amazon is a major cloud service provider.

    HTML, CSS, and JavaScript

    • The CSS property value 'inherit' is inherited by child elements from their parent element.
    • The pseudo class ':hover' selects a link when the user mouses over it.
    • JavaScript is executed on web browsers.
    • The method that reverses the order of elements in an array is 'reverse()'.
    • WebKit is a software component used by the Safari web browser.
    • Gecko is the layout engine used by the Firefox web browser.

    Web History and Fundamentals

    • Tim Berners-Lee is credited with inventing the World Wide Web.
    • HTML 1.0 was developed around 1990.
    • The Common Gateway Interface (CGI) protocol is used by web servers to execute programs and return the output to a client's web browser.
    • The FIELDSET element in HTML forms is used to group form elements together.
    • The two major categories of CGI environment variables are HTTP headers and CGI-specific variables.
    • The 'Content-Type' server directive is used by CGI scripts to inform the server about the type of output.

    Security and JSON

    • The Same-Origin Policy in web browsers is used to prevent a web page from making requests to a different origin.
    • A disadvantage of JSON compared to XML is that JSON does not support comments.
    • JSONP (JSON with Padding) is a workaround for the Same-Origin Policy by adding a padding of JavaScript code.
    • The 'JSON.parse()' function should be used instead of 'eval()' to parse JSON.

    Miscellaneous

    • The 'Document Root' in a web server is the root directory of a website.
    • The main function of a proxy server in a web server is to act as an intermediary between a client and a server.
    • Port 80 is typically used for HTTP, and port 443 is typically used for secure HTTP (HTTPS).

    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 of HTML form elements with this quiz! Learn about the syntax and attributes of the select tag and how to group form elements using the fieldset element.

    More Like This

    Web Servers Quiz
    22 questions

    Web Servers Quiz

    InstructiveCalcite avatar
    InstructiveCalcite
    Basic Components of the Web
    40 questions
    Introduction to Web Systems
    16 questions
    Use Quizgecko on...
    Browser
    Browser