wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CP Review

Total questions: 59

Worksheet time: 30mins

Name
Class
Date
1.

What would the following code do?


<h1 style=”background-color:green;font-size:75%;”>This font is purple.</h1>

a)

Create a purple font

b)

Create a green font

c)

Create a purple background

d)

Make the font smaller than normal

2.

What would the following code do?


<h1 style=”background-color:green;font-size:75%;”>This font is purple.</h1>

a)

Create a purple font

b)

Create a green font

c)

Create a green background

d)

Create a purple background

3.

What piece of punctuation do you use to list multiple style features?

a)

, (comma)

b)

< (angle bracket)

c)

{ (bracket)

d)

; (semi-colon)

4.

To make a banner with the following features, which code would work?

Bold Verdana MediumPurple background Centered

a)

<h1 style=”font-family:verdana;background-color: mediumpurple;text-align:center;>Learning HTML</h1>

b)

<p style=”font-family:verdana;background-color: mediumpurple;text-align:center;>Learning HTML</p>

c)

<h1 style=”font-family:verdana;background-color: purple;text-align:center;>Learning HTML</h1>

d)

<h1 style=”font-family:courier;background-color: mediumpurple;text-align:center;>Learning HTML</h1>

5.

What would this look like?

<body style=”background-color:yellow;”><h1 style=”text-align:center;font-color:navyblue;”>Bananas!</h1><p style=”font-color:blue;”>Yummy!</p>

a)

Navy blue background with bold yellow text that says "Bananas!" and then has a paragraph with blue font that says "Yummy!"

b)

Yellow background with large, bold navy blue text that says "Bananas!" and then has a paragraph with blue font that says "Yummy!"

c)

Yellow background with large navy blue text that says "Bananas!" and then has a paragraph with blue font that says "Yummy!"

d)

Yellow background with large, bold navy blue text that says "Bananas!" and then a blue font that says "Yummy!"

6.

Which of the following is an "empty" element?

a)

<br>

b)

<p>

c)

<h2>

d)

<img>

7.

If you want to program a skipped line in your code you use...

a)

<b>

b)

<par>

c)

<skipline>

d)

<br>

8.

To insert an image into your webpage you need what information about the image...

a)

the file name

b)

the location

c)

the url

d)

the directory address

9.

To insert an image into your webpage, which of the following pieces of information will help you locate the source:

a)

the file name

b)

the file type

c)

the website url

d)

the computer directory address

10.

To embed something into your website like a video, google doc or other google file, interactive game, or similar feature you use...

a)

<img src....

b)

<iframe....

c)

<a href....

d)

<emb....

11.

<p style="font-size:75%;"> makes the font....

a)

bold

b)

bigger

c)

smaller

d)

thinner

12.

<p style=font-size:75%;> Will this code work?

a)

Yes

b)

No

13.

<p style="font-size:75%;"> Will this code work?

a)

Yes

b)

No

14.

If you want to edit the background of your website you use which element?

a)

<title>

b)

<body>

c)

<iframe>

d)

<background>

15.

<a href... This element programs a....

a)

image

b)

website

c)

link

d)

embedded object

16.

<img src... This element programs a....

a)

image

b)

website

c)

link

d)

embedded object

17.

<iframe... This element programs a....

a)

image

b)

website

c)

link

d)

embedded object

18.

<title> What does this piece of code create?

a)

A bold nice title on your website

b)

A name on the website tab

c)

A domain name that can be used to link to your site

19.

True or false: code for programming alignment of pictures looks just like alignment for text.

a)

True

b)

False

20.

Which pieces of code will resize your picture correctly:

a)

<img src="img_girl.jpg" alt="Girl in a jacket" style="width:500px;height:600px;">

b)

<img src="img_girl.jpg" alt="Girl in a jacket" style="length:500px;heighth:600px;">

c)

<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">

d)

<img src="img_girl.jpg" alt="Girl in a jacket" length="500" heighth="600">

21.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

22.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

23.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

24.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

25.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

26.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

27.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

28.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

29.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

30.

What part is this?

a)

Power Supply

b)

Cooling Fan

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

31.

What part is this?

a)

Motherboard

b)

RAM Chip

c)

Central Processing Unit

d)

Network Interface Card

e)

Hard Disk Drive

32.

What part is this?

a)

Motherboard

b)

RAM Chip

c)

Central Processing Unit

d)

Network Interface Card

e)

