1.
HTML stands for:
Correct Answer
C. Hypertext Markup Language
Explanation
HTML stands for Hypertext Markup Language. It is a standard markup language used for creating web pages and applications. HTML uses tags to structure the content and define the layout of a web page. It allows for the inclusion of text, images, links, and other elements to create a visually appealing and interactive user experience.
2.
The person who is given credit for inventing the World Wide Web was:
Correct Answer
C. Tim Berners-Lee
Explanation
Tim Berners-Lee is credited with inventing the World Wide Web. He developed the first web browser and created the necessary protocols and languages to enable the sharing of information over the internet. His invention revolutionized communication and information sharing, leading to the widespread adoption of the internet as we know it today. Mark Andreesen is known for developing the Mosaic web browser, which popularized the World Wide Web, but he did not invent it. Bill Gates is the co-founder of Microsoft and played a major role in the development of personal computers, but he did not invent the World Wide Web. Al Gore, while he played a role in supporting legislation that funded the development of the internet, did not invent the World Wide Web.
3.
The very early internets were used by and designed mainly for:
Correct Answer
C. Universities and the military
Explanation
The very early internets were primarily used and designed for universities and the military. In the early days, the internet was mainly used as a communication tool for academic and military purposes. Universities used it to share research and collaborate with other institutions, while the military utilized it for secure communication and data transfer. This early version of the internet laid the foundation for the development of the World Wide Web and the widespread use of the internet in various sectors.
4.
The consortium involving MIT University in Massachusetts, Keio University in Japan, and the INRIA firm in France that is responsible for setting WWW standards is the:
Correct Answer
B. W3C
Explanation
The correct answer is W3C. The W3C (World Wide Web Consortium) is a consortium made up of MIT University, Keio University, and the INRIA firm. It is responsible for setting and maintaining standards for the World Wide Web, including HTML, CSS, and other web technologies.
5.
Which of the following are key ingredients in Web Usability, making your pages useful to viewers:
Correct Answer
D. All of the above
Explanation
The key ingredients in Web Usability include the speed of download, ease of navigation, and usefulness of information. These factors are crucial in making web pages useful to viewers. The speed of download ensures that users can access the content quickly without any delays. Ease of navigation allows users to easily move around the website and find the information they are looking for. The usefulness of information ensures that the content provided on the website is relevant and valuable to the viewers. Therefore, all of the above options are key ingredients in Web Usability.
6.
Generally speaking, which of the following types of computer languages are easiest to learn?
Correct Answer
B. Markup languages
Explanation
Markup languages are generally considered to be the easiest to learn among the given options. Markup languages, such as HTML and XML, are designed to annotate text and provide structure to documents. They have a simpler syntax and are primarily used for formatting and organizing content. On the other hand, programming languages require a deeper understanding of logic and algorithms, while scripting languages often involve more complex scripting and automation tasks. Therefore, markup languages are typically the most beginner-friendly option.
7.
The most common scripting language today on the World Wide Web is:
Correct Answer
D. Javascript
Explanation
Javascript is the most common scripting language used on the World Wide Web today. It is widely supported by all major web browsers and allows for dynamic and interactive elements on web pages. It is often used for tasks such as form validation, creating interactive content, and manipulating webpage elements. While CGI/Perl, Java, and VBS are also scripting languages, they are not as commonly used for web development as Javascript.
8.
In order to use the shell of a form you wrote into your html document, one would also need to load a __________ to the webserver.
Correct Answer
A. Script
Explanation
To use the shell of a form written into an HTML document, one would need to load a script to the webserver. A script is a set of instructions or code that can be executed by the webserver to perform specific tasks. By loading a script, the webserver can interpret and process the form's functionality, allowing users to submit data and interact with the form on the website.
9.
To create a single line break in html, use the _________ tag.
Correct Answer
B. (less than sign)br /(greater than sign)
Explanation
To create a single line break in HTML, you can use the "" tag. This tag is a self-closing tag, meaning it doesn't require a separate closing tag. It is used to insert a line break or a new line within a paragraph or a block of text.
10.
To make the text appear bold in html, use the _________ tag.
Correct Answer
B. (less than sign)b(greater than sign)
Explanation
To make the text appear bold in HTML, the correct tag to use is the "b" tag. This tag is used to indicate that the enclosed text should be displayed in bold.
11.
The "width=200" part of this tag, (less than sign)img src="pic.jpg" width="200"(greater than sign) , is called a(n):
Correct Answer
D. Attribute
Explanation
In HTML, the "width=200" part of the img tag is called an attribute. Attributes provide additional information about an element and are used to modify its behavior or appearance. In this case, the width attribute is used to specify the width of the image to be displayed on the webpage.
12.
The tag that tells the browser the webpage is done downloading is ____________.
Correct Answer
B. (less than sign)/html(greater than sign)
Explanation
The tag (less than sign)/html(greater than sign) is used to indicate the end of the HTML document. This tag tells the browser that the webpage has finished downloading and should be displayed to the user.
13.
The tag that tells the browser that everything from here appears in the main window of the browser.
Correct Answer
D. (less than sign)body(greater than sign)
Explanation
The correct answer is (less than sign)body(greater than sign). This tag is used to define the main content of an HTML document, and it tells the browser that everything inside it should be displayed in the main window of the browser.
14.
To create a new paragraph with a blank line space in html, use the _________ tag.
Correct Answer
A. (less than sign)p(greater than sign)
Explanation
To create a new paragraph with a blank line space in HTML, you would use the tag. This tag is used to define a paragraph and automatically adds a blank line before and after the content within the tag.
15.
To tell the browser to use the following color as a background in html, use the _________ tag.
Correct Answer
D. (less than sign)body bgcolor=#22ccff(greater than sign)
Explanation
To tell the browser to use the color "#22ccff" as the background in HTML, the correct tag to use is "(less than sign)body bgcolor=#22ccff(greater than sign)". This tag sets the background color of the entire webpage to the specified color.
16.
To underline the following text in html, use the _________ tag.
Correct Answer
B. (less than sign)u(greater than sign)
Explanation
To underline the following text in HTML, the correct tag to use is the "u" tag. The "u" tag is used to represent underlined text in HTML.
17.
This tag creates a hyperlink(clickable text or image).
Correct Answer
A. (less than sign)a(greater than sign)
Explanation
This answer is correct because the "a" tag is used to create a hyperlink. The opening tag is "" and the closing tag is "".
18.
This tag ends a row within a table.
Correct Answer
B. (less than sign)tr(greater than sign)
Explanation
The correct answer is (less than sign)tr(greater than sign). This tag is used to close a row within a table. It signifies the end of a row and allows for the start of a new row.
19.
This tag defines an image called pic.jpg to be inserted.
Correct Answer
C. (less than sign)img src="pic.jpg"(greater than sign)
Explanation
The correct answer is (less than sign)img src="pic.jpg"(greater than sign). This is because the "img" tag is used to insert an image into an HTML document, and the "src" attribute specifies the source file (in this case, "pic.jpg") for the image. The other options are incorrect because they either use the wrong attribute ("href") or have additional incorrect attributes ("a" tag, "insertimg" attribute).
20.
This tag creates an numbered or lettered list.
Correct Answer
D. (less than sign)ol(greater than sign)
Explanation
This answer is correct because the tag (less than sign)ol(greater than sign) is the tag used to create an ordered (numbered) list. The other options mentioned, (less than sign)list(greater than sign), (less than sign)ul(greater than sign), and (less than sign)li(greater than sign), are not valid tags for creating numbered or lettered lists.
21.
This tag creates a page with 2 vertical frames.
Correct Answer
B. (less than sign)frameset cols="30%, 70%"(greater than sign)
Explanation
This answer is correct because the "frameset" tag is used to create a page with multiple frames. The "cols" attribute specifies the width of the frames in percentage, with the first frame taking up 30% of the width and the second frame taking up 70% of the width. This creates two vertical frames on the page.
22.
This tag is used when creating an image map.
Correct Answer
B. (less than sign)area shape=circle coords="23,44,50"(greater than sign)
Explanation
The correct answer is (less than sign)area shape=circle coords="23,44,50"(greater than sign). This is because the area tag is used in creating an image map, and the shape attribute is set to "circle" which defines the shape of the clickable area as a circle. The coords attribute specifies the coordinates of the circle's center and its radius. This allows the user to click on the circular area defined by the coordinates.
23.
The type of image most often used in photographs on a webpage is:
Correct Answer
D. Jpg
Explanation
The correct answer is jpg because it is the most commonly used image format for photographs on webpages. JPG (or JPEG) is a compressed image format that allows for high-quality images with relatively small file sizes, making it ideal for web use where faster loading times are desired. PNG is also commonly used, but it is best suited for images with transparency or sharp lines. GIF is typically used for simple animations or graphics with limited colors. BMP is a larger file format that is less commonly used on webpages due to its larger file sizes.
24.
Which of the following is approximately the size of a well edited 2 in by 2 in photograph on a webpage?
Correct Answer
A. 12 kilobytes
Explanation
A well-edited 2 in by 2 in photograph on a webpage typically has a small file size because it is optimized for web viewing. This means that unnecessary data is removed or compressed, resulting in a smaller file size. 12 kilobytes is a reasonable size for such an image as it strikes a balance between quality and file size, allowing for fast loading times on webpages.
25.
Which image file type would you use for a flat 6 color banner title?
Correct Answer
B. Gif
Explanation
The correct answer is gif. GIF (Graphics Interchange Format) is commonly used for images with limited colors, such as logos, icons, and banners. It supports up to 256 colors and can display simple animations. For a flat 6 color banner title, a GIF image would be suitable as it can efficiently represent the limited color palette while maintaining a small file size.
26.
Which of the following tags would allow the image, dog.jpg, to line up on the right side of the page with the text wrapping around it?
Correct Answer
B. (less than sign)img src=dog.jpg align=right(greater than sign)
Explanation
The correct answer is (less than sign)img src=dog.jpg align=right(greater than sign). This tag will align the image to the right side of the page and allow the text to wrap around it.
27.
Which of the following is an example of CSS code?
Correct Answer
A. P.intro {background:yellow;width:500;color:blue;border:outset medium blue}
Explanation
The given code "p.intro {background:yellow;width:500;color:blue;border:outset medium blue}" is an example of CSS code. It is a CSS rule that targets the elements with the class "intro" and applies various styles to them, such as setting the background color to yellow, width to 500 pixels, text color to blue, and border style to outset with medium width and blue color.
28.
In the CSS code, td.fred, the word “fred" after the dot(.) is an example of a:
Correct Answer
B. Class
Explanation
In the given CSS code, td.fred, the word "fred" after the dot (.) is an example of a class. In CSS, classes are used to apply certain styles to specific elements. By using the class selector (.), we can target elements with a specific class name and apply styles to them. In this case, the code is targeting td elements with the class name "fred" and applying styles to them.
29.
The object pictured here is best created on a web page using a:
Correct Answer
C. Form
Explanation
A form is the best option for creating the object pictured here on a web page. A form allows users to input data and submit it to the server for processing. This object may require user input or interaction, which can be easily achieved using a form. XML code is primarily used for storing and transporting data, not for creating interactive objects. Perl script is a programming language used for server-side scripting, not for creating objects on a web page. DHTML code is a combination of HTML, CSS, and JavaScript, which can be used to create interactive elements, but a form is a more specific and appropriate choice for this scenario.
30.
CSS is a:
Correct Answer
B. Markup language
Explanation
CSS stands for Cascading Style Sheets and is used to control the presentation and layout of web pages. It is not a scripting language or a programming language, as it does not have the ability to perform complex calculations or logical operations. Instead, CSS is used to define the visual appearance of HTML elements by specifying colors, fonts, spacing, and other design aspects. Therefore, it is considered a markup language that works in conjunction with HTML to create visually appealing and well-structured web pages.
31.
In CSS, to position an object in the upper right hand corner of the browser window, you would use:
Correct Answer
B. Absolute positioning
Explanation
To position an object in the upper right hand corner of the browser window in CSS, you would use absolute positioning. This allows you to specify the exact position of the object relative to the browser window, regardless of the surrounding elements. Relative positioning, on the other hand, positions the object relative to its normal position in the document flow. Therefore, absolute positioning is the correct choice for achieving the desired placement in the upper right hand corner.