wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Mr. W CS FINAL EXAM

Total questions: 100

Worksheet time: 3hrs 33mins

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.
A keyboard in an __________________device.
a)
Input
b)
Output
5.
Ana bought a new speaker for her computer. What type of device is a speaker?
a)
Input
b)
Output
c)
Storage
6.
Would you use this device for input or output?
a)
Input
b)
Output
7.
A printer is computer hardware device used for ___________________.
a)
Input
b)
Output
c)
Storage
8.
What type of device is a monitor?
a)
Input
b)
Output
c)
Storage
9.

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

a)

algorithm

b)

output

c)

input

d)

storage

10.

Any device or component that receives information from a computer

a)

output

b)

input

c)

algorithm

d)

processing

11.

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

a)

algorithm

b)

examples of inputs

c)

processing

d)

examples of outputs

12.

Screen, speakers, and printer

a)

examples of outputs

b)

examples of inputs

c)

storage

d)

processing

13.

The study of the principles and use of computers

a)

processing

b)

algorithm

c)

computer science

d)

input

14.

A machine that works with information.

a)

Computer

b)

Car

c)

Printer

d)

TV

15.

The thinking work computers do to turn input into output.

a)

Input

b)

Output

c)

Processing

d)

Storage

16.

saving information to use in the future

a)

Output

b)

Input

c)

Processing

d)

Storage

17.

If something is true, do something else.

a)

If/Then

b)

Counting

c)

Comparing

d)

Matching

18.

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

a)

Matching

b)

If/Then

c)

Counting

d)

Comparing

19.

Search a list or group of things for a match.

a)

Counting

b)

Comparing

c)

Matching

d)

If/Then

20.

Keep track of how many of something there are.

a)

If/Then

b)

Counting

c)

Matching

d)

Comparing

21.

A computer is a machine that works with information

a)

True

b)

False

22.

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

a)

True

b)

False

23.

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

a)

True

b)

False

24.

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

25.

A computer's memory is used to _____________ information.

a)

input

b)

output

c)

store

d)

process

26.

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

a)

input

b)

output

c)

processed

d)

stored

27.

Hypertext Markup Language, a language used to create web pages

a)

Website Content

b)

Website Structure

c)

Heading

d)

HTML

28.

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

29.

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

30.

Which code defines a paragraph

a)

<!DOCTYPE html>

b)

<html>

c)

<p>

d)

<head>

31.

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

a)

<!DOCTYPE html>

b)

<html>

c)

<head>

d)

<body>

32.

Indicates the beginning of your code written in HTML.

a)

<head>

b)

<html>

c)

<p>

d)

<body>

33.

Line Break Tag

a)

<br>

b)

<p>

c)

<body>

d)

<html>

34.

Finding and fixing problems in a program is called

a)

properties

b)

scaling

c)

debugging

d)

variable

35.

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)

36.

Which variable is named correctly?

a)

1side

b)

1 side

c)

side1

37.

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

a)

250

b)

200

c)

75

d)

225

38.
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);

39.
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
40.
What is the command name of variable?
a)
Variable
b)
Size
c)
Var
d)
X
41.
Are spaces allowed in Naming Variables?
a)
True
b)
False
c)
None of the above
42.

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

a)
b)
c)
d)
43.

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

44.

What does the Sheriff’s badge symbolize in the anime?

a)

Courage

b)

Friendship

c)

Treasure

d)

Justice

45.

What is the variable for this label?

a)

size

b)

name

c)

location

d)

value

46.

App Lab uses what event model?

a)

Event-Handling

b)

Variable

c)

Draw Loop

d)

Program Call

47.

What does LED stand for?

a)

Light Emitting Diode

b)

Lego Education Department

c)

Little Electronic Device

d)

Lead Erasing Director

48.

Which of the following is an INPUT from the Circuit Playground?

a)

Sound Sensor

b)

Buzzer

c)

LED

d)

Motor

49.

Which of the following in an OUTPUT from the Circuit Playground?

a)

Sound Sensor

b)

Button

c)

Light Sensor

d)

LED

50.

Which of the following code is used to get information about an element on the screen?

a)

getData

b)

setData

c)

getProperty

d)

setProperty

51.

Which of the following code is used to change information about an element on the screen?

a)

setProperty

b)

setData

c)

getProperty

d)

getData

52.

Where does an onBoardEvent take place?

a)

on the screen

b)

on your Circuit Playground

c)

at the start of your code

d)

at the end of your code

53.

Where does an onEvent take place?

a)

on the Circuit Playground

b)

on the screen

c)

at the start of your code

d)

at the end of your code

54.

How often does the "data" parameter cause an onBoardEvent to run?

a)

constantly (every 100 ms)

b)

only when data changes from the last reading

c)

once

d)

twice

55.

How often does the "change" parameter cause an onBoardEvent to run?

a)

constantly (every 100 ms)

b)

once

c)

only when data changes from the last reading

d)

twice

56.

When does the "shake" parameter cause an onBoardEvent to run?

a)

constantly (every 100 ms)

b)

once

c)

when data changes

d)

when the Circuit Playground is shaken

57.

Label Binary Input Sensor #1

a)

LED

b)

Light Sensor

c)

Toggle Switch

d)

Sound Sensor

58.

Label Binary Input Sensor #2

a)

Sound Sensor

b)

USB Outlet

c)

Temperature Sensor

d)

Left Button

59.

Label Binary Input Sensor #3

