Font size
WorksheetsCSP Final Review
Total questions: 50
Worksheet time: 26mins
Which of the following is not an example of hardware? *
Motherboard
Memory Chip
Windows Operating System
Integrated circuit
What is a pixel?
A small picture
A single tiny dot, or square, of color in a digital image
A grid of several colors in a digital image
Another name for a digital image
What is the 4-bit binary number for the decimal number ten (10)
0101
1010
0110
0010
The image is a circuit composed of two logic gates. The output of the circuit is TRUE. Which is a true statement about input A?
Input A must be TRUE
Input A must be FALSE
Input A can either be TRUE or FALSE
There is no possible value for input A
Which of the following best describes how computing devices represent information?
A computer represents data as a byte which is either a 0 or a 1
A computer represents information as bits which contain 8 bytes.
A computer will either represent information as bits or bytes but not both
A computer represents data as bits which is either a 0 or a 1
What is an algorithm written in a programming language that is running on a computer?
loop
recipe
program
variable
Sequence of precise instructions that preforms computation, solves problems.
Manual
Recipe
Control Structure
Algorithm
If the variables 𝚘𝚗𝚃𝚒𝚖𝚎 and 𝚊𝚋𝚜𝚎𝚗𝚝 both have the value 𝙵𝚊𝚕𝚜𝚎, what is displayed as a result of this code?
Is anyone there?
Better late than never
Hello. Is anyone there?
Hello. Better late than never.
What will the "background-color" of the "topButton" be when the program is finished running?
green
red
orange
blue
10111 is what is Base 10?
21
23
20
15
If the user does NOT click the button what color will "topButton" be when this program finishes running?
green
red
blue
orange
What does CSS stand for?
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
Creative Style Sheets
The following program is run. Then the user clicks the "topButton" button ONCE. What will be displayed in the console?
dog
cat
bird
bird
cat
dog
cat
bird
dog
cat
dog
bird
What number will be output by the console.log command on line 7?
20
10
200
100
Which of the following is a true statement about data compression?
It's only useful for files being transmitted over the Internet.
Regardless of compression technique used, once data is compressed, it cannot be restored
Sending a compressed file ensures that the contents cannot be intercepted
There are trade-offs involved in choosing a compression technique for storing and transmitting data
What number will be output by the console.log command on line 5?
12
13
16
11
What text will be output by the program?
Less than 20
30 or more
Less than 10
Less than 30
Which of the following best describes the protocols used on the Internet?
The protocols of the Internet are designed by government agencies to ensure they remain free to use
The protocols of the Internet are secret to maintain the privacy and security of people using them
Each device connected to the Internet will use a protocol designed by the company that manufactured it
The protocols of the Internet are open and used by all devices connected to the network
When making a web page, which two of the following tasks is HTML the most important language for? (Choose TWO)
Making the text a different color.
Putting borders on an image
Organizing text into a list
Adding information about the copyright
Separating out headings from paragraphs
What is the purpose of the resistor in the LED circuit you built
It will make the LED brighter
It changes the direction of current flow in the circuit
It reduces the amount of current flowing, which protects the LED from receiving too much.
The term Big Data refers to _________________.
data sets that contain very large numbers
data sets that are owned by a big corporation
data sets that are stored in the cloud
data sets that are too large and complex to download and process on a single computer
Your classmate discovers that their code has a bug in it. What should she do to debug their app?
Form a hypothesis and then retest the app
Rebuild the app and then retest the app
Form a hypothesis about what might be wrong, design an experiment to test their hypothesis, perform the experiment, debug, and then retest the app.
Immediately start changing code and retest the app.
Big data only contains numeric data, it does not include text, images or videos
True
False
Which of these statements about an LED are false? Select all the answers you think are correct.
You must use the correct coloured cables when connecting up an LED
If you place an LED in the circuit the wrong way round it will blow up
The shorter leg near the flattened edge is the positive connector
The shorter leg near the flattened edge is the negative connector
Which of the following is not true about algorithms:
Algorithms can be written to solve every problem.
Algorithms are step-by-step procedures.
An algorithm is a sequence of precise instructions.
Algorithms consist of a combination of sequences, selections, and/or repetitions.
What does GPIO stand for?
Games People Insist On Playing
General Purpose Input Output
Guessing Points In Out
Ground Purpose Input Output
Assuming that forward tells a robot to move forward by 10 pixels and turn tells it to turn right by 90 degrees, what shape would be drawn by this algorithm? forward forward turn forward turn forward forward turn forward turn
A right angle
A circle
A square
A rectangle
Ana wishes to create a variable in her Scratch game which records the number of seconds until the game ends. Which of the following would be the most appropriate name for this variable?
Variable1
time_left
amountOftimeRemainingInTheGame
t
What type of control structure is a For loop?
Repetition
Sequence
Selection
Recursion
_________ are the rules for communication used by computers
Virtual networks
Layers
Protocols
DNS
Why is IP v4 going to be replaced by IP v6?
IP v4 does not work on old hardware.
IP v6 is easier to use.
We are running out of IP v4 addresses.
IP v4 was not encrypted.
dentifies devices on a network
RWED
IP Address
EDR
RFID
Which of the following is true of functions?
Programs written with functions run more quickly
Functions are called once but can be declared many times
Functions can help remove repeated code from a program
Replacing repeated code with a function will reduce the number of commands the computer needs to run
Which of the following is not true about IPv4 addresses?
An IPv4 address is used to route packets of data through the Internet
An IPv4 address is a string of bits that provides a computer's Internet address.
An IPv4 address consists of 32 bits
An IPv4 address consists of 64 bits
Another term for repetition
Conditional
Object
Selection
Iteration
Bandwidth measures ___________________.
the amount of data that can be sent in a fixed amount of time
how fast your computer can connect to the Internet
the amount of time it takes to send data over the Internet
the average length of e-mails that you can send on a daily basis
This function chooses the screen to display based on the score. What is the correct way to call this function?
𝚌𝚑𝚎𝚌𝚔 𝚆𝚒𝚗();
𝚌𝚑𝚎𝚌𝚔𝚆𝚒𝚗();
𝚌𝚑𝚎𝚌𝚔𝚠𝚒𝚗();
𝚌𝚑𝚎𝚌𝚔 𝚠𝚒𝚗();
Smallest unit of information on a machine
Bit
Gigabit
Terabit
Megabit
True or False: For every packet of data sent over the Internet, there is only one route it can take to reach its destination.
False
True
A student purchases a single-user license of a copyrighted application and wants other students to be able to use it at the same time. Under which of the following conditions is it considered acceptable for the student to share the application?
When the student gets permission from the copyright owner of the application
When the student makes a copy of the application for another student to use only once
When the application is only shared with students at the same school
When the application is shared on a peer-to-peer network
What will be the order of letters printed to the console when this program is run?
a b c b c
a b c b c b c
a b c a
"You win!" never displays. What change would fix this issue?
Line 1 - change variable name to totalScore
Line 4 - change conditional to score >= 5
Line 5 - change to a getText command
Line 3 - remove var
The binary number system has _____ digits
6
2
1
10
Choose the correct HTML element for the largest heading:
<h6>
<head>
<heading>
<h1>
Group of two or more computer systems linked together.
Network
Whitelist
Processor
Byte
All of the colors you see on a computer screen are the result of a mixture of the same three colors. What are those colors?
red, green, yellow
red, yellow, blue
red, green, blue
green, orange, purple
Something created by someone that involves the use of computation in some way
Portfolio
CPU
Computer Driven Program
Computational Artifact
What does HTML stand for?
Hyper Text Markup Language
Hyper Typed Madeup Language
Hyper Text Mode Language
Hang Tight Markup Language
Raspberry Pi's run a Windows Operating System
True
False
Hexadecimal is a base__ number system
2
6
16
10
