Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

BootCamp Test3

Total questions: 50

Worksheet time: 28mins

Name
Class
Date
1.
What surrounds a string?
a)
Quotations
b)
Curly Brackets
c)
Parenthesis
d)
Square Brackets
2.
A boolean;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
3.
A function;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
4.
An if/else statement;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
5.
What surrounds an if/else statement?
a)
Quotations
b)
Curly Brackets
c)
Parenthesis
d)
Square Brackets
6.

What programming language did we learn in class this week?

a)

Karel

b)

Java

c)

JavaScript

d)

Visual Basic

7.

A variable in Javascript is a (a)   for information you want to store.

8.

Inside which HTML element do we put the JavaScript?

a)

<scripting>

b)

<Javascript>

c)

<Script>

d)

<Js>

9.

How can you add a comment in a JavaScript?

a)

//This is a comment

b)

<!--This is a comment-->

c)

"This is a comment"

10.

Is JavaScript case-sensitive?

a)

Yes

b)

No

11.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
12.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
13.
the tag <IMG> would insert what into a web page?
a)
Insert a title
b)
Insert a link
c)
Insert an image
14.
</p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
15.

Which is the correct order for these list tags?

a)

<li>

<ul> </ul>

</li>

b)

<ul>

</ul> <li>

</li>

c)

<ul>

<li> </ul>

</li>

d)

<ul>

<li> </li>

</ul>

16.

Which section of a web page contains information about the web page such as the title and style.

a)

Head

b)

HTML

c)

Body

d)

Paragraph

17.

What is the difference between a <h1> and a <h3> tag?

a)

<h1> is bigger than <h3>

b)

<h3> is bigger than <h1>

c)

<h1> cannot be used for titles

d)

<h3> cannot be used for titles

18.

How do you add a blank line to a web page?

a)

<hr>

b)

<blank>

c)

<br>

d)

<break>

19.

In a <table>, what does the <th> tag do?

a)

it defines the table row

b)

It displays the data for that cell on screen

c)

It doesn't do anything

d)

Makes the data in that cell bold like a heading

20.

In a <table>, what does the <tr> tag do?

a)

it defines the table row

b)

It displays the data for that cell on screen

c)

It doesn't do anything

d)

Makes the data in that cell bold like a heading

21.

What does <hr> do?

a)

Adds a horizontal line across the page

b)

Adds the current time in hours to the page

c)

It is a placeholder for blank content

d)

It adds a heading to the page

22.
The following tag will show a bulleted list
a)
<ul>
b)
<ol>
c)
<li>
d)
<list>
23.
Which tag defines a numbered list?
a)
<OL>
b)
<UL>
c)
<LI>
d)
<NL>
24.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >  
d)
"  "
25.
Which of the following creates a table row?
a)
<tr>
b)
<row>
c)
<trow>
d)
<rw>
26.
Which is the extension for HTML files?
a)
.exe
b)
 .doc
c)
.excel
d)
.html
27.
What does this tag do:
<a href = “  “ > … <a/> 
a)
Links to an image saved in your work area
b)
Links to an image from a website
28.

You want to set the heading to use the font Arial.

a)

h1 { font-family: arial; }

b)

h1 { font: arial; }

c)

heading 1 { font-family: arial; }

29.

The correct syntax to connect an external style sheet to a Web page

a)

<style rel="stylesheet" type="text/css" href="file.css" />

b)

<link rel="stylesheet" type="text/css" href="file.css" />

c)

<attach rel="stylesheet" type="text/css" href="file.css" />

d)

<a rel="stylesheet" type="text/css" href="file.css" />

30.

<style> </style>

a)

tells the web browser the file is an HTML document

b)

inserts multiple images

c)

sets the formatting of elements on a web page

31.

You want to set the font size to 150%.

a)

font-size: 150%;

b)

size: 150%

c)

font size: 150

32.

What does CSS stand for?

a)

Cascading Style Sheets

b)

Colorful Style Sheets

c)

Computer Style Sheets

d)

Creative Style Sheets

33.

What tag is used to insert an image?

a)

<img src = "...">

b)

<a href = "..."> Title </a>

c)

