wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science Principles vh

Total questions: 59

Worksheet time: 53mins

Name
Class
Date
1.
Which of the following best describes how computing devices represent information?
a)
A computer will either represent information as bits or bytes but not both
b)
A computer represents data as a byte which is either a 0 or a 1
c)
A computer represents data as bits which is either a 0 or a 1
d)
A computer represents information as bits which contain 8 bytes
2.
Which of the following is NOT true of how computers represent complex information?
a)
Computing devices use patterns of bits to represent complex information
b)
Abstraction helps represent complex information by surfacing complexity that might otherwise be hidden
c)
Depending on context the same sequence of bits may represent different types of information
d)
Common abstractions that are represented by computing devices include numbers, characters, and color.
3.
When visiting a museum Sue takes a photo of a painting with a smartphone which stores the photo as an image file. Which of the following best describes the differences between the painting itself and the photo of the painting stored on the smartphone?
a)
Both the painting and the photo are analog
b)
Sampling can be used to determine whether the analog image is an accurate representation of the painting
c)
The phone can represent the photo in either digital or analog formats depending on the sampling technique that is used
d)
The photo is a digital representation of the analog painting
4.
Your computer uses 4 bits to represent decimal numbers (0, 1, 2, 3 and so on) in binary. What is the SMALLEST number for which an overflow error occur?
a)
14
b)
15
c)
16
d)
17
5.
Which of the following is true of how computers represent numbers?
a)
With a fixed number of bits some numbers are too large to represent in a computer which will lead to overflow errors.
b)
Using a fixed but large number of bits can eliminate the possibility of round off error when representing numbers in binary
c)
Using a fixed but large number of bits, for example 128, eliminates the possibility of overflow errors.
d)
With a large but fixed number of bits it is possible to eliminate either round-off errors or overflow errors, but not both.
6.
Which of the following is true of lossy and lossless compression algorithms?
a)
Lossy compression algorithms are used when perfect reconstruction of the original data is important.
b)
Lossy compression algorithms are typically better than lossless compression algorithms at reducing the number of bits needed to represent a piece of data.
c)
Lossless compression algorithms are only used to compress text data.
d)
Lossless compression algorithms only allow for an approximate reconstruction of the original data.
7.
Jorge is sending a large image file to a friend as part of a shared classroom project. Which of the following is most likely true if Jorge opts to compress the image before sending it?
a)
The image can no longer be represented using bits.
b)
The image will have been converted into an analog form.
c)
The image will require more pixels to display it on the screen.
d)
The image will require fewer bits in order to be represented.
8.
Which of the following is true of intellectual property?
a)
Information created on a computer is not owned by anyone since only analog information is protected under copyright law.
b)
You do not need to cite work created by someone else if both the original work and your use of it are in digital form.
c)
Creative Commons enables content creators to freely distribute their otherwise copyrighted work.
d)
Creative Commons has severely hindered broad and open access to digital information
9.
Lucy is completing a project as part of a science class using materials she found online. Which of the following is MOST LIKELY to lead to legal consequences?
a)
Modifying a piece of open source software.
b)
Using open access research for which she does not acquire a license.
c)
Failing to publish her work under a Creative Commons license
d)
Using images posted online by another student without permission or citation.
10.
Ryan is designing an app that needs to quickly send low quality photos between users. Most smartphones take much higher quality photos than Ryan needs for his app. Which answer best describes the type of compression Ryan should choose and why?
a)
Lossy compression since it typically results in smaller data sizes.
b)
Lossless compression since it ensures perfect reconstruction of the photo.
c)
Lossy compression since it ensures perfect reconstruction of the photo.
d)
Lossless compression since it typically results in smaller data sizes.
11.
Convert the binary (base-2) number 0011 0001 to decimal (base-10).
a)
32
b)
64
c)
49
d)
121
12.
Convert the decimal (base-10) number 129 to binary (base-2).
a)
1000 0001
b)
1100 0001
c)
0110 0110
d)
0001 1111
13.
Which of these binary (base-2) numbers is the smallest?
a)
1000 0001
b)
1100 0001
c)
0110 0110
d)
0001 1111
14.
How many numbers can be represented with an 8-bit binary system?
a)
255
b)
256
c)
128
d)
127
15.
An error in a program that prevents the program from running as expected. 
a)
Coding
b)
Algorithm
c)
Bug
d)
Event
16.
Pulling out specific differences to make one solution work for multiple problems. 
a)
Function
b)
Abstraction
c)
Loop
d)
Coding
17.
A placeholder for a piece of information that can change. 
a)
Loop
b)
Event
c)
Variable
d)
Program
18.
The action of doing something over and over again
a)
Program
b)
Function
c)
Variable
d)
Loop
19.
Statements that only run under certain conditions or situations. 
a)
Conditionals
b)
Variables
c)
Loops
d)
Commands
20.
A list of steps to finish a task. A set of instructions that can be performed with or without a computer. 
a)
recipe
b)
algorithm
c)
statement
d)
loop
21.
Mental processes and strategies that include: decomposition, pattern matching, abstraction, algorithms (decomposing problems into smaller, more manageable problems, finding repeating patterns, abstracting specific differences to make one solution work for multiple problems, and creating step-by-step algorithms). 
a)
Computational Thinking- what we are mastering in this class. 
b)
I have no idea. 
22.
One or more commands or algorithm(s) designed to be carried out by a computer.
a)
Coding/Programming
b)
Binary
c)
URL
d)
Computer Science
23.
This is the piece of code that you add to a program to indicate that the program should run the code inside a function at a certain time. 
a)
Call a function
b)
Command
c)
DeBug
d)
Shout out
24.
The first computer programmer was...
a)
Steve Jobs
b)
Thomas Edison
c)
Ada Lovelace
d)
I have no idea. 
25.
To add code inside a function so that the program knows what it is supposed to do when the function is called. 
a)
Call a function
b)
algorithm 
c)
command
d)
Define a function
26.

