wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CS1 Midterm

Total questions: 83

Worksheet time: 58mins

Name
Class
Date
1.

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

a)

Process

b)

Storage

c)

Input

d)

Output

2.

Any device or component that receives information from a computer

a)

Storage

b)

Output

c)

Input

d)

Process

3.

Understanding the problem when it was assigned.

a)

Try

b)

Reflect

c)

Define

d)

Prepare

4.

The work done (possibly by a computer) to turn input into output

a)

Input

b)

Storage

c)

Output

d)

Process

5.

Elements that make a computer a computer

a)

Input

b)

Output

c)

Process

d)

Storage

e)

All of the above

6.

A precise sequence of instructions for processes that can be executed by a computer

a)

Input

b)

Algorithim

c)

Output

d)

Define

7.

Space in the computer's memory that saves data for later use.

a)

Process

b)

Storage

c)

Input

d)

Output

8.

Brainstorming with team members to come up with a plan, think of any possible problems.

a)

Define

b)

Prepare

c)

Try

d)

Reflect

9.

Actually run the plan. Observe any results.

a)

Define

b)

Prepare

c)

Try

d)

Reflect

10.

Part of a program that does not work correctly

a)

Debugging

b)

Conditionals

c)

Bug

d)

Program

11.

A placeholder for a piece of information

a)

Parameter

b)

Variable

c)

Function

d)

Expression

12.

A single image within an animation

a)

Frame

b)

Framerate

c)

Expression

d)

Program

13.

An extra piece of information passed to a function to customize it for a specific need

a)

Parameter

b)

Program

c)

Property

d)

Variable

14.

An algorithm that has been coded into something that can be run by a machine

a)

Bug

b)

Debugging

c)

Program

d)

Function

15.
Which of the following is the correct syntax to fill a shape with color in Javascript?
a)
fill("red");
b)
color: red;
c)
colorFill(red);
d)
myColor: red;
16.
Which of the following is the correct syntax to fill a background with color in Javascript?
a)
background("red");
b)
background-color: red;
c)
backgroundFill(red);
d)
myColor: red;
17.

Define Website

a)

A site that is a web that is used to define and explore various options

b)

A web that contains arachnids

c)

Multiple pages

d)

A collection of interlinked web pages on the World Wide Web

18.

Define Website Content

a)

The raw text, images, and other elements included in a web page

b)

An index of pages organized by certain criteria as defined by the creator

c)

A content of a site that is created by various arachnids

d)

The raw text, images, and other elements included that are not included in a web page

19.

What is HTML?

a)

Hyper Teachers Marking Language, a language used by teachers to fool students

b)

Hypertext Markup Language, a language used to create web pages

c)

Happy Techies Missing Lasagna, a food that is enjoyed by various techies

d)

Hypertext Markup Languages, languages used to create webs on devices

20.

What is HTML element?

a)

A part or aspect of something abstract, especially one that is essential or characteristic in a website

b)

A piece of a website, marked by a start tag and often closed with an end tag

c)

The special set of characters that indicates the start and end of an HTML element and that element's type

d)

Hypertext Markup Language, a language used to create web pages

21.

What is an HTML tag?

a)

A piece of a website, marked by a start tag and often closed with an end tag

b)

The purpose of different pieces of content in a web page, used to help the computer determine how that content should be displayed

c)

The hypertext markup language of elements playing tag in a playground at a park

d)

The special set of characters that indicates the start and end of an HTML element and that element's type

22.

Define website structure

a)

A structure of a pyramid, square, rectangle or other structure

b)

The element of surprise within an HTML elements coded structure on a specific webpage contents design

c)

A hypertext markup language that is created to eliminate the need to define or explain how the website structure is defined or created

d)

The purpose of different pieces of content in a web page, used to help the computer determine how that content should be displayed

23.

What is the code for a paragraph?

a)

</p>paragraph</p>

b)

<p> </p>

c)

<p> <p>

d)

</p> <p>

24.

Where should the order of <!DOCTYPE> be placed in your code?

a)

First

b)

Second

c)

Third

d)

Fourth

25.

What is the <body> tag?

a)

A tag that shows exact information in the body of the website

b)

A tag that defines the documents body

c)

A tag that begins and ends the website

d)

The end of the HTML codes

26.

Define Heading

a)

A title or summary for a document or section of a document.

b)

The title at the top of the page

c)

A title that shows all the documents information completed on the entire page

d)

A page that is the beginning of all documents related to the page

27.

What is <h1></h1>?

a)

A heading to the first degree

b)

The first heading on a page

c)

A heading to end all headings

