Web Designing Quiz 2
Description: Web Designing Quiz 2 | |
Number of Questions: 15 | |
Created by: Aliensbrain Bot | |
Tags: web-design |
Which of the following is a more efficient alternative to CGI?
-
ISAPI
-
VB Script
-
SGML
-
HTML
-
XML
AI Explanation
To answer this question, you need to understand the concept of CGI (Common Gateway Interface) and its alternatives.
CGI is a protocol that allows web servers to interact with external programs, typically to generate dynamic web content. However, CGI can be inefficient in terms of performance and scalability. Therefore, alternative technologies have been developed to improve efficiency.
Let's go through each option to understand why it is correct or incorrect:
Option A) ISAPI - This option is correct because ISAPI (Internet Server Application Programming Interface) is a Microsoft technology that provides a more efficient alternative to CGI. It allows web servers to directly load and execute DLLs (Dynamic Link Libraries) to process incoming requests, resulting in improved performance.
Option B) VB Script - This option is incorrect. VB Script is a scripting language used for automating tasks within Windows operating systems. It is not a direct alternative to CGI in terms of web application development or server-side processing.
Option C) SGML - This option is incorrect. SGML (Standard Generalized Markup Language) is a markup language used for defining document structures. It is not a technology specifically designed as an alternative to CGI.
Option D) HTML - This option is incorrect. HTML (Hypertext Markup Language) is a markup language used for creating web pages. It is not a server-side technology or an alternative to CGI.
Option E) XML - This option is incorrect. XML (eXtensible Markup Language) is a markup language used for storing and exchanging data. It is not a server-side technology or an alternative to CGI.
The correct answer is A) ISAPI. This option is correct because ISAPI provides a more efficient alternative to CGI for processing incoming web requests.
An applet that runs on the server side is known as a _____
-
CGI
-
Server Script
-
Server side processor
-
Servlet
-
Java Server Script
AI Explanation
To answer this question, you need to understand the concept of server-side programming.
Server-side programming refers to the process of running code on the server to generate dynamic web content. It involves using server-side technologies to process and respond to client requests.
Let's go through each option to understand why it is correct or incorrect:
Option A) CGI (Common Gateway Interface) - CGI is a standard protocol that allows web servers to execute external programs or scripts to generate dynamic web content. While it is a server-side technology, it is not specifically an applet. Therefore, this option is incorrect.
Option B) Server Script - This option is a general term that could refer to any server-side script or program. It is not specific to applets, so this option is incorrect.
Option C) Server-side processor - This option is a general term that could refer to any server-side program or component that processes requests on the server. It is not specific to applets, so this option is incorrect.
Option D) Servlet - A servlet is a Java class that runs on the server-side to handle client requests and generate dynamic web content. Servlets are specifically designed for server-side processing of web applications. This option is correct.
Option E) Java Server Script - This option seems to be a combination of Java and a server-side scripting language. However, there is no specific technology called "Java Server Script". It is likely a mix-up of Java Server Pages (JSP) or JavaServer Faces (JSF) with server-side scripting. This option is incorrect.
The correct answer is D) Servlet. Servlets are applets that run on the server side to handle client requests and generate dynamic web content.
A CLUT is also known as a _____
-
None of the choices.
-
graphic tablet
-
VGA table
-
palette
-
color index
AI Explanation
To answer this question, you need to understand the concept of color lookup tables (CLUTs).
A CLUT, also known as a palette, is a table that stores a set of predefined colors. Each color in the CLUT is assigned a specific index value, which can be used to reference that color in an image or graphic. By using a CLUT, the number of unique colors in an image can be reduced, which helps to conserve memory and improve rendering performance.
Let's go through each option to understand why it is correct or incorrect:
Option A) None of the choices - This option is incorrect because a CLUT is known by other names. Option B) Graphic tablet - This option is incorrect because a graphic tablet is a separate input device used for drawing or sketching, and it is not related to CLUTs. Option C) VGA table - This option is incorrect because VGA stands for Video Graphics Array, which is a type of display standard and it is not directly related to CLUTs. Option D) Palette - This option is correct. A CLUT is also known as a palette because it stores a set of predefined colors. Option E) Color index - This option is incorrect because a color index refers to the specific index value assigned to each color in a CLUT, but it is not another name for a CLUT itself.
The correct answer is D) Palette. This option is correct because a CLUT is also known as a palette, as it stores a set of predefined colors.
Which of the following are the attributes that can be used with the APPLET tag ?
-
CODE
-
ALIGN
-
ALT
-
CODEBASE
-
All of the above
Using inline styles on a page with multiple overlapping styles is being referred to as:
-
DHTML
-
SGML
-
CSS
-
XHTML
AI Explanation
To answer this question, you need to understand the concept of inline styles and how they interact with other styles on a webpage.
Option A) DHTML - This option is incorrect because DHTML (Dynamic HTML) refers to a combination of HTML, CSS, and JavaScript used to create dynamic and interactive webpages. It does not specifically refer to the use of inline styles.
Option B) SGML - This option is incorrect because SGML (Standard Generalized Markup Language) is a markup language used for defining the structure and content of documents. It is the parent language of HTML and XML, but it does not specifically refer to the use of inline styles.
Option C) CSS - This option is correct because using inline styles on a webpage with multiple overlapping styles is referred to as CSS (Cascading Style Sheets). Inline styles are styles applied directly to individual HTML elements using the "style" attribute. Inline styles have the highest specificity and will override any external or internal styles.
Option D) XHTML - This option is incorrect because XHTML (Extensible Hypertext Markup Language) is a stricter and more XML-compliant version of HTML. It does not specifically refer to the use of inline styles.
The correct answer is C) CSS. This option is correct because using inline styles is referred to as CSS, where styles are applied directly to HTML elements using the "style" attribute.
You use HTTP-EQUIV together with ____________ to cache a page to the Browser's folder on the hard drive.
-
CACHE
-
SET
-
SIZE
-
PRAGMA
AI Explanation
To answer this question, you need to understand the purpose of the HTTP-EQUIV attribute and how it is used in caching a page to the browser's folder on the hard drive.
The correct answer is:
D. PRAGMA
This option is correct because the PRAGMA directive, used in combination with the HTTP-EQUIV attribute, can be used to control the caching behavior of a web page. The PRAGMA directive provides instructions to the browser on how to handle caching.
By using the HTTP-EQUIV attribute with the value "PRAGMA", you can specify caching instructions for the browser. For example, you can use the following meta tag to instruct the browser to cache the page:
In this case, the "CACHE" value tells the browser to cache the page to the browser's folder on the hard drive. This means that subsequent requests for the same page can be served from the cache, reducing the need for the browser to download the page again.
Therefore, the correct answer is D. PRAGMA.
What view in Microsoft FrontPage would you use if you wanted to view all the pages in your web site in a tree structure?
-
Folders View
-
All Files View
-
Task View
-
Themes View
-
Navigation View
AI Explanation
To answer this question, you need to have knowledge of the different views available in Microsoft FrontPage.
Option A) Folders View - This option is incorrect because Folders View displays the folder structure of your website, not the pages in a tree structure.
Option B) All Files View - This option is incorrect because All Files View displays all the files in your website, not the pages in a tree structure.
Option C) Task View - This option is incorrect because Task View displays the tasks and actions associated with the current page, not the pages in a tree structure.
Option D) Themes View - This option is incorrect because Themes View allows you to choose and apply a theme to your website, not view the pages in a tree structure.
Option E) Navigation View - This option is correct because Navigation View in Microsoft FrontPage allows you to view all the pages in your web site in a tree structure. It provides a hierarchical representation of the pages, allowing you to easily navigate and manage your website's structure.
Therefore, the correct answer is option E) Navigation View. This option is correct because it provides a tree structure view of all the pages in your web site.
Your company wants to be able to give the customers only, access to the inventory as well as place orders over the internet. What type of Web site would this be considered?
-
Externet
-
Internet
-
Intranet
-
Extranet
When using the ISINDEX tag, how do you override the default message?
-
you cannot do this
-
use the ASK attribute
-
use the MESSAGE attribute
-
use the PROMPT attribute
AI Explanation
To answer this question, you need to understand how the ISINDEX tag works.
The ISINDEX tag was used in older versions of HTML to create a simple search form. By default, when the ISINDEX tag is used, it displays a prompt message asking the user to enter their search query.
To override the default message in the ISINDEX tag, you can use the PROMPT attribute.
Option A) you cannot do this - This option is incorrect because it is possible to override the default message in the ISINDEX tag. Option B) use the ASK attribute - This option is incorrect because there is no ASK attribute in the ISINDEX tag. Option C) use the MESSAGE attribute - This option is incorrect because there is no MESSAGE attribute in the ISINDEX tag. Option D) use the PROMPT attribute - This option is correct. The PROMPT attribute allows you to override the default message in the ISINDEX tag.
The correct answer is D.
Higher-end (24-bit) monitors are capable of displaying how many colors?
-
17,000
-
170,000
-
17,000,000
AI Explanation
To answer this question, we need to understand the concept of color depth in monitors.
Color depth refers to the number of distinct colors that can be represented on a display. It is measured in bits, and each bit represents a binary value (0 or 1).
A 24-bit monitor is capable of displaying 24 bits per pixel. Since each bit can have two possible values (0 or 1), a 24-bit monitor can represent 2^24 different combinations of bits.
Therefore, a 24-bit monitor is capable of displaying 2^24 = 16,777,216 different colors.
The correct answer is C) 17,000,000. This option is correct because a higher-end 24-bit monitor is capable of displaying approximately 16.8 million colors.
Navigation within a website is important. Which best defines how a navigation system be setup?
-
There is no standard. Navigation is dependent upon the web designer.
-
It should be consistent throughout the site as far as appearance and functionality. It should also be compatible with all browsers.
-
Make it complex so the visitor will try to figure out what to do.
AI Explanation
To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) There is no standard. Navigation is dependent upon the web designer. This option is incorrect because while there may not be a fixed standard for navigation, there are established best practices and principles that web designers follow to create effective navigation systems.
Option B) It should be consistent throughout the site as far as appearance and functionality. It should also be compatible with all browsers. This option is correct because a well-designed navigation system should maintain consistency in terms of appearance and functionality across all pages of the website. This helps users quickly understand how to navigate and find the information they need. Additionally, it should be compatible with all browsers to ensure a seamless experience for all users.
Option C) Make it complex so the visitor will try to figure out what to do. This option is incorrect because a complex navigation system can confuse and frustrate visitors. The goal of a navigation system is to make it easy for users to find the content they are looking for, not to intentionally make it difficult for them.
The correct answer is Option B. This option is correct because it emphasizes the importance of consistency in appearance and functionality throughout the site, as well as compatibility with all browsers. Following these guidelines helps create a user-friendly and accessible navigation system.
During the user testing phase of development, testers should always be take from:
-
The most experienced technical personnel employed by the company.
-
The general public.
-
Users already familiar with the application.
-
Users unfamiliar with the application.
To choose the correct option, the user needs to understand the purpose and importance of user testing during the development cycle of any software application. User testing is necessary to ensure that the application meets the user's requirements and expectations and identifies any bugs that need to be fixed before release.
Option A is incorrect since selecting the most experienced technical personnel may not provide the necessary feedback for the application's usability and accessibility to non-technical users.
Option B is also incorrect because while the general public may provide a wide range of feedback, they may not be the ideal target audience for the application.
Option C may provide valuable feedback, but it may not be sufficient in identifying issues that may arise with new users.
Option D is the correct answer since users unfamiliar with the application can provide valuable feedback on the application's usability, accessibility, and overall user experience.
Therefore, the correct answer is:
The Answer is: D. Users unfamiliar with the application.
Which of the following is NOT true of navigation?
-
A good navigation plan should include shortcuts.
-
Common navigational schemes include the items: FAQ, Search, About, and Site Map.
-
The visitor should not have to click more than 3 times to reach a desired page.
-
Icons and logos should be avoided in navigational structures because graphic files increase download times.
AI Explanation
To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) A good navigation plan should include shortcuts - This option is incorrect. A good navigation plan may include shortcuts to help users quickly access important pages or sections of a website.
Option B) Common navigational schemes include the items: FAQ, Search, About, and Site Map - This option is correct. Common navigational schemes often include these items, as they help users find information and navigate the website effectively.
Option C) The visitor should not have to click more than 3 times to reach a desired page - This option is correct. It is generally recommended that a visitor should be able to reach their desired page within three clicks. This helps improve user experience and efficiency.
Option D) Icons and logos should be avoided in navigational structures because graphic files increase download times - This option is incorrect. Icons and logos can be used in navigational structures to enhance the visual appeal and improve usability. However, it is important to optimize the file sizes of graphics to minimize download times.
The correct answer is D. This option is incorrect because icons and logos can be used in navigational structures, and it is possible to optimize their file sizes to minimize download times.
Which statement best describes cookies?
-
Sent by the server to all clients.
-
Sent by the server in response to a client request.
-
Sent by the client and stored on the server after the client user has signed a digital certificate.
-
Received by a client immediately after an e-commerce transaction is completed.
To answer this question, the user needs to have knowledge about cookies.
A cookie is a small file that a server sends to a client in response to a client's request. The cookie is stored on the client's device and is sent back to the server with subsequent requests. Therefore, the correct option is:
The Answer is: B. Sent by the server in response to a client request.
FTP and SSL are protocols which operate on port numbers:
-
21 and 443 respectively.
-
21 and 444 respectively.
-
23 and 443 respectively.
-
443 and 21 respectively.
AI Explanation
To answer this question, we need to understand the protocols FTP and SSL, as well as the port numbers they operate on.
FTP (File Transfer Protocol) is a standard network protocol used for transferring files between a client and a server on a computer network. It operates on port number 21.
SSL (Secure Sockets Layer) is a protocol for establishing encrypted links between web servers and browsers. It is commonly used to secure online transactions and data transfer. SSL operates on port number 443.
Now let's go through each option to determine the correct answer:
Option A) 21 and 443 respectively - This option is correct. FTP operates on port number 21, and SSL operates on port number 443.
Option B) 21 and 444 respectively - This option is incorrect. FTP operates on port number 21, but SSL operates on port number 443, not 444.
Option C) 23 and 443 respectively - This option is incorrect. FTP operates on port number 21, not 23. SSL operates on port number 443, not 23.
Option D) 443 and 21 respectively - This option is incorrect. FTP operates on port number 21, not 443. SSL operates on port number 443, not 21.
The correct answer is option A. FTP operates on port number 21, and SSL operates on port number 443.