WorksheetsFOC Final Exam Review
Total questions: 70
Worksheet time: 35mins
What should you do if you are a victim of cyberbullying?
Respond to the bully
Keep a record of messages received (print or take screenshots)
Reach out to parents, teachers, counselors, and school administrators
Block communication from the bully (if possible)
How can you be an upstander if you witness cyberbullying?
Reach out to the victim-let them know that you care and encourage them to seek help
Tell a teacher, parent, or counselor about the bullying
Report bullying to the website admin
All of the above
By checking the box on a privacy policy page, a company can legally use your data and information in all the ways disclosed, even if you change your settings.
True. This is always the case.
True. Changing your settings does not affect the privacy policy.
False. It depends if the privacy policy allows you to opt in or out of sharing data.
False. Companies do not give you the option to update your settings.
Which of the following pieces of information would be safe to include in an online username?
School mascot
Favorite sport
Year of birth
City of residence
Which of the following is not a characteristic of a credible source?
The author is not named on the website
The domain is .edu or .gov
Multiple scholarly sources are cited
The source is well-organized and follows rules of spelling and grammar
Which of the following is not a good practice for effective Internet searches?
Search for specific keywords that define your topic
Use quotation marks to search for exact phrases
Be general in your search query to get as many results possible
Use + or - to include or exclude different topics
A person's digital footprint is:
Public, but not usually permanent
Only public to people whom a person shares things with, but what's there is permanent
Public and permanent to anyone
Which of the following people can access your digital footprint?
Family, friends, and acquaintances
Teachers, colleges, and scholarship committees
Potential employers
You have asked your users to avoid using passwords that use letters only. Which of the following policies would help enforce this?
Password complexity requirements
Enforce password history
Minimum password length
Maximum password age
It's time to change passwords again and you don't feel like entering a brand-new password. You use an old password you used last year, but it is rejected. What policy is most likely preventing you from reusing it?
Password complexity
Password history
Password expiration
Maximum attempts
Which of the following represents an example of a special character?
O
&
G
s
You find an image with the copyright license shown. Which action is permitted?
You can use the image for commercial purposes if you credit the owner.
You can use the image without crediting the owner.
You can use and modify the image for non-commercial purposes if you credit the owner.
You can modify and use the image without crediting the owner.
Cynthia discovers that she has the ability to modify the lunch menu posted on her school's website. She edits the website so for lunch every day, it says "Green Eggs and Ham". Which part of the CIA triad was broken?
Confidentiality
Integrity
Availability
All of the above
Which of the following statements are true?
A. There has been a decrease in the number of cyber attacks in the past decade.
B. Cybersecurity is the protection of computer systems, networks, and data from digital attacks.
C. Cyber attacks in the past few years have impacted individuals, governments, and organizations.
Which of the following most accurately describes the Internet of Things?
Malicious hackers intent on stealing confidential information like credit card numbers or email addresses
All of the websites that a person can currently access online
Internet service providers who make it possible to go online
The network of devices with the ability to connect and exchange data
Robert is on an online auction site trying to make a bid on a new computer. As he tries to make a bid, the site crashes and he loses the auction. Which part of the CIA triad was broken?
Confidentiality
Integrity
Availability
All of the above
Alice is checking her grades on a school computer in the library, and she forgets to log out before she leaves. Bob gets on the computer after her, and he sees her grades for all of her classes. Which part of the CIA triad was broken?
Confidentiality
Integrity
Availability
All of the above
Which of the following devices is not a part of the Internet of Things?
A watch that allows you to measure and track your activity through a mobile app
A security system that lets you remotely monitor your home
A physical combination padlock for your gym locker
A car with a built-in navigation system
Which of the following is the primary goal of a ransomware attack?
Stealing information and data
Deactivating and destroying devices
Shutting down network access
Obtaining money through threats
Sarah puts a lock on her diary so only she can read it. Her little brother breaks the lock and reads her diary. Which part of the CIA triad was broken?
Confidentiality
Integrity
Availability
All of the above
What should be the primary focus of keeping information secure?
Educating users on the dangers of phishing attempts
Encrypting all personal data
Ensuring the confidentiality, integrity, and availability of data
Implementing a strong password policy
What is comprised of millions of smart devices and sensors connected to the internet?
the cloud
the data center
the internet of things
the CIA triad
What is the main fear that ransomware attacks center around?
Fear of hackers
Fear of the Internet
Fear of being spied on
Fear of losing important files
What does a ransomware hacker do when they gain access to a user's system?
Encrypt important files
Delete key system data
Copy a user's personal data
Move operating system data
What is the core technology that allows digital devices to connect and transmit data with each other?
sensors
networks
smart phones
a global positioning sensor or GPS
A deceptive email is typically used in a phishing attack. Which of the following is most likely a legitimate email address?
jacob@homedepot23.com
nathaniel@paypal.info1.com
mikayla@applle.com
jamal@netflix.com
Which of the following choices lists the three main components of a computer's hardware?
CPU, Memory, Motherboard
CPU, Flash memory, Processor
Processor, Binary, RAM
Input devices, Output devices, Motherboard
What does CPU stand for?
Computer's Processing Unit
Computer's Plug-in Unit
Central Processing Unit
Central Pushing Unit
Which of the following devices is the device that connects all of the physical components of a computer together?
CPU
Memory
Logic
Motherboard
What is the purpose of an output device?
To allow the computer to store information or programs.
To allow the user to give data or information to the computer.
To allow computers to connect and communicate with other computers.
To allow the computer to display or communicate the result of a computation
What is the purpose of an input device?
To allow the computer to store information or programs.
To allow the user to give data or information to the computer.
To allow computers to connect and communicate with other computers.
To allow the computer to display or communicate the result of a computation
What is the purpose of a network device?
To allow the computer to store information or programs.
To allow the user to give data or information to the computer.
To allow computers to connect and communicate with other computers.
To allow the computer to display or communicate the result of a computation
Which of the following statements is something the operating system of a computer is responsible for doing?
Managing memory allocation for all applications.
Providing a way for the user to create text documents.
Allowing the user to access the internet.
Allowing the user to write programs.
Which of the following statements is the simplest and most accurate definition of a computer?
A computer is something that performs calculations by following and executing specific instructions to solve a problem.
A computer is a machine that is able to solve any problem.
A computer is a machine that can be programmed.
A computer is something that runs applications and accesses the internet.
Which of the following choices correctly orders the early types of computers from earliest to most recent?
A) IBM Laptop, ENIAC, Analytical Engine, Abacus
B) ENIAC, Analytical Engine, Abacus, IBM Laptop
C) Analytical Engine, Abacus, IBM Laptop, ENIAC
D) Abacus, Analytical Engine, ENIAC, IBM Laptop
Which part of the computer is responsible for managing memory allocation for all applications?
Word processor
Operating system
Web browser
Integrated development environment
Choose the option that correctly identifies this picture:
Motherboard
Operating system
Flash drive
Central Processing Unit
What is software?
Programs that can be run on the computer
Parts of the computer that can be controlled by apps
The parts of a computer you can touch (even if you shouldn't)
Virtual Operating Systems
The picture below is
A. A motherboard
B. DDR RAM
C. A power supply
D. A CPU
Which of these are input devices?
Webcam
Scanner
Keyboard
Mouse
Monitor
This is any hardware used by a human operator or other systems to communicate with a computer.
IP address
input/output device
Imaging
Image
Which of the following best explains what happens when a new device is connected to the Internet?
A) A device driver is assigned to the device.
B) An Internet Protocol (IP) address is assigned to the device.
C) A packet number is assigned to the device.
D) A Web site is assigned to the device.
According to the domain name system (DNS), which of the following is a subdomain of the domain example.com?
about.example.com
example.com/about.html
example.com.about
example.org
A user enters a Web address in a browser, and a request for a file is sent to a Web server. Which of the following best describes how the file is sent back to the user?
The file is broken into packets and sent over a network. The packets must be reassembled by the user's computer when they are received. If any packets are missing, the browser re-requests the missing packets.
The file is broken into packets and sent over a network. The user's browser must request each packet, in order, until all packets are received.
The server attempts to connect directly to the user's computer. If the connection is successful, the entire file is sent at once. If the connection is unsuccessful, an error message is sent to the user.
The server repeatedly attempts to connect directly to the user's computer until a connection is made. Once the connection is made, the entire file is sent.
A city government is attempting to reduce the digital divide between groups with differing access to computing and the Internet. Which of the following actions is LEAST likely to be effective in this purpose?
Holding basic computer classes at community centers
Providing free wireless Internet connections at locations in low-income neighborhoods
Putting helpful tips for operating computers on the city government website
Requiring that every school and library have assistive devices that allow people with disabilities to access computer resources
What type of request is sent when trying to view a web page?
HTML
HTTP
Server
Website
What type of data must be sent with Packets?
Metadata
Packet size
File type
Packet name
What does TCP stand for?
Total Control Process
Tactical Count Protocol
Transfer Control Protocol
Type Centered Protocol
Which of the following commands is a valid Karel command?
move
moves;
move()
move();
Why is the following command an invalid Karel command? turnleft();
It should end in a colon rather than a semicolon
The l should be a capital L
It should start with a capital T
This command is correct
Which of the following is the correct way to define a turnright function in Karel?
function turnRight() { turnLeft(); turnLeft(); turnLeft(); }
function turnRight() { turnRight (); turnRight (); turnRight (); }
function turnRight { turnLeft(); turnLeft(); turnLeft(); }
turnRight function() { turnLeft(); turnLeft(); turnLeft(); }
Why do we use functions in Karel programs?
Break down our program into smaller parts
Avoid repeating code
Make our program more readable
All of the above
If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size) move(); turnLeft(); putBall(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft();
Street 3, Avenue 1, Facing North
Street 1, Avenue 4, Facing North
Street 1, Avenue 3, Facing South
Street 1, Avenue 3, Facing North
What's wrong with this code? function start() { move(); go(); go(); } function go() { move(); move(); } function go() { move(); move(); }
The go function is called twice
The go function has a syntax error
The go function has been defined twice
go is not a command that Karel understands
What is the proper format for a single line comment in Karel?
This is a comment
// This is a comment
/* This is a comment
Which of the following is not a valid condition to go in an if statement for Karel?
ballsPresent()
frontIsClear()
leftIsBlocked()
turnLeft()
Why does a programmer indent their code?
Helps show the structure of the code.
Easier for other people to understand.
A key part of good programming style!
All of the above
How can we teach Karel new commands?
For loop
While loop
Define a new function
The start function
Say you want to write a program to have Karel put down 300 tennis balls. Which control structure would you use?
If statement
While loop
For loop
Nested while loop
Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs? Assume this SuperKarel program. move(); move(); turnRight(); move();
Karel ends on street 1, avenue 3
Karel ends on street 2, avenue 3
This code won’t run because of a syntax error
Karel will crash into a wall
What is the purpose of using a for loop in code?
To do something if a condition is true
To do something while a condition is true
To repeat something a fixed number of times
To make programs run faster
Say Karel is on a location with one tennis ball. After the following code runs, how many tennis balls will there be at that location? for (var i = 0; i < 3; i++) { if (ballsPresent()) { takeBall(); } else { putBall(); putBall(); } }
0
1
2
6
Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs? Assume this is a SuperKarel program. move(); move(); turnRight(); move();
Karel ends on street 1, avenue 3
Karel ends on street 2, avenue 3
This code won’t run because of a syntax error
Karel will crash into a wall
Which of the following is the correct way to declare a JavaScript variable with a value of 20?
var numApples == 20;
20 = numApples;
var numApples = 20;
var num apples = 20;
What function should you use to read a number input from a user in JavaScript?
readLine()
printIn()
readInt()
nextInt()
In a graphics canvas, which of the following represents the coordinates of the top left corner?
A) 0, 0
B) getWidth(), 0
C) 0, getHeight()
D) getWidth(), getHeight()
How would you calculate the center coordinates of a canvas in JavaScript?
getWidth() / 2, getHeight() / 2
getWidth(), getHeight()
getHeight() / 2, getWidth() / 2
getWidth() - getHeight(), getHeight() - getWidth()
When creating a Circle object with the following code, what does the 'size' parameter represent? var size = 20; var ball = new Circle(size);
The diameter of the circle
The area of the circle
The radius of the circle
The circumference of the circle
If you need to get numeric values from a user to create a circle, which of these code segments would be correct?
var x = readLine("X coordinate? "); var y = readLine("Y coordinate? "); var radius = readLine("Radius? ");
var x = readInt("X coordinate? "); var y = readInt("Y coordinate? "); var radius = readInt("Radius? ");
var x = readInt("X coordinate? "); var y = readInt("Y coordinate? "); var radius = readLine("Radius? ");
var x = readLine("X coordinate? "); var y = readLine("Y coordinate? "); var radius = readInt("Radius? ");
In the following code, what will be printed if the user enters 5? var userNum = readInt("Enter your favorite number: "); var calculatedNum = (userNum * userNum) + userNum; println(calculatedNum);
5
25
30
50