d)

The most important heading

28.

Define Digital Footprint

a)

The collected information about an individual across multiple websites on the Internet

b)

A footprint on any electronic device

c)

A footprint that is designed by a graphic artist while using a specially designed art tablet

d)

The information that you provide online when purchasing a pair of shoes digitally

29.
a)
b)
c)
d)
30.
a)
b)
c)
d)
31.

What does the "src" in the image tag stand for?

a)

source

b)

screen

c)

Nothing--it's just HTML code

d)

sorta code

32.

What is the correct way to add an image to your website?

a)

<img src="bird.jpg">

b)

<img src="bird.jpg">bird</img>

c)

<img>bird.jpg</img>

d)

<img scr="bird.jpg">

33.

Which tag correctly defines a list item in an ordered or unordered list?

a)

<ol></ol>

b)

<li></li>

c)

<list></list>

d)

<ul></ul>

34.

When added to your HTML file, which of the following will NOT HELP make your code easier to read and understand?

a)

comments

b)

indentation

c)

bugs

d)

whitespace

35.

Which heading tag produces the largest text?

a)

<h1></h1>

b)

<h6></h6>

c)

<h4></h4>

d)

<h10></h10>

36.

Which heading tag produces the smallest text?

a)

<h1></h1>

b)

<h6></h6>

c)

<h4></h4>

d)

<h10></h10>

37.

What is a digital footprint?

a)

markup language

b)

output

c)

program instructions

d)

all digital information about you on the web

38.

What is attribution?

a)

HTML

b)

Giving credit to the author

c)

a bug

d)

debugging

39.

What is a rule set?

a)

rules that govern the style of an HTML page

b)

something the principal made up

c)

tags in HTML

d)

elements in HTML

40.

What is an example of a value in a rule set?

a)

<img>

b)

red

c)

border-style

d)

text-align

41.

What is a style sheet?

a)

<h4>

b)

the file that styles your website pages

c)

external

d)

internal

42.

What is this link used for? <link href="css/style.css" type="text/css" rel="stylesheet"/>

a)

<a><a/>

b)

HTML

c)

CSS Style Sheet

d)

<body>

43.

Where will you find this link? <link rel="stylesheet" href="style.css">

a)

in the <body><body/> of all CSS pages of your website

b)

in the <body><body/> of all HTML pages of your website

c)

in the <body><body/> of the index pages only of your website

d)

in the <head><head/> of all HTML pages of your website

44.

What does CSS mean?

a)

Cascading Style Sheets

b)

Cooking Steak on Steel

c)

Caring Staring Stars

d)

Cooky Shocking Socks

45.

h2 {

font-family: sans-serif;

color: saddlebrown;

}

a)

This is an example of a rule set

b)

This is an example of an element

c)

This an example of a tag

d)

This is an example of HTML

46.

img {

float: left;

width: 250px;

margin: 10px;

border-color: saddlebrown;

border-width: 4px;

border-style: solid;

border-radius: 10px;

}

a)

This is an example of a tag used for an image

b)

This is an example of a rule set used for an image

c)

This is an example of an element used for an image

d)

This is an example of a rule set used for a paragraph

47.

What is the <a><a/> tag?

a)

paragraph

b)

attribution

c)

answer

d)

anchor

48.

What is this tag used for? <p> https://pxhere.com/en/photo/567905 CCO Public Domain</p>

a)

posting of an image

b)

attribution of an image

c)

border around an image

d)

position of an image

49.

What does this property create? background-color?

a)

border around image

b)

background texture

c)

background color

d)

space around image

50.

What does this property create? border-width

a)

Sets the color of the border

b)

Changes the style of border

c)

Changes the border width of an element

d)

Generates space around an element

51.

What does px mean?

a)

paragraph

b)

photo

c)

pixel

d)

perseverance

52.

Which property in this rule set determines how large the image will be? img {

float: left;

width: 250px;

margin: 10px;

border-color: saddlebrown;

border-width: 4px;

border-style: solid;

border-radius: 10px;

}

a)

float

b)

width

c)

10px

d)

border-radius

53.

What is the first step in the problem solving process?

a)

Define

b)

Prepare

c)

Try

d)

Reflect

54.

What is the final step in the problem solving process?

a)

Reflect

b)

Try

c)

Prepare

d)

Define