Which of these is NOT an AI technology

a)

Facial recognition

b)

Image recognition

c)

Robotics

d)

Animation

27.
Artificial Intelligence is the process that allows computers to learn and make decisions like humans
a)
True
b)
False
28.

A sequence of steps is described as a

a)

code

b)

algorithm

c)

processor

d)

cat

29.

Programming is making your own code from nothing

a)

true

b)

false

30.

A function is when

a)

you define a command and give it a name

b)

something is useful

c)

you make a videogame

d)

I don't know

31.

What is an Computer Functions ?

a)

gathers data, allows users to input data.

b)

Input, Output, Process, Storage.

32.

What is a computer Output ?

a)

displays data and information for user.

b)

Input, Output, Process, Storage.

c)

representation of fact, figure, or idea.

33.

What is a Input ?

a)

gathers data, allows users to input data.

b)

displays data and information for user.

34.

Examples of Input Devices

a)

CPU, ROM, RAM and cache, Slots for expansion cards

b)

monitors, printers, speakers and earphones

c)

keyboard, mouse, microphone, stylus, scanner, camera

35.

DEFINE: Computer Science

a)

Computer science is the study of processes that interact with data and that can be represented as data in the form of programs. It enables the use of algorithms to manipulate, store, and communicate digital information.

b)

A way of representing information using only two options.

c)

The visual programming language used in Code.org's online learning system for K-5 students.

d)

the study of the principles and use of computers.

36.

The smallest unit of information is ?

a)

a byte (Pronounced: bite)

b)

a bit

c)

a nibble

d)

a block

e)

Fortran

37.

DEFINE: Binary Code

a)

Any type of computer network that is not connected by cables of any kind.

b)

Read Only Memory- Permanent instructions that cannot be changed. It makes the BIOS function. Checks your OS.

c)