a)

Sound Sensor

b)

LED Sensor

c)

Input

d)

CPU

60.

What is input #1?

a)

USB Connector

b)

CPU

c)

Toggle Switch

d)

Left Button

61.

What is input #2?

a)

Connector Pad

b)

Accelerometer

c)

Reset Button

d)

Right Button

62.

What is input #3?

a)

Circuit

b)

Toggle Switch

c)

Temperature Sensor

d)

Design Screen

63.

What is analog?

a)

Something that doesn't figure the answer out for you.

b)

Anything that doesn't use electricity.

c)

Any constantly changing value not restricted to a specific value.

d)

An ant squashed underneath a log

64.

What is digital?

a)

Data or signals represented by a finite set of values.

b)

Input from anything with electricity.

c)

Made by a computer, but never by humans.

d)

A hole that has been dug completely.

65.

What is HARDWARE?

a)

Only items that can be used to enter text.

b)

Any software that comes in a hard case.

c)

Microsoft or Apple products

d)

Any physical device used in or with your machine.

66.

What is SOFTWARE?

a)

A collection of code that performs specific tasks.

b)

A type of program that prevents viruses on a computer.

c)

Any software that comes in a soft-sided case.

d)

IBM or Cisco products.

67.

Name the UI element that lets a user type in a small amount of text.

a)

Button

b)

Chart

c)

Checkbox

d)

Text Input

68.

Name the UI element that is used for small titles and headings on an app.

a)

Label

b)

Image

c)

Screen

d)

Slider

69.

A new or improved idea, device, product, etc, or the development thereof.

a)

Program

b)

Innovation

c)

Prototype

d)

Coding

70.

UI stands for...

a)

User Interface

b)

Ubiquitous Interface

c)

User Information

d)

Unencumbered Information

71.

How computers recognize patterns and make decisions without being explicitly programmed

a)

machine learning

b)

supervised learning

c)

unsupervised learning

d)

artificial intelligence

72.

The inputs that a model uses to make decisions

a)

features

b)

label

c)

model

d)

training

73.

the output you are trying to decide or predict with a model

a)

features

b)

label

c)

model

d)

training

74.

When a human trains a model to learn with examples

a)

supervised learning

b)

unsupervised learning

c)

artificial intelligence

d)

machine learning

75.

a computer program designed to make a decision

a)

features

b)

label

c)

model

d)

training

76.

Finding patterns in data that doesn't have any labels

a)

artificial intelligence

b)

supervised learning

c)

unsupervised learning

d)

machine learning

77.

giving examples to a model so it can learn

a)

features

b)

label

c)

model

d)

training

78.

data that can be separated into groups

a)

label

b)

feature

c)

categorical data

d)

classification

79.

predicting a category based on other features

a)

label

b)

feature

c)

categorical data

d)

classification

80.

data that can be counted or measured

a)

numerical data

b)

feature

c)

categorical data

d)

classification

81.

When a decision favors some things and de-prioritizes or excludes others

a)

discrimination

b)

ethics

c)

details

d)

bias

82.

guidelines for good behavior

a)

discrimination

b)

ethics

c)

details

d)

bias

83.

The process of writing specific instructions in a computer language is called?

a)

Looping

b)

Programming

c)

Singing

d)

Artistic

84.

What is a variable?

a)

How you feel today

b)

A choice you have to make

c)

A random number

d)

A container for storing a value

85.

What is a conditional statement?

a)

A classroom rule

b)

An idea you might have

c)

A programming decision based on true or false statements

d)

Something that the computer must do

86.

Why would you use a function block?

a)

To work or operate in a proper or particular way.

b)

A party booked in a hotel

c)

A block that does something.

d)

A piece of code that you can easily call over and over again.

87.

In Code.org, what is a "sprite"?

a)

A character or object that can move and interact in a program

b)

A small computer

c)

A type of bug in the code

d)

A special keyboard key

88.

The art of creating a program.

a)

Artistic

b)

Programming

c)

Looping

89.

Is a set of command, the command control the computer

a)

Input

b)

Program

c)

Excel

90.
In coding, an event is:
a)
trying again and again, even when something is hard.
b)
an example of being a good digital citizen.
c)
an error in a program that prevents the program from running as expected.
d)
an action that causes something to happen.
91.
A placeholder for a piece of information that can change.
a)
Variable
b)
Condition
c)
Program
d)
Loop
92.

statements that only run under certain conditions

a)

conditionals

b)

paramenter

c)

reflect

d)

variable

93.

How computers recognize patterns and make decisions without being explicitly programmed

a)

machine learning

b)

supervised learning

c)

unsupervised learning

d)

artificial intelligence

94.

When a human trains a model to learn with examples

a)

supervised learning

b)

unsupervised learning

c)

artificial intelligence

d)

machine learning

95.

a computer program designed to make a decision

a)

features

b)

label

c)

model

d)

training

96.

Finding patterns in data that doesn't have any labels

a)

artificial intelligence

b)

supervised learning

c)

unsupervised learning

d)

machine learning

97.

giving examples to a model so it can learn

a)

features

b)

label

c)

model

d)

training

98.

predicting a category based on other features

a)

label

b)

feature

c)

categorical data

d)

classification

99.

When a decision favors some things and de-prioritizes or excludes others

a)

discrimination

b)

ethics

c)

details

d)

bias

100.

guidelines for good behavior

a)

discrimination

b)

ethics

c)

details

d)

bias