wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Semester 1 final HS Credit Computer Science

Total questions: 82

Worksheet time: 3hrs 45mins

Name
Class
Date
1.
What type of device is this?
a)
Output
b)
Input
c)
Storage
2.
What type of device are these?
a)
Input
b)
Output
c)
Storage
3.
What type of device is this?
a)
Input
b)
Output
c)
Storage
4.
What type of device is this tablet?
a)
Input
b)
Output
5.
A keyboard in an __________________device.
a)
Input
b)
Output
6.
Ana bought a new speaker for her computer. What type of device is a speaker?
a)
Input
b)
Output
c)
Storage
7.
Would you use this device for input or output?
a)
Input
b)
Output
8.
Jordan is going to buy DVDs to record his basketball games.  What is a DVD used for?
a)
Input
b)
Output
c)
Storage
9.
A printer is computer hardware device used for ___________________.
a)
Input
b)
Output
c)
Storage
10.
What type of device is a monitor?
a)
Input
b)
Output
c)
Storage
11.
Name this input device.
a)
Mouse
b)
Trackball
c)
Touch pad
12.
Mrs. Luke needs a new digital camera for FBLA. How would she use it?
a)
Input pictures of  FBLA events
b)
Output pictures of FBLA events
13.
What are these obsolete storage devices called?
a)
jump drive
b)
hard disk
c)
floppy disk
d)
thumb drives
14.
Which of the terms below is NOT used to refer to these cute devices?
a)
thumb drive
b)
jump drive
c)
flash drive
d)
zip drive
15.

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

a)

algorithm

b)

output

c)

input

d)

storage

16.

Any device or component that receives information from a computer

a)

output

b)

input

c)

algorithm

d)

processing

17.

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

a)

algorithm

b)

examples of inputs

c)

processing

d)

examples of outputs

18.

Screen, speakers, and printer

a)

examples of outputs

b)

examples of inputs

c)

storage

d)

processing

19.

The study of the principles and use of computers

a)

processing

b)

algorithm

c)

computer science

d)

input

20.

A machine that works with information.

a)

Computer

b)

Car

c)

Printer

d)

TV

21.

The thinking work computers do to turn input into output.

a)

Input

b)

Output

c)

Processing

d)

Storage

22.

saving information to use in the future

a)

Output

b)

Input

c)

Processing

d)

Storage

23.

If something is true, do something else.

a)

If/Then

b)

Counting

c)

Comparing

d)

Matching

24.

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

a)

Matching

b)

If/Then

c)

Counting

d)

Comparing

25.

Search a list or group of things for a match.

a)

Counting

b)

Comparing

c)

Matching

d)

If/Then

26.

Keep track of how many of something there are.

a)

If/Then

b)

Counting

c)

Matching

d)

Comparing

27.

A computer is a machine that works with information

a)

True

b)

False

28.

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

a)

True

b)

False

29.

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

a)

True

b)

False

30.

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

31.

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

32.

The earliest computers were designed to ______________.

a)

manipulate numbers

b)

play games

c)

process text

d)

control robots

33.

A computer's memory is used to _____________ information.

a)

input

b)

output

c)

store

d)

process

34.

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

a)

input

b)

output

c)

processed

d)

stored

35.

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

36.

A collection of interlinked web pages on the World Wide Web

a)

Heading

b)

Website

c)

Digital Footprint

d)

HTML

37.

Hypertext Markup Language, a language used to create web pages

a)

Website Content

b)

Website Structure

c)

Heading

d)

HTML

38.

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

a)

HTML Element

b)

Digital Footprint

c)

Website Content

d)

Website Structure

39.

The collection of information about an individual across multiple websites on the internet

a)

HTML Element

b)

Website Content

c)

Digital Footprint

d)

HTML Tag

40.

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

a)

HTML

b)

Website Structure

c)

Website

d)

Heading

41.

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

a)

HTML Element

b)

Website Content

c)

HTML Tag

d)

Heading

42.

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

a)

Digital Footprint

b)

Website Content

c)

Website

d)

Website Structure

43.

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

a)

HTML Tag

b)

Website Structure

c)

Website

d)

Heading

44.

Pair Programming

a)

Two people write code and two people review code. Each person has the same role

b)

One person writes code, while the other reviews each line of code as it is typed in

c)

One person writes and review code

d)

Two people communicate about code

45.

What is the driver role during pair programming

a)

The driver draws code

b)

The driver looks at code

c)

The driver reviews code

d)

The driver writes code

46.

What is the navigator's role in pair programming

a)

The navigator writes code

b)

The navigator draws code

c)

The navigator researches code

d)

The navigator reviews each line of code as it is typed in

47.

Which code defines a paragraph

a)

<!DOCTYPE html>

b)

<html>

c)

