wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Code.org Fall Semester Test

Total questions: 65

Worksheet time: 2hrs 38mins

Name
Class
Date
1.

A device or component that allows information to be given to a computer

a)

algorithm

b)

output

c)

input

d)

storage

2.

Any device or component that receives information from a computer

a)

output

b)

input

c)

algorithm

d)

processing

3.

Keyboard, buttons on the keyboard, mouse, camera, and microphone

a)

algorithm

b)

examples of inputs

c)

processing

d)

examples of outputs

4.

Screen, speakers, and printer

a)

examples of outputs

b)

examples of inputs

c)

storage

d)

processing

5.

The study of the principles and use of computers

a)

processing

b)

algorithm

c)

computer science

d)

input

6.

A machine that works with information.

a)

Computer

b)

Car

c)

Printer

d)

TV

7.

The thinking work computers do to turn input into output.

a)

Input

b)

Output

c)

Processing

d)

Storage

8.

saving information to use in the future

a)

Output

b)

Input

c)

Processing

d)

Storage

9.

If something is true, do something else.

a)

If/Then

b)

Counting

c)

Comparing

d)

Matching

10.

Check whether things are the same, or one is bigger than the other.

a)

Matching

b)

If/Then

c)

Counting

d)

Comparing

11.

Search a list or group of things for a match.

a)

Counting

b)

Comparing

c)

Matching

d)

If/Then

12.

Keep track of how many of something there are.

a)

If/Then

b)

Counting

c)

Matching

d)

Comparing

13.

A computer is a machine that works with information

a)

True

b)

False

14.

Input is the information computers give to users, devices, or other computers

a)

True

b)

False

15.

Output is the information computers get from users, devices, or computers

a)

True

b)

False

16.

In centuries past, machines were invented to help with ___________ work. Computers were designed to help with __________ work.

a)

physical / thinking

b)

output / input

c)

routine / nonroutine

d)

boring / interesting

17.

A traditional desktop computer's display (such as the one on your teacher's desk) can be an example of _______________.

a)

an input

b)

an output

c)

either an input or an output

d)

neither an input nor an output

18.

The earliest computers were designed to ______________.

a)

manipulate numbers

b)

play games

c)

process text

d)

control robots

19.

A computer's memory is used to _____________ information.

a)

input

b)

output

c)

store

d)

process

20.

When information is manipulated or changed by the computer, it is being ______________.

a)

input

b)

output

c)

processed

d)

stored

21.

Which of the following is not a common type of processing that is used in computing?

a)

if/then

b)

matching

c)

counting

d)

transposing

22.

What type of list will these tags create: <ul></ul>

a)

Bulleted List

b)

Numbered List

c)

List Item

d)

Underline

23.

Which tags will create a numbered list?

a)

<ul> </ul>

b)

<ol> </ol>

c)

<li> </li>

d)

<nl> </nl>

24.
HTML stands for...
a)
Hyper Text Markup Language
b)
High Text Mark Language
c)
Hyperlink and Text Markup Language
d)
Home Tool Markup Language
25.

What do these tags do: <p></p>

a)

Create paragraph sections

b)

Inserts periods

c)

Contains all HTML elements except <!DOCTYPE>

d)

Contains all the content of the HTML document.

26.
Which character is used to indicate an end tag?
a)
^
b)
*
c)
/
d)
<
27.

Finding and fixing problems in an computer program is called:

a)

Bugging

b)

Commenting

c)
Debugging
d)
Indentation
28.

Which heading tag creates the largest size text?

a)

<h6> </h6>

b)

<h1> </h1>

c)

<h10> </h10>

d)

<h0> </h0>

29.
There are _____ different number of heading tags in html coding?
a)
6
b)
3
c)
5
d)
7
30.
The main part of an HTML document where things are displayed is know as the______.
a)
Body
b)
Footer
c)
Header
d)
Paragraph
31.

Which of the following will correctly display the words above?

a)

<h3> Eggs </h3>

<h1> Bacon </h1>

<h6> Waffles </h6>

b)

B<h1> Eggs </h1>

<h2> Bacon </h2>

<h3> Waffles </h3>

c)

<h6> Eggs </h6>

<h1> Bacon </h1>

<h3> Waffles </h3>

d)

<h3> Eggs </h3>

<h1> Bacon </h1>

<h7> Waffles </h7>

32.

What needs to be fixed?

<h1>Cat Supplies</h1>

Cat Toys

Keep your cat entertained!

<li>Lasers, Catnip Toys</li>

<li>Kitty Chew Toys</li>

a)

Missing a heading tag.

b)

Missing ordered list tag.

c)

Missing list item tag.

d)

All answer choices are correct.

33.

Which dog image tag is correct?

a)

<img src=”” alt=”My dog”>

b)