<iframe...> </frame>

d)

<ol> ... </ol>

e)

<ul> ... </ul>

34.

Which of these will correctly add a title to a web page

a)
b)
c)
d)
35.

Which of these is a correctly coded hyperlink?

a)
b)
c)
d)
36.
What will happen to the content in blue?<p>This is a spelling mistake <u>parragraph</u> .<p/>
a)
it will be in bold
b)
it will be underlined
c)
it will be in italics
37.
Which code will make your background red?
a)
<body style=background-color:red;>
b)
<body style="background-color:yellow;">
c)
<body style="background-color:red;">
d)
<body colormybg="background-color:red;">
38.
What coding would be used to define a header cell in an HTML table
a)
<th>Month</th>
b)
<td>Month</td>
c)
<h1>Month</h1>
d)
<h2>Month</h2>
39.

What is missing from this HTML skeleton?


<!DOCTYPE html>

<html>

<body>

</body>

</html>

a)

<head></head>

b)

<div></div>

c)

<img></img>

d)

<head>

40.

“WWW” is the abbreviation for which of the following?

a)

World Without Websites

b)

World Wide Web

c)

Workforce Wide Web

d)

World Wide Watch

41.

Suppose you are making a music streaming website and you want to make a page that displays a user’s music library.

Which of the following is the proper HTML code to create the following table:

a)

<table border="1">

<tr>

<td>Title</td>

<td>Artist</td>

<td>Length</td>

</tr>

<tr>

<td>Memory</td>

<td>Tom Misch</td>

<td>5:41</td>

</tr>

<tr>

<td>CD Jam</td>

<td>Rooney Pitchford</td>

<td>3:55</td>

</tr>

</table>

b)

<table border="1">

<tr>

<th>Title</th>

<th>Artist</th>

<th>Length</th>

</tr>

<tr>

<td>CD Jam</td>

<td>Rooney Pitchford</td>

<td>3:55</td>

</tr>

<tr>

<td>Memory</td>

<td>Tom Misch</td>

<td>5:41</td>

</tr>

</table>

c)

<table border="1">

<tr>

<th>Title</th>

<th>CD Jam</th>

<th>Memory</th>

</tr>

<tr>

<td>Artist</td>

<td>Rooney Pitchford</td>

<td>Tom Misch</td>

</tr>

<tr>

<td>Length</td>

<td>3:55</td>

<td>5:41</td>

</tr>

</table>

d)

<table border="1">

<tr>

<th>Title</th>

<td>CD Jam</td>

<td>Memory</td>

</tr>

<tr>

<th>Artist</th>

<td>Rooney Pitchford</td>

<td>Tom Misch</td>

</tr>

<tr>

<th>Length</th>

<td>3:55</td>

<td>5:41</td>

</tr>

</table>

42.

What is the result of the following HTML code:

<ol>

<li>Bread</li>

<li>Milk</li>

<li>Eggs</li>

</ol>

a)
b)
c)
d)
43.

Which CSS selector applies to the yellow element(s) only? Select the correct answers!

a)

li a{ ... }

b)

li.a{ ... }

c)

li, a{ ... }

d)

li-a{ ...}

e)

none of the above

44.

Choose the correct CSS Class ...

a)

#navbar

b)

*navbar

c)

=navbar

d)

.navbar

45.

What language is used to define the structure of a webpage?

a)

HTML

b)

CSS

c)

JavaScript

d)

French

46.

sets the color of words in a paragraph

a)

h1 {

color: pink;

}

b)

img {

color: pink;

}

c)

body {

color: pink;

}

d)

p {

color: pink;

}

47.

Which HTML tag is used to create a list item?

a)

<list>

b)

<item>

c)

  • <li>

d)

<ul>

48.

What are the four components of the CSS box model?

a)

content, padding, border, margin

b)

padding, border, margin, content

c)

margin, content, padding, border

d)

content, padding, border, padding

49.

What type of selector is this? .container

a)

Class

b)

Element

c)

Id

d)

Group

50.

How would you select an ELEMENT with the ID name red-text?

a)

#red-text

b)

=red-text

c)

.red-text

d)

red-text