wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Fundamentals of Computing - Unit 4 Test Review

Total questions: 27

Worksheet time: 11mins

Name
Class
Date
1.

HTML stands for Hypertext Markup Language

a)

True

b)

False

2.

What does a class do?

a)

adds color to words

b)

adds style to specific elements

c)

adds style to a whole page

d)

adds a lot more work

3.

What symbol should you use to target an id in css?

a)

.

b)

+

c)

id

d)

#

4.

What symbol should you use to target a class name in css?

a)

#

b)

()

c)

.

d)

class

5.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False

6.

TRUE OR FALSE: CSS is used to style web pages

a)

True

b)

False

7.

The <h6> heading tag is the smallest and <h1> is the largest.

a)

True

b)

False

8.

You don't have to give attribution/credit if you use an image with a Creative Commons license

a)

True

b)

False

9.

When making a web page which THREE of the following tasks is the CSS (Cascading Style Sheet) most useful for?

a)

Making the text a different color

b)

Separating headings from paragraphs

c)

Putting borders on an image

d)

Moving an image to the left or right side of the page

e)

Organizing text into a list

10.

Which one of these situations would be best for using classes in HTML/CSS?

a)

When you want your h3 tags to be bold, but your h1 tags to be italicized

b)

When you want headings and paragraphs to be a different color

c)

When you want some images to float left, and others to float right

d)

When you want all pages on the site to have the same style

e)

When you want to make a special color using RGB codes

11.

Which of these would be the most likely reason for your CSS styles not working?

a)

A. Forgetting to link the stylesheet using the <link> tag

b)

B. Naming your page something other than index.html

c)

C. Misspelling a color name in your CSS file

d)

A and C

e)

None of the above

12.

Assume you have the code <h1 class="special">Hello!</h1>. Which two of these could you add to your style sheet to turn "Hello!" bold?

a)

.h1 { font-weight: bold; }

b)

h1 { font-weight: bold; }

c)

#special { font-weight: bold; }

d)

.special { font-weight: bold; }

13.

If you have three different paragraphs, what would be the BEST way to make sure only one specific paragraph will have different color text? This different color will only ever be applied to that one paragraph.

a)

Use a class on the paragraph and write CSS rules for that class

b)

Use an ID on the paragraph and write CSS rules for that ID

c)

Don't bother

d)

Use a class on the other two paragraphs and write CSS rules for that class

14.

What type of font is this question written in?

a)

Serif

b)

Sans-serif

15.

What does the "href" attribute do on the <a> tag?

a)

Nothing

b)

Links to a CSS file to apply styles to the page

c)

Tells a hyperlink where to go when a link is clicked on

16.

What TWO things does the "alt" attribute do on an <img> tag?

a)

Provides alternate text that will show if an image doesn't load

b)

Provides a backup/alternate image that will show if an image doesn't load

c)

Provides text that may be used by certain accessibility devices such as braille readers or screen readers

d)

Links to where you found the image

17.

The difference between a <link> tag an an <a> tag is best described as:

a)

<link> tags create a clickable link to another page or site, while <a> tags create a relationship to another file such as a CSS stylesheet

b)

<a> tags create a clickable link to another page or site, while <link> tags create a relationship to another file such as a CSS stylesheet

c)

They are the same thing

18.

Which of these is the best reason to use a Creative Commons Attribution (CC-BY) license?

a)

To make sure you get credit for your work when other people use it

b)

To make sure that your work is shared under the same license type when other people use it

c)

To make sure that no one can change your work when other people use it

d)

To make sure that no one can use your work for advertising or to make money

19.

Which of these is the best reason to use a Creative Commons No Derivatives (CC-ND) license?

a)

To make sure you get credit for your work when other people use it

b)

To make sure that your work is shared under the same license type when other people use it

c)

To make sure that no one can change your work when other people use it

d)

To make sure that no one can use your work for advertising or to make money

20.

Which of these is the best reason to use a Creative Commons Non-Commercial (CC-NC) license?

a)

To make sure you get credit for your work when other people use it

b)

To make sure that your work is shared under the same license type when other people use it

c)

To make sure that no one can change your work when other people use it

d)

To make sure that no one can use your work for advertising or to make money

21.

Which of these is the best reason to use a Creative Commons Share-Alike (CC-SA) license?

a)

To make sure you get credit for your work when other people use it

b)

To make sure that your work is shared under the same license type when other people use it

c)

To make sure that no one can change your work when other people use it

d)

To make sure that no one can use your work for advertising or to make money

22.

What is the most effective way to get text to wrap around the side of an image?

a)

Using the text-align CSS property

b)

Using the <wrap></wrap> tags

c)

Using the float CSS property

d)

This is not possible with HTML or CSS

23.

What is missing from the hyperlink tag: <a href="??">Click here</a>

a)

The clickable text of the link

b)

Nothing. The tag works fine

c)

The closing tag

d)

The name of the HTML file or URL the link is going to

24.

Which of the following CSS properties can be used to give an element "personal space"?

a)

personal-space

b)

margin

c)

padding

d)

font-size

25.

Assume you have the following CSS, what will happen if the computer can't load Times New Roman or Georgia fonts? p { fontfamily: Georgia, Times New Roman, serif}p\ \left\{\ font-family:\ Georgia,\ 'Times\ New\ Roman',\ serif\right\}  

a)

The page won't load

b)

It will use Arial font

c)

It will choose any serif font

d)

It will show weird symbols on the page

26.

Which of the following is not a best practice?

a)

Keep your HTML and CSS neat, tidy, and aligned

b)

Use an ID multiple times throughout a page

c)

Use thoughtful and short names for images and pages

d)

Put all visible content between the <body></body> tags

27.

You want to create artwork that can be used freely by others. You are okay with them modifying it if they'd like to and they are also free to use it for commercial purposes. Which license could you use and WHY? Your choices are: 1. Creative Commons Attribution 2. Creative Commons No Derivatives 3. Creative Commons Share-Alike Non-Commercial.

4 lines