Computer Knowledge

Internet and Web

1,617 Questions

The Internet and Web encompass global networks, web portals, browsers, and online communication tools. This hub provides questions on basic internet concepts, email structures, and web terminology. Strong knowledge here is vital for scoring well in computer awareness sections.

Web browsersEmail conceptsWorld Wide WebWeb portalsInternet terminology

Internet and Web Questions

Multiple choice technology web technology
  1. Use the property called “data” in event Object

  2. Use the property called “payload” in event Object

  3. Create a Custom Event and have your own public variable to hold the data to be passed to the handler

  4. No way to do that.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The standard and most flexible way to pass custom data to an event handler is to create a custom Event class with public properties to hold the data. The base Event object does not have built-in properties like 'data' or 'payload' for arbitrary data. By extending Event and adding your own properties, you can type-safely pass any data needed by the handler.

Multiple choice technology architecture
  1. Multipurpose Internet Message Extensions

  2. Multipurpose Intranet Mail Extensions

  3. Multipurpose Intranet Message Extensions

  4. Multipurpose Internet Mail Extensions

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

MIME stands for Multipurpose Internet Mail Extensions, which extends email to support non-text content like images and audio. Option D is correct with 'Internet' and 'Mail'. Options A and B incorrectly use 'Message' instead of 'Mail'. Options B and C incorrectly use 'Intranet' instead of 'Internet'.

Multiple choice technology
  1. Uniform Resource Locator

  2. Universal Resource locator

  3. Uninterrupted Resource Locator

  4. Unique Resource Locator

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

URL stands for Uniform Resource Locator, which is the address of a specific resource on the internet. It tells your browser exactly where to find a webpage, file, or other online resource. The 'Uniform' part means the format follows consistent standards worldwide.

Multiple choice technology
  1. page, request & session

  2. page, request & application.

  3. page, request, session & application.

  4. request, session & application.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JSP provides four scope options for storing and sharing data: page (default, most limited), request, session, and application (broadest). Page scope only lasts for the current page, request scope lasts for one HTTP request, session scope persists across multiple requests from the same user, and application scope is shared across all users and sessions.

Multiple choice technology
  1. Query length is limited in POST, not limited in GET.

  2. POST is secured whereas data is been submitted as part of URL in GET (not secured).

  3. By using POST method, we cannot submit the form.

  4. none

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

POST is more secure than GET because POST data is sent in the HTTP request body, not visible in the URL. GET appends form data to the URL, making it visible in browser history and server logs, and has length limitations (typically 2048 characters). POST can send much larger data and is the standard method for sensitive information like passwords. Option A incorrectly reverses the length limitations, and Option C is false.

Multiple choice technology
  1. HttpSession

  2. HttpServletResponse

  3. HttpServletRequest

  4. none

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The HttpServletResponse interface provides the getWriter() method, which returns a PrintWriter object for sending character text data to the client. This is the standard way to write response content in servlets. HttpServletRequest (request) handles incoming data, HttpSession manages user sessions, and PrintWriter itself is the class returned, not the source of it. The leading period appears to be a typo but doesn't affect the question.

Multiple choice technology
  1. getAttribute()

  2. getParameter()

  3. getInitParameter()

  4. none

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

getAttribute() retrieves object-level attributes stored in the request scope. This is different from getParameter() which retrieves string form parameters from the query string or POST body, and getInitParameter() which retrieves servlet initialization parameters from web.xml. Attributes are typically set by the application using setAttribute() to share data between components, while parameters come from client requests.

Multiple choice technology
  1. 44

  2. 57

  3. 68

  4. 81

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

At the time of this question's context, approximately 57% of applications in the Android Market were free. This high percentage of free apps was a distinguishing feature of Android compared to iOS App Store, reflecting Android's strategy of rapid app adoption through free applications supported by ads or in-app purchases.

Multiple choice technology
  1. a) Link does not contain Sort Specification Property.

  2. b) Link contains Search Specification Property.

  3. c) Pick Lists do not contain Sort Specification Property.

  4. d) None

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Links do contain Search Specification property (for filtering child records), making option B true. Pick Lists DO have Sort Specification property to control their display order, so option C is false - it's the wrong statement being sought.

Multiple choice technology architecture
  1. Opens a Request to the server.

  2. Returns the value of an HTTP header.

  3. Aborts the HTTP Request.

  4. None of the above.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The send() method actually transmits the HTTP request to the server (with optional data payload). Option A describes open() which initializes the request. Option B describes getResponseHeader() which retrieves header values. Option C describes abort() which cancels the request. Since none of A-B-C correctly describe send(), D is the correct choice.

Multiple choice technology architecture
  1. Sends an HTTP request to the server.

  2. Returns all of the HTTP headers.

  3. Sets the name and value of an HTTP Header.

  4. Opens a request to the server.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The setRequestHeader() method sets a custom HTTP header (name-value pair) that will be sent with the request. It must be called AFTER open() but BEFORE send(). Option A describes send(), Option B describes getAllResponseHeaders(), and Option D describes open().

Multiple choice technology architecture
  1. xmlHttp.responseBody

  2. xmlHttp.readyState.

  3. xmlHttp.statusText.

  4. xmlHttp.responseText.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The responseText property contains the response body from the server as a string. The responseBody property (option A) is not a standard JavaScript XMLHttpRequest property. readyState (option B) indicates the request state (0-4). statusText (option C) contains the status message (e.g., 'OK').

Multiple choice technology
  1. available to many users

  2. used by one person

  3. Both

  4. none of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Shared views are designed to be accessible to multiple users in a system. Unlike personal views that are restricted to a single user's use, shared views can be accessed and utilized by many users simultaneously. This makes them useful for collaborative environments where multiple people need the same data perspective.

Multiple choice technology
  1. "lo"

  2. "hello world"

  3. "mary had a little lamb"

  4. "cyberspace, the final frontier"

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The first ARPANET message was 'LO' - sent in 1969 by Charley Kline attempting to type 'LOGIN', but the system crashed after the first two letters. This became famous as the humble beginning of networked communication.

Multiple choice technology web technology
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The directive <%@ OutputCache Duration="60" %> caches a single version of the page. Without specifying properties like VaryByCustom or VaryByHeader (e.g., User-Agent), mobile devices can receive the cached desktop version of the page. Thus, the statement is false.