Unit Test — Unit test Answers

43 verified answers4 views
41
Free Preview

What is the main advantage of using a WYSIWYG (“what you see is what you get”) editor when constructing a website?

A
Only one programming language is required.
B
Websites may have more professional construction.
C
Knowledge of HTML is not required.
D
Website templates are not necessary.
42
Free Preview

To prevent long page load times for pages containing images, it is best to use a compressed file format such as JPG, as well as appropriate image dimensions and

A
resolution.
B
magnification.
C
orientation.
D
colors.
44

What is the first step necessary to begin setting up a website once a host has been selected and paid?

A
select a domain name
B
configure email addresses
C
upload website files to the host directory
D
log on to the website host control panel
45

In addition to a web browser, what is needed to create and render a web page?

A
a web server
B
an Internet connection
C
a basic text editor
D
antivirus software
46

Which of the following is part of the process of publishing a website?

A
advertising a website on a search engine
B
printing a copy of all website pages
C
uploading its web pages to the host directory
D
creating web pages using templates
47

What should a web page designer consider when choosing between fixed positioning and absolute positioning?

A
Fixed positioning is the HTML default element flow, while absolute positioning is relative to the browser window.
B
Fixed positioning is an offset placement from the normal element layout, while absolute positioning is the HTML default element flow.
C
Fixed positioning is relative to the browser window, while absolute positioning is located at a specific place on a web page.
D
Fixed positioning is located at a specific place on a web page window, while absolute positioning is an offset placement from the normal element layout.
48

In a business environment, who is responsible for testing a website?

A
the webmaster
B
the website supervisor
C
the customers who visit the site
D
the search engine director
49

Which factor is the most important when choosing a website host?

A
whether customers will make secure transactions
B
the number of email accounts provided
C
the purpose of the website
D
the quality of the host control panel
50

What are the basic tools for coding HTML manually?

A
a WYSIWYG editor and web browser
B
a text editor and WYSIWYG editor
C
a text editor and web browser
D
a web browser and a monitor
51

How was the addition of an improvement over early web design?

A
Webpages could finally incorporate tables into the design.
B
Webpage layout could finally format content blocks separately.
C
Webpage layouts were finally designed using HTML code.
D
Webpages could finally incorporate images as layout elements.
52

Read the following block of CSS code, and then answer the question.body { position: relative; left: 50px; top: 50px; }What effect would this code have on the display of a box?

A
All content would be placed 50 pixels to the left of the current box.
B
The current box would be located 50 pixels to the left of the page border.
C
The current box would be located 50 pixels to the left of the next page element.
D
The current box would be located 50 pixels to the left of the first textual element.
53

Why is manual coding the best way to learn HTML?

A
You can look at source code and figure out how markup affects function.
B
You can sometimes drag-and-drop pieces of content.
C
You can apply styles to text as you would with a word processor.
D
There are many formatting shortcuts to choose from.
54

For the purposes of laying out content, the total height of a box is calculated by adding which of the following?

A
content height and the top and bottom margins, borders, and padding
B
content height, margin height, and page element height
C
content length of the box, webpage height, and top margin
D
content height, top margin, and bottom margin
55

Look at the code, and then answer the question below..links {text-align: center;font-size: 16px;font-color: blue;background-color: gray;}Which of the following statements best describes the declaration?

A
Link text has a yellow background.
B
Link text is 16 pixels and black.
C
Link text is blue and 16 pixels.
D
Link text is center-aligned on a yellow background.
56

What is a class in CSS?

A
a grouping of HTML tags for which style properties can be declared
B
a selector used to define a unique style
C
a tag used to apply styles to a block of content
D
the part of a declaration describing the type of style to be applied

Did you find these answers helpful?