Groupings of 1's and 0's that makes information that a computer can understand.

38.

What happens when there is a bug in a computer program?

a)

It multiplies

b)

The program will not run correctly

c)

The program needs to be thrown out

d)

Call an exterminator

39.

A set of steps that a computer can follow is_______.

a)

output

b)

input

c)

a program

d)

unnecessary

40.

​ (a)   allows people to better debug their work and problem solve issues in their ​ (b)  

Choose from the below words
Pair Programming
computer program.
students
homework
quizzes
principals
41.

Step by steps instructions is a(n)​ (a)  

Choose from the below words
algorithm
quest
quiz
value
sequence
rhythm
42.

Computational thinking is the process of

a)

doing a google search

b)

typing on a computer

c)

breaking problems into smaller steps

d)

sharing answers

43.

An action that causes something to happen.

a)

Event listener

b)

Event-driven program

c)

Event

d)

User Interface

44.

The visual elements of a program through which a user controls or communicates with the application. Often abbreviated UI.

a)

Event handling

b)

UI Elements

c)

User Interface

d)

Callback function

45.

Any valid unit of code that resolves to a value.

a)

Event listener

b)

Expressive Code

c)

Data Type

d)

Expression

46.

A placeholder for a piece of information that can change.

a)

Number

b)

Variable

c)

Data type

d)

Variable handler

47.

The equality operator is used to compare two values, and returns a Boolean (true/false).

a)

==

b)

=

c)

/_

d)

/=

48.

What is debugging in computer science?

a)

The process of identifying and removing errors from a computer program.

b)

The process of writing a computer program.

c)

The process of running a computer program.

d)

The process of encrypting a computer program.

49.

What is the purpose of a function in programming?

a)

Functions are used to create variables in programming.

b)

Functions are used to perform specific tasks and reduce code redundancy in programming.

c)

Functions are used to display output in programming.

d)

Functions are used to analyze data in programming.

50.
Which of the following refers to the process of putting steps in order?
a)
a) Sequencing
b)
b) Selection
c)
c) Iteration
d)
d) Optimization Problem
51.
Which of the following is a technique that attempts to trick a user into providing personal information?
a)
Phishing
b)
Computing Innovation
c)
Personally Identifiable Information (PII)
d)
Keylogging
52.

What is code?

a)

A set of steps that explain how to complete a task.

b)

A language which can be understood by a computer.

c)

The study of computers and algorithms, and their impact on society.

d)

Instructions written in code which can then be run by a computer.

53.

What is a program?

a)

A set of steps that explain how to complete a task.

b)

A language which can be understood by a computer.

c)

The study of computers and algorithms, and their impact on society.

d)

Instructions written in code which can then be run by a computer.

54.

The study of computers and algorithmic processes, including their principles, their hardware and software designs, their applications, and their impact on society.

a)

Computer Science

b)

STEM

c)

Political Science

d)

Technology Education

55.

ASCII is a character-encoding scheme that uses 7 bits (8 bits if you are using the extended ASCII table) to represent each character. The decimal (base 10) values 65 through 90 represent the capital letters A through Z, as shown in the table above.


Which ASCII character is represented by the binary (base 2) number 1000001?

a)

A

b)

B

c)

C

d)

D

56.
Q3. Which of the following is a binary operator that compares two values and returns a Boolean value?
a)
a) Assignment operator
b)
b) Comparison operator
c)
c) Logical operator
d)
d) Function
57.
Q4. What is the name for a variable that can have only two possible values: true or false?
a)
a) Variable
b)
b) Boolean value
c)
c) String
d)
d) Expression
58.
Q7. What is the name for a programming construct that executes different code based on a condition?
a)
a) Function
b)
b) Function call
c)
c) Conditional statement
d)
d) Variable
59.
Q8. Which of the following is a named sequence of statements that performs a computation?
a)
a) Expression
b)
b) Program statement
c)
c) Function
d)
d) Boolean value