<img scr=”dog.jpg”>

c)

<img scr=”dog.jpg” alt=”My dog”>

d)

<img src=”dog.jpg” alt=”My dog”>

34.

Which code tells the computer that this is a document written in HTML

a)

<!DOCTYPE html>

b)

<html>

c)

<head>

d)

<p>

35.

Which of the following sets the color of text in a paragraph?

a)

h1 {

color: pink;

}

b)

img {

color: pink;

}

c)

body {

color: pink;

}

d)

p {

color: pink;

}

36.

Which selector will change the font of the text?

a)

font-size

b)

text-type

c)

font-famiy

d)

text-family

37.

Which rule set would change the font size to 24?

a)

text-size: 24

b)

size: 24;

c)

font-size: 24;

d)

font size: 24;

38.

This is a picture of a ____.

a)

CSS Rule

b)

HTML Rule

39.
What does CSS stand for? 
a)
Creative Style Sheets
b)
Cascading Style Sheets
c)
Colorful Style Spread
d)
Computer Style Spread
40.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
41.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a webpage structure. CSS provides styling.
c)
CSS structures a webpage. HTML strictly provides styling.
d)
There is no difference.
42.

TRUE OR FALSE: All tags require a closing tag.

a)

True

b)

False

43.

How are shapes plotted on the screen?

a)

with alphabet letters

b)

with X and Y coordinates

c)

using a touch screen

d)

with width and height values

44.

What is the origin of a square or rectangle?

a)

The bottom right corner

b)

The bottom left corner

c)

The top right corner

d)

The top left corner

45.

What is the origin of a circle or ellipse?

a)

The bottom left corner

b)

The center

c)

The bottom right corner

d)

The top

46.

In this line of code:

rect(250, 100);

which number is the y value?

a)

rect

b)

250

c)

100

47.

In this line of code: rect(250, 250, 100, 50); what do 100 and 50 represent?

a)

The x and y values

b)

The w and h values

48.

Given rect(x, y, w, h); what are w and h?

a)

width and heavy

b)

width and tallness

c)

width and length

d)

width and height

49.

The line of code: background("red"); will change what red?

a)

Any shapes on the screen

b)

The background

c)

The foreground

d)

Nothing

50.

What line of code will change the color of any shapes coded below it?

a)

color

b)

rect

c)

weight

d)

fill

51.

What does the randomNumber line of code do?

a)

picks the same number every time

b)

picks any number from zero to infinity

c)

picks any number from the minimum and maximum that you set

d)

it doesn't do anything

52.

Can you use the randomNumber line of code to replace a single value, such as a y value?

a)

Yes!

b)

No!

53.

This line of code does what?

var hello = 100

a)

creates a variable

b)

names or labels the variable "hello"

c)

sets the value of the variable hello to 100

d)

All three are correct

54.

Which command matches this block of code?

a)

Creates a new sprite and assigns it to the variable specified.

b)

Declares and assigns an initial value to a variable

c)

Draws an ellipse onto the display centered at x and y and inscribed in a rectangle with sides length w(idth) and h(eight).

55.

Which command matches this block of code?

a)

Declares and assigns an initial value to a variable.

b)

The number of times per second the screen is refreshed.

c)

Returns a random number in the closed range from min to max.

56.

Which command matches this block of code?

a)

Draws an ellipse keeping the height to width ratio the same.

b)

Shrink or grow a sprite keeping the height to width ratio the same.

c)

Draws a rectangle keeping the height to width ratio the same.

57.

Which command matches this block of code?

a)

Displays a group of sprites. If no parameter is specified, draws all sprites in the sketch.

b)

Shrink or grow a sprite keeping the height to width ratio the same.

c)

The lines of code contained inside its block are continuously executed until the program is stopped.

58.

Finding and fixing problems in an algorithm or program.

a)

Bug

b)

Variable

c)

Property

d)

Debugging

59.

A graphic character on the screen with properties that describe its location,

a)

Sprite

b)

Property

c)

Animation

d)

Variable

60.

A series of images that create the illusion of motion by being shown rapidly one after the other

a)

Frame

b)

Animation

c)

Bug

61.
What is at the end of a line of code?
a)
#
b)
;
c)
)
d)
>
62.

What is x value in the following code?

rect(250, 200, 75, 225);

a)

250

b)

200

c)

75

d)

225

63.

In which direction will the sprite move?

bee.y = bee.y + 2

a)

left

b)

right

c)

up

d)

down

64.

Which sprite property would you change to move the sprite from left to right?

a)

sprite.x

b)

sprite.y

c)

sprite.scale

d)

sprite.rotation

65.

Which sprite property would you change to make the sprite turn in a circle?

a)

sprite.x

b)

sprite.y

c)

sprite.scale

d)

sprite.rotation