Hard Disk Drive

33.

What part is this?

a)

Motherboard

b)

RAM Chip

c)

Central Processing Unit

d)

Network Interface Card

e)

Hard Disk Drive

34.

What part is this?

a)

Motherboard

b)

RAM Chip

c)

Central Processing Unit

d)

Network Interface Card

e)

Hard Disk Drive

35.

The brain of the computer that carries out instructions that the computer is told to do, by fetching, decoding, and executing. What part is this?

a)

Power Supply

b)

Heat Sink

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

36.

This sits on top of the CPU and contains a fan to keep the CPU cool. What part is this?

a)

RAM

b)

Heat Sink

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

37.

Permanently stores data when somebody saves their work. Anytime you press save, data moves from RAM to here. What part is this?

a)

RAM

b)

Heat Sink

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

38.

This allows a computer to connect to the internet. What part is this?

a)

RAM

b)

Network Interface Card

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

39.

This provides energy to the main internal parts of the computer. What part is this?

a)

Power Supply

b)

Network Interface Card

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

40.

This connects all the inside components of the computer together, including the CPU and any input and output devices. What part is this?

a)

Power Supply

b)

Network Interface Card

c)

Central Processing Unit

d)

Motherboard

e)

Hard Disk Drive

41.

What is our definition of a computer?

a)

an electronic device that manipulates data or information

b)

a machine that can be instructed to carry out sequences of arithmetic

c)

an electronic device that accepts data

42.

What is the difference between hardware and software?

a)

Hardware is the physical materials that makeup a computer and software is the instructions that make it work.

b)

Software is the physical materials that make up a computer and hardware is the instructions that make it work.

43.

What does a server do?

a)

stores information to be sent to other computers that want to access it

b)

store information for websites and other web-based materials; they're what makes the internet work

44.

What is computer programming? Choose the most accurate answer.

a)

a way of giving computers instructions about what they should do next

b)

a set of directions that computers use to run software

c)

languages that tell computers how to function

45.

Which of these are programming languages?

a)

Java

b)

Python

c)

HTML

d)

Swift

46.

Which of these definitions explains front-end programming for a website?

a)

code that produces the elements users can see and interact with

b)

code that is invisible to users, often involving databases and information storage

47.

Which of these definitions explains back-end programming for a website?

a)

code that produces the elements users can see and interact with

b)

code that is invisible to users, often involving databases and information storage

48.
Breaking down a complex problem or system into smaller or more manageable parts.
a)
decomposition
b)
pattern recognition
c)
abstraction
d)
algorithms
49.
Looking for similarities among and within problems.
a)
decomposition
b)
pattern recognition
c)
abstraction
d)
algorithms
50.
Focusing on the important information only, ignoring irrelevant detail.
a)
decomposition
b)
pattern recognition
c)
abstraction
d)
algorithms
51.
Developing a step-by-step solution to the problem, or the rules to follow to solve the problem.
a)
decomposition
b)
pattern recognition
c)
abstraction
d)
algorithms
52.
When we split up to solve the little tasks involved in opening the breakout edu box we were practicing...
a)
decomposition
b)
pattern recognition
c)
abstraction
d)
algorithms
53.
Computational thinking is...
a)
giving instructions to a computer
b)
thinking like a computer (in binary)
c)
using a set of techniques and approaches to help solve problems
d)
creating a sequence of instructions
54.
Why do we think computationally?
a)
to help us program
b)
to help us solve complex problems more easily
c)
to help us to think like a computer
d)
to help us plan our actions
55.
Which of the following is an example of thinking computationally?
When going to meet a friend...
a)
planning your route
b)
wandering around until you find them
c)
asking a parent to plan for you
d)
giving up and doing something else
56.
Which of the following is NOT computational thinking?
a)
decomposition
b)
coding
c)
pattern recognition
d)
algorithms
57.
What is a complex problem?
A problem that, at first, is...
a)
not easy to solve
b)
is not easy to understand
c)
is not easy to understand or solve
d)
cannot be solved
58.
Which of the following is NOT an example of computational thinking?
a)
letting the bossiest friend decide where you should all go
b)
considering the different options carefully before deciding upon the best one
c)
discussing with your friends how much time and money you have before choosing from a shortlist of places
d)
deciding based on where you would be able to walk, since no one can drive
59.
How many computational thinking techniques are usually required to write a successful program?
a)
1
b)
2
c)
3
d)
4