Font size
WorksheetsSemester 1 final HS Credit Computer Science
Total questions: 82
Worksheet time: 3hrs 45mins
A device or component that allows information to be given to a computer
algorithm
output
input
storage
Any device or component that receives information from a computer
output
input
algorithm
processing
Keyboard, buttons on the keyboard, mouse, camera, and microphone
algorithm
examples of inputs
processing
examples of outputs
Screen, speakers, and printer
examples of outputs
examples of inputs
storage
processing
The study of the principles and use of computers
processing
algorithm
computer science
input
A machine that works with information.
Computer
Car
Printer
TV
The thinking work computers do to turn input into output.
Input
Output
Processing
Storage
saving information to use in the future
Output
Input
Processing
Storage
If something is true, do something else.
If/Then
Counting
Comparing
Matching
Check whether things are the same, or one is bigger than the other.
Matching
If/Then
Counting
Comparing
Search a list or group of things for a match.
Counting
Comparing
Matching
If/Then
Keep track of how many of something there are.
If/Then
Counting
Matching
Comparing
A computer is a machine that works with information
True
False
Input is the information computers give to users, devices, or other computers
True
False
Output is the information computers get from users, devices, or computers
True
False
In centuries past, machines were invented to help with ___________ work. Computers were designed to help with __________ work.
physical / thinking
output / input
routine / nonroutine
boring / interesting
A traditional desktop computer's display (such as the one on your teacher's desk) can be an example of _______________.
an input
an output
either an input or an output
neither an input nor an output
The earliest computers were designed to ______________.
manipulate numbers
play games
process text
control robots
A computer's memory is used to _____________ information.
input
output
store
process
When information is manipulated or changed by the computer, it is being ______________.
input
output
processed
stored
Which of the following is not a common type of processing that is used in computing?
if/then
matching
counting
transposing
A collection of interlinked web pages on the World Wide Web
Heading
Website
Digital Footprint
HTML
Hypertext Markup Language, a language used to create web pages
Website Content
Website Structure
Heading
HTML
A piece of a website, marked by a start tag and often closed with an end tag
HTML Element
Digital Footprint
Website Content
Website Structure
The collection of information about an individual across multiple websites on the internet
HTML Element
Website Content
Digital Footprint
HTML Tag
A title or summary for a document or section of a document
HTML
Website Structure
Website
Heading
The special set of characters that indicates the start and end of an HTML element and that element's type
HTML Element
Website Content
HTML Tag
Heading
The raw text, images, and other elements included in a web page
Digital Footprint
Website Content
Website
Website Structure
The purpose of different pieces of content in a web page, used to help the computer determine how that content should be displayed
HTML Tag
Website Structure
Website
Heading
Pair Programming
Two people write code and two people review code. Each person has the same role
One person writes code, while the other reviews each line of code as it is typed in
One person writes and review code
Two people communicate about code
What is the driver role during pair programming
The driver draws code
The driver looks at code
The driver reviews code
The driver writes code
What is the navigator's role in pair programming
The navigator writes code
The navigator draws code
The navigator researches code
The navigator reviews each line of code as it is typed in
Which code defines a paragraph
<!DOCTYPE html>
<html>
<p>
<head>
Which code tells the computer that this is a document written in HTML
<!DOCTYPE html>
<html>
<head>
<p>
Which code defines that it contains all the main content of your web page
<!DOCTYPE html>
<html>
<head>
<body>
Which code defines that it contains information (sometimes called "metadata") about your web page
<html>
<head>
<body>
<p>
Indicates the beginning of your code written in HTML.
<head>
<html>
<p>
<body>
Line Break Tag
<br>
<p>
<body>
<html>
Ordered List Tag
<ul>
<li>
<ol>
<br>
Unordered List Tag
<ol>
<ul>
<br>
<li>
List Tag
<ul>
<li>
<ol>
<br>
This allows web developers to group a set of related items.
Heading
List
HTML
HTML Tag
Finding and fixing problems in a program is called
properties
scaling
debugging
variable
A placeholder for a piece of information that can change
program
variable
bug
command
An extra piece of information used to customize it for a specific need
variable
parameter
program
property
Which command draws a rectangle
rect(x,y,w,h)
rectangle(x,y,w,h)
rec(x,y,w,h)
square(x,y,w,h)
Which of the following commands draw a circle?
cir(x,y,w,h)
circle(x,y,w,h)
ellipse(x,y,w,h)
ellip(x,y,w,h)
Which variable is named correctly?
1side
1 side
side1
What is the x value in the following code? rect(250,200,75,225)
250
200
75
225
What is width of the rectangle in the following code?
rect(75, 20, 50, 100)
75
20
50
100
What color will the ellipses be according to the code in the picture?
yellow
orange
blue
purple
ellipse(200,300);
ellipse(200,200);
ellipse(300,50);
ellipse (50,100);
Variable
An extra piece of information that you pass to the function to customize it for a specific need.
The common programming structure that implements "conditional statements".
Attributes that describe an object's characteristics
A placeholder for a piece of information that can change.
ellipse(randomNumber(0,400), randomNumber(0,400));
rect (200, 150, 50, 350);
rect (200, 150, 50, 350);
Line 1: var xPosition
Line 2: ellipse (Xposition, 200, 50, 150);
All of the following are correct ways to label a variable except
size_of_eye_52
sizeofeye52
sizeOfEye52
size of eye 52
This code will draw a pink monster. Which of the pictures is drawn correctly?
What is the center of my grid?
(0, 0)
(400, 400)
(200, 200)
(250, 250)
What does randomNumber (0, 100); mean?
It will allow the computer to choose a random number betwen 0 and 100
it will print any random number
it will place a random number at the coordinates of (0, 100)
it will return an error message because random numbers don't exist in Javascript
What is the final value of a?
Undefined
c
5
10
What is the variable for this label?
size
name
location
value
Which of these are an assignment operator in this lesson?
=
+
-
x
