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
-
Type of computer
-
A Java program that is run through a web browser
-
An interactive website
-
A type of fruit
B
Correct answer
Explanation
An applet is a small Java program designed to run within a web browser as part of an HTML page. Applets were a key feature of Java in the late 1990s for bringing dynamic content to the web before modern JavaScript frameworks. They execute in a sandboxed JVM on the client side.
-
Session hijacking
-
Phishing
-
Pharming
-
MAC spoofing
C
Correct answer
Explanation
Pharming is an attack that redirects users to fake websites by compromising DNS settings or poisoning DNS caches, unlike phishing which requires clicking a link. Option C is correct. Session hijacking (A) steals user sessions, phishing (B) uses deceptive links, and MAC spoofing (D) forges hardware addresses.
B
Correct answer
Explanation
Lynx is a classic text-based web browser that runs in terminal environments. It allows users to navigate and read web content without any graphical interface, making it useful for remote systems or accessibility needs. It's been a staple Unix utility since the early days of the web.
-
browser.name
-
navigator.appName
-
client.navName
-
All the above
B
Correct answer
Explanation
The navigator object provides browser information via navigator.appName. Option B is correct. Options A and C reference non-existent objects (browser, client), and option D claims all are correct which is false.
-
getFlashVersion()
-
getVersion()
-
getLatestVersion()
-
None of the above
B
Correct answer
Explanation
The getVersion() function in ActionScript returns a string containing Flash Player version and platform information. This includes details like the operating system (WIN, MAC, UNIX) and the Flash Player version number. There is no function named getFlashVersion() or getLatestVersion() in standard ActionScript.
-
HttpServletRequest
-
HttpServletResponse
-
ServletRequest
-
ServletResponse
B
Correct answer
Explanation
sendError() and sendStatus() are methods of HttpServletResponse that send HTTP error responses and status codes to the client. HttpServletRequest handles request data, while ServletRequest and ServletResponse are generic interfaces that HttpServlet extends.
-
The World Wide Web Consortium
-
Microsoft
-
Mozilla
-
Sun Microsystems
A
Correct answer
Explanation
The World Wide Web Consortium (W3C) is the international standards organization that develops and maintains web standards including HTML, CSS, and HTTP specifications. Microsoft, Mozilla, and Sun Microsystems are companies that implement these standards but do not create them.
-
<mail href="xxx@yyy">
-
<a href="xxx@yyy">
-
<mail>xxx@yyy</mail>
-
<a href="mailto:xxx@yyy">
D
Correct answer
Explanation
To create a clickable e‑mail link you must use the <a> element with a mailto: URI scheme, e.g. </a><a href="mailto:xxx@yyy">. The other tags either do not exist in HTML or lack the required scheme, so the stored answer is correct.
-
Online
-
Offline
-
Private
-
Public
B
Correct answer
Explanation
Standalone utilities in DB2 are also known as offline utilities because they must be run when the subsystem is not active. They operate directly on data sets outside of DB2 control. Online utilities run while DB2 is active. 'Private' and 'Public' are not standard classifications.
-
A request is sent with the HTTP method HEAD.
-
A request is sent with the HTTP method POST.
-
A request is sent with the HTTP method GET.
-
The parameter fullName is the only parameter passed to the web server in the request URL.
-
The parameters fullName and sbmButton are passed to the web server in the request URL.
-
The parameter fullName is the only parameter passed to the web server as part of the request body.
C,F
Correct answer
Explanation
HTML forms without a method attribute default to GET (option C). The form data is sent in the request body for GET requests (option F). Options A, B, D, E are incorrect: GET (not HEAD or POST) is used, and both fullName and sbmButton parameters are sent in the body, not URL. The question asks which statements are true - options C and F correctly describe the default GET behavior and parameter passing.
-
request
-
page
-
session
-
All the above
D
Correct answer
Explanation
The jsp:useBean action supports four scope values: page (default, current page only), request (current request), session (user session), and application (entire web app). All listed options are valid scopes.
-
scriptlets
-
declarations
-
implicit objects
-
expressions
C
Correct answer
Explanation
In JSP, implicit objects (also called predefined variables) are automatically available to JSP pages without declaration. These include request, response, session, application, out, config, page, and pageContext. They are called 'implicit' because the container creates them automatically - developers don't need to declare or instantiate them.
-
map.initializeMap("maps","center");
-
map.createMapContainer(new google.maps.centerLatLng("1","-120"))
-
GMapApi.static.Initialize();
-
map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
D
Correct answer
Explanation
The setCenter method is required immediately after creating a map using the Google Maps constructor to specify the map's center point and zoom level. Without this, the map would not know where to focus. Options A, B, and C either use incorrect method names or improper syntax.
-
Declare cookie variables
-
Store data in cookie variable
-
Enable or disable cookie support
-
All of the above
B
Correct answer
Explanation
The setcookie() function in PHP sends a cookie to the browser, storing data in a cookie variable that will be sent back with subsequent requests. It does not declare variables (that's just variable assignment) nor does it enable/disable cookie support (that's controlled by browser settings).