<p>

d)

<head>

48.

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

a)

<!DOCTYPE html>

b)

<html>

c)

<head>

d)

<p>

49.

Which code defines that it contains all the main content of your web page

a)

<!DOCTYPE html>

b)

<html>

c)

<head>

d)

<body>

50.

Which code defines that it contains information (sometimes called "metadata") about your web page

a)

<html>

b)

<head>

c)

<body>

d)

<p>

51.

Indicates the beginning of your code written in HTML.

a)

<head>

b)

<html>

c)

<p>

d)

<body>

52.

Line Break Tag

a)

<br>

b)

<p>

c)

<body>

d)

<html>

53.

Ordered List Tag

a)

<ul>

b)

<li>

c)

<ol>

d)

<br>

54.

Unordered List Tag

a)

<ol>

b)

<ul>

c)

<br>

d)

<li>

55.

List Tag

a)

<ul>

b)

<li>

c)

<ol>

d)

<br>

56.

This allows web developers to group a set of related items.

a)

Heading

b)

List

c)

HTML

d)

HTML Tag

57.

Finding and fixing problems in a program is called

a)

properties

b)

scaling

c)

debugging

d)

variable

58.

A placeholder for a piece of information that can change

a)

program

b)

variable

c)

bug

d)

command

59.

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

a)

variable

b)

parameter

c)

program

d)

property

60.

Which command draws a rectangle

a)

rect(x,y,w,h)

b)

rectangle(x,y,w,h)

c)

rec(x,y,w,h)

d)

square(x,y,w,h)

61.

Which of the following commands draw a circle?

a)

cir(x,y,w,h)

b)

circle(x,y,w,h)

c)

ellipse(x,y,w,h)

d)

ellip(x,y,w,h)

62.

Which variable is named correctly?

a)

1side

b)

1 side

c)

side1

63.

What is the x value in the following code? rect(250,200,75,225)

a)

250

b)

200

c)

75

d)

225

64.

What is width of the rectangle in the following code?

rect(75, 20, 50, 100)

a)

75

b)

20

c)

50

d)

100

65.

What color will the ellipses be according to the code in the picture?

a)

yellow

b)

orange

c)

blue

d)

purple

66.
Which command places a oval in the top right of the game lab
a)

ellipse(200,300);

b)

ellipse(200,200);

c)

ellipse(300,50);

d)

ellipse (50,100);

67.
What does the fill command do
a)
Fill a shape with  color
b)
Fill a shape with other shapes
c)
Adds a border to your shape
d)
none of the above
68.

Variable

a)

An extra piece of information that you pass to the function to customize it for a specific need.

b)

The common programming structure that implements "conditional statements".

c)

Attributes that describe an object's characteristics

d)

A placeholder for a piece of information that can change.

69.
What will the following code do to the picture?
ellipse(randomNumber(0,400), randomNumber(0,400));
a)
Change the place of the ellipse on both the x and y axis
b)
Change the size of the ellipse
c)
Put the ellipse at position (400,400)
d)
Change the place of the ellipse on the x axis
70.
What is the y position in the following code: 
rect (200, 150, 50, 350);
a)
1st position
b)
2nd position
c)
3rd position
d)
4th position
71.
What is the x position in the following code: 
rect (200, 150, 50, 350);
a)
1st position
b)
2nd position
c)
3rd position
d)
4th position
72.
Would this example code run correctly?
Line 1: var xPosition
Line 2: ellipse (Xposition, 200, 50, 150);
a)
Yes
b)
No 
c)
Maybe
73.
What is the command name of variable?
a)
Variable
b)
Size
c)
Var
d)
X
74.
What does an equal sign mean in a variable?
a)
Equal to
b)
Gets the value of
c)
Value
d)
Some number
75.
Are spaces allowed in Naming Variables?
a)
True
b)
False
c)
None of the above
76.

All of the following are correct ways to label a variable except

a)

size_of_eye_52

b)

sizeofeye52

c)

sizeOfEye52

d)

size of eye 52

77.

This code will draw a pink monster. Which of the pictures is drawn correctly?

a)
b)
c)
d)
78.

What is the center of my grid?

a)

(0, 0)

b)

(400, 400)

c)

(200, 200)

d)

(250, 250)

79.

What does randomNumber (0, 100); mean?

a)

It will allow the computer to choose a random number betwen 0 and 100

b)

it will print any random number

c)

it will place a random number at the coordinates of (0, 100)

d)

it will return an error message because random numbers don't exist in Javascript

80.

What is the final value of a?

a)

Undefined

b)

c

c)

5

d)

10

81.

What is the variable for this label?

a)

size

b)

name

c)

location

d)

value

82.

Which of these are an assignment operator in this lesson?

a)

=

b)

+

c)

-

d)

x