55.
What are the benefits of getting peer feedback on any plan developed when preparing to solve a problem?
a)
Another group might catch flaws in the logic of your plan.
b)
Another group will make you feel good by telling you what a great job you did.
c)
Another group may make you feel bad about what you may have missed in your plan.
d)
There is no benefit to peer feedback.
56.
What does an algorithm have to do with processing?
a)
Algorithms are the steps that would be converted into a program that a computer could use to process information, changing it from input to an output.
b)
Algorithms are a series of steps
c)
Algorithms are the steps that would be converted into a program that a computer could use to process information, changing it from output to input.
d)
Algorithms have nothing to do with processing.
57.
Why is it important for a programmer to write out an algorithm before trying to program it?
a)
It is not important for programmers to design algorithms before coding.
b)
It is not important that coders use the problem solving process.
c)
The algorithm helps to make sure he/she doesn't miss any steps when coding the program
58.
What are the components for the problem solving model? 
a)
define, solve, prepare, run
b)
define, prepare, try, not try
c)
reflect, define, try, prepare
d)
there is no problem that can be solved
59.

This graphic represents the...

a)

Input Output Processing & Storage Model

b)

Problem Solving Process

c)

Scientific Model

d)

TCP IP Model

60.
Which of the following is part of the "Define" phase of solving a problem?
a)
Identify your constraints.
b)
Compare pros and cons.
c)
Put your plan into action.
d)
Decide what you can learn from this to do it better next time.
61.
How many heading tags are there?
a)
2
b)
4
c)
6
d)
8
62.
The exclusive legal right to print, publish, perform, film, or record literary, artistic, or musical material, and to authorize others to do the same
a)
Citation
b)
Copyright
c)
Creative Commons
d)
Intellectual Property
63.
A collection of public copyright licenses that enable the free distribution of an otherwise copyrighted work, used when an author wants to give people the right to share, use, and build upon a work that they have created
a)
Citation
b)
Copyright
c)
Creative Commons
d)
Intellectual Property
64.
A work or invention that is the result of creativity, such as a piece of writing or a design, to which one has rights and for which one may apply for a patent, copyright, trademark, etc.
a)
Citation
b)
Copyright
c)
Creative Commons
d)
Intellectual Property
65.
Part of a program that does not work correctly.
a)
Bug
b)
Debugging
c)
Program
d)
Parameter
66.
Finding and fixing problems in an algorithm or program.
a)
Bug
b)
Debugging
c)
Program
d)
Parameter
67.

What is at the end of a line of code in GameLab or AppLab (JavaScript)?

a)

#

b)

;

c)

)

d)

>

68.

BONUS:

What command colors a shape?

a)

color(43, 255, 0);

b)

bucket(43, 255, 0);

c)

fill(43, 255, 0);

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

Choose the correct HTML element for the largest heading

a)

<h6>

b)

<heading>

c)

<head>

d)

<h1>

71.

You use the <p> tag to what?

a)

Start a new paragraph

b)

Open a body

c)

Close the body

d)

Close the paragraph

72.
What does WWW stand for?
a)
World Wide Web
b)
World WideWebsite
c)
World Wide
d)
World
73.
Which if the following is smallest?
a)
<h1></h1>
b)
<h2><h/2>
c)
<h3></h3>
d)
<h4></h4>
74.
What of the following is NOT an element in html?
a)
Body
b)
Head
c)
Paragraph
d)
Sentence
75.
HTML language....
a)
is the code used to create pictures
b)
is the language used to create font sizes and colo
c)
is the language used to create Websites
d)
is never used in the outside world
76.
Website Content
a)
A collection of interlinked web pages on the World Wide Web
b)
The raw text, images, and other elements included in a web page
c)
Hypertext Markup Language, a language used to create web pages
d)
A piece of a website, marked by a start tag and often closed with an end tag
77.

Your digital footprint:

a)

Isn't as important as what the people who know you in real life think

b)

Information about an individual across multiple websites on the internet.

c)

Something you should not be aware of and make positive efforts to control.

d)

Doesn't matter, because the Internet changes too often for anything to stick for a long time.

78.
 A device or component that allows information to be given to a computer
a)
input
b)
output
c)
store
d)
process
79.
The process of putting data in a safe spot  to use later
a)
input
b)
output
c)
store
d)
process
80.
an instance of a computer program that is being executed (thinking)
a)
input
b)
output
c)
store
d)
process
81.
What is an example of an output device?
a)
Mouse
b)
Microphone
c)
Speakers
d)
DVD
82.
What is an example of an input device?
a)
Keyboard
b)
Speakers
c)
Monitor
d)
DVD
83.

When coding, a good programmer always uses comments and white space to...

a)

To keep code readable and organized for Code.org.

b)

There is no purpose, it just looks nice.

c)

It's the only way the code will work.

d)

To keep code readable and